LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-10-2006, 09:47 AM   #1
tshontikidis
Member
 
Registered: May 2005
Distribution: Gentoo & Debian
Posts: 76

Rep: Reputation: 15
start eterm when X starts


I have a minimal install of debian etch with fluxbox. I want an Eterm session to start when I log in, using xdm, so I created a .xsessions file.

Code:
xterm &
Eterm -f green -c green --trans --borderless --scrollbar=false --buttonbar=false -g 74x48x3x30
fluxbox &
I do not know if this is set up correctly, my WM runs fine and apps run fine. I do now know why I put that xterm& in but many people suggested putting that line in. I just need my eterm to start up automatically.

thank you
 
Old 03-10-2006, 10:11 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
And your question is ?
 
Old 03-10-2006, 10:12 AM   #3
tshontikidis
Member
 
Registered: May 2005
Distribution: Gentoo & Debian
Posts: 76

Original Poster
Rep: Reputation: 15
lol
I need the eterm session to start when X starts and as of right now it does not. So how do I get the app to start automatically?

sorry about that
 
Old 03-10-2006, 10:21 AM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Did you try it yet?
If you start it like this you will notice that just an xterm and an Eterm will show up and nothing else.
Fluxbox will not start until you close Eterm.
You need to put a "&" behind the Eterm line - just as in the line above for xterm.
 
Old 03-10-2006, 10:44 AM   #5
tshontikidis
Member
 
Registered: May 2005
Distribution: Gentoo & Debian
Posts: 76

Original Poster
Rep: Reputation: 15
well no, flux starts and no xterm or eterm start. I have restarted X and rebooted the comp.
 
Old 03-10-2006, 11:00 AM   #6
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by tshontikidis
so I created a .xsessions file.
Not sure if that's a typo, but I believe the file should be called .Xsession
You mentioned that fluxbox was starting up fine so maybe that's why. You do also need the '&' after the eterm command but not on the fluxbox command
 
Old 03-10-2006, 01:37 PM   #7
tshontikidis
Member
 
Registered: May 2005
Distribution: Gentoo & Debian
Posts: 76

Original Poster
Rep: Reputation: 15
well that solves that problem.. lol

So eterm starts and has the right font and cursor color. But it is not transparent and borderless. Can it not do that as X starts?

Now if i take the same command and run it from a terminal the eterm is perfect.
 
Old 03-10-2006, 04:23 PM   #8
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
This is really wierd. For me the borderless thing works fine, but not the transparency or the location.

Maybe bugs in Eterm? I tried aterm and that has no problems starting up transparent.
 
Old 03-11-2006, 02:54 AM   #9
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Just a thought:
you start Eterm before the window-manager - maybe turn it around - first the WM than the application it should handle.
Close every line with a "&".
 
Old 03-14-2006, 02:58 PM   #10
tshontikidis
Member
 
Registered: May 2005
Distribution: Gentoo & Debian
Posts: 76

Original Poster
Rep: Reputation: 15
if I close fluxbox off with a &

when I go to log in my fluxbox neverstarts, it just flashes then returns me to xdm login screen.
 
Old 03-14-2006, 05:21 PM   #11
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
ok. - so I read a little documentation...
fluxbox has its own config-file (besides ~/.xinitrc - which is the file your settings should go...)
The file is ~/.fluxbox/startup for gentoo
might be ~/.fluxbox/init for you
there you specify the apps you want started, whereas in ~/.xinitrc you can start the WM itself as well as apps...
I'll just point you to the obvious place, since I did not yet play with it: the documentation
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
start application when GUI starts ... poetfreak Linux - General 1 08-04-2005 03:50 PM
KDE starts on :0.0 and :0.1, to start only on :0.0 ..? RedDwarf Linux - Software 1 02-13-2005 12:36 AM
Eterm starts in wrong directory jrdioko Linux - Newbie 3 12-27-2004 04:56 PM
X starts but won't start gnome.... lsmith Linux - General 4 03-02-2004 01:41 PM
X starts but won't start gnome.... lsmith Linux - Newbie 4 02-29-2004 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:25 AM.

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