Latest LQ Deal: Linux Power User Bundle
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 04-24-2006, 07:40 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 11

Rep: Reputation: 0
Smile starting a gnome-terminal

how do you start a gnome-terminal at boot-up using user account? and using root account?

Last edited by newbieMhke; 04-24-2006 at 07:43 PM.
Old 04-24-2006, 08:10 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
For the first: by putting it into Gnomes equivalent fo the
startup folder.

For the second: you don't.

Old 04-24-2006, 08:24 PM   #3
Senior Member
Registered: Dec 2005
Distribution: Slackware -current, 14.2
Posts: 1,088

Rep: Reputation: 196Reputation: 196
in gnome:

Desktop>Preferences>More Preferences>Sessions>Startup Programs>gnome-terminal

for root terminal:

same thing but su -c gnome-terminal (you will be prompted for a password)

note: the startup programs option doesn't necessarily behave well, especially when 'asked' to open a terminal; you may have to create a script and run the script at startup instead of the command (especially with the root terminal)

Old 04-25-2006, 12:39 AM   #4
LQ Newbie
Registered: Apr 2006
Posts: 11

Original Poster
Rep: Reputation: 0
but how do you do it using bash script?
Old 04-25-2006, 03:40 AM   #5
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Well the command to open one is just "gnome-terminal". This will give you a new terminal window. Can you be more specific - why do you want to open a Gnome Terminal using a bash script. We may be able to help you find a better solution.

Old 04-25-2006, 04:15 AM   #6
Senior Member
Registered: Dec 2005
Distribution: Slackware -current, 14.2
Posts: 1,088

Rep: Reputation: 196Reputation: 196
bash script for gnome-terminal:

#open a gnome-terminal
bash script for root gnome-terminal:

#open a root gnome-terminal
su -c gnome-terminal
I hope this isn't a homework assignment.

Old 04-25-2006, 06:28 AM   #7
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Using a BASH script for this is basically creating a link. If you can run the BASH script automatically, you might as well run the program automatically instead.


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
Starting Fedora in the terminal TheDude611 Fedora 8 10-02-2008 06:18 AM
Changing environment variable for gnome session from gnome-terminal pymehta Linux - Software 1 10-11-2005 05:19 PM
Terminal cmd for starting Matlab M-file editor without starting matlab fubzot Linux - Software 2 02-15-2005 06:49 AM
Gnome Terminal Starting Directory - Help? mattisking Linux - Newbie 1 02-03-2005 02:41 AM
Alternative terminal to konsole & gnome-terminal Adony Linux - Software 3 10-08-2004 03:59 AM > Forums > Linux Forums > Linux - Newbie

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

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