LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2005, 12:06 PM   #1
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Rep: Reputation: 30
Commands at startup


I want to run the following command on startup to get a nice transparent console on my background everytime i startup,

Eterm -O --buttonbar no --scrollbar no -x -f white -g 125x50+0+0 --font2


the forums say to edit the rc.local file in /etc but even though i logged in as root and vim and then editted to the following, i reboot, and it makes no difference.....

Is this related to me having to define which shell i'm using or something?


#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.



touch /var/lock/subsys/local
Eterm -O --buttonbar no --scrollbar no -x -f white -g 125x50+0+0 --font2


Any help?
 
Old 08-07-2005, 12:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Do you actually start in X or issue the startx command? Using rc.local in either case won't do anything for you since this is eterm specific setup for a terminal. You'll need to add this eterm line from the launcher on whatever desktop you use or set it up to run from your .bashrc or .bash_login files for your particular user.
 
Old 08-07-2005, 04:58 PM   #3
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
KDE starts automatically, i dont type startx. So i just append the command in either file you suggested? Cool, i shall give it a try and let you know.
 
Old 08-07-2005, 05:13 PM   #4
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
K, i tried adding the Eterm line to the .bashrc file in my home directory and saved. Was gonna wait till i restarted but while i was opening a new konsole, it seemed to want to repeat loading Eterm over and over again! ..... had to close it all down and close the window from which i started konsole. I could see the transparent windows loading on top of one and another..... i wanted just the one lol.

Any ideas?
 
Old 08-07-2005, 05:14 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That's not really what you want. In KDE use the
~/.kde/Autostart feature ... create a shell-script that
does what you want and put it there.



Cheers,
Tink
 
Old 08-08-2005, 05:55 PM   #6
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
So i create a file called starteterm.sh with the command in it? nothing else like sh Eterm etc....? I'll try and figure it out and post back....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where to put startup commands nickcol Linux - General 1 05-10-2005 05:00 AM
Commands On Startup SkyeFyre Linux - General 3 04-16-2005 07:31 PM
Automated startup commands? ThePenguin Linux - Software 6 09-05-2004 10:56 AM
aterm startup commands DrGnome Linux - Software 1 04-10-2004 01:38 PM
running commands at startup tfalk3 Linux - General 4 05-27-2003 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration