Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-14-2011, 11:40 AM   #1
Registered: Sep 2006
Posts: 374

Rep: Reputation: 16
launch screen as first program when opening terminal


I want to launch the screen program by default and automatically every time that I open the bash terminal. How can I set this in terminal? I'm using lxterminal - terminal for lxde desktop environment.
Old 06-14-2011, 01:03 PM   #2
Senior Member
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,847
Blog Entries: 21

Rep: Reputation: 119Reputation: 119
Although I don't have lxterminal to compare with, I do have 3 other terminal emulator programs. All 3 of them take the same -e option (so it's likely to be -e for lxterminal, too) to give a first command in lieu of the shell. Check the man pages for lxterminal and just run screen that way. Then it's a matter of setting preferences for that startup icon. If it's limited to just a command with no options, make a script that does the command and options you want, and run that script from that icon.
Old 06-14-2011, 02:06 PM   #3
Registered: Sep 2006
Posts: 374

Original Poster
Rep: Reputation: 16


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
Opening VLC with the terminal line so the terminal will go back to normal baldurpet Linux - Newbie 3 01-14-2009 10:57 AM
How do I make a program launch in terminal? markusf21 Linux - Desktop 5 11-25-2007 08:15 PM
How to launch an app in terminal, & keep it running after I close terminal? kornerr Linux - General 7 06-24-2006 06:54 PM
How to execute/bring out a program without opening another terminal? f1l3t0f1sh Linux - Newbie 4 06-06-2005 03:53 PM
Program opening off screen garf12 Linux - Newbie 1 03-06-2004 09:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:02 AM.

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