LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-31-2009, 04:13 PM   #1
wideyes
LQ Newbie
 
Registered: Dec 2009
Posts: 19

Rep: Reputation: 0
launch root console with a profile loaded


Hello all! I posted this in the Debian forum (I'm using Debian Lenny with GNOME), but nobody has bitten yet, so I figured I'd post it here.

Simple request: I'm trying to launch a root terminal with a profile preloaded, but I'm not yet used to the way gnome handles its syntax, so the default link to root terminal has me confused:
Code:
gksu -D Terminal -- env -u ORBIT_SOCKETDIR /usr/bin/x-terminal-emulator
Apparently, the method using gnome-terminal is to add a trailing
Code:
--window-with-profile=PROFILENAME
but this did not work, probably because in this case I'm not calling directly on gnome's terminal.

I'm sure there is an easy fix. Thanks in advance.
 
Old 01-01-2010, 09:19 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
It doesn't work for me either. No matter if I use gksu or not. [Kubuntu 8.04].

I am assuming you'd like your root terminal to be differently coloured, or something, to remind you that it is a root terminal.

So, launch it using gksu
Create a new profile, call it roots, and customise it the way you like.
Then, in the terminal, Edit .. Profiles. Set "Profile to be used when launching a new terminal" to roots

Now root's terminal will always launch with root's profile.
Yours won't (because root's profile is stored in /root and yours in ~)

Edit .. profiles has a useful Help button too (so you can set your preferred title etc.)

It's a "workaround". Hope it helps.
 
Old 01-01-2010, 03:03 PM   #3
wideyes
LQ Newbie
 
Registered: Dec 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for your suggestion, tredegar. What I'd ideally like to do is to have all of my profiles setup with different hotkeys, so I could launch a specific root terminal profile from my desktop. I admin a number of servers at my job and am trying to streamline my work interface. There are quite a few systems I need root access to, and it would be nice to have them separately allocated so I don't have to 'ssh host', futz around with profile settings, etc. I know it sounds lazy, but it would save me lots of time in the long run.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
launch x-terminal-emulator with profile wideyes Debian 4 01-01-2010 02:57 PM
Best way to set the .profile and launch an APP in a single command mohanvijay Linux - General 4 06-17-2009 09:39 PM
Samba WinXP roaming profile not loaded because folder exists with incorrect security. fireman949 Linux - Enterprise 1 10-28-2005 07:52 PM
User Profile in use (Mozilla won't launch) raysr Mandriva 2 08-27-2005 10:10 PM
Different video drivers are loaded for root and non-root users triet Linux - Software 1 12-31-2004 02:20 PM

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

All times are GMT -5. The time now is 08:22 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