"Open as Root" functionality in Gnome?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
"Open as Root" functionality in Gnome?
Hi guys,
I'm LOVING Mint. So much in fact, that I've formatted my HD and removed my previous distro (which was in itself very, very good - so kudos, Mint). I only have one bugbear which is really spoiling my ability to fully enjoy the distro. I have done some reading around, and some playing with old live CDs and it seems the "problem" is a Gnome one, not a Linux Mint one specifically. In my last distro (which was KDE), one only had to right click a file or folder and choose "ACTIONS>OPEN AS ROOT".
This allows you to fully edit any config files, or change permissions for folders instantly. It opened that file or folder in Konqueror's GUI file manager, whereas i Gnome one apparently has to use sudo su and can only open files as root in terminal?
In Gnome I'm finding myself increasingly frustrated as this ability to use the file manager as root seems to be totally absent. Take for example editing or adding any files into the /etc or /usr directories. If I want to edit the rc.local file as per the tips/tricks section of this board, I have to do it in the terminal. If I want to move a file (eg newmailnotify.wav for Evolution) into the etc directory, I have to use terminal! In KDE I'd just right click, CUT, and then open /etc as root and PASTE. Easy.
I'm no terminal-o-phobe, but it does get annoying after a while when you just want to do something that is so quick and easy in KDE (open as root, save file, done!). Is there any way around this in Gnome? Or will I just have to learn how to manually edit, open, and move files with the sudo su in terminal?
I know there's a KDE version of Mint, but, being truly awkward as I am, I've fallen in love with the Gnome interface and tbh it's half the reason I got the Mint live cd in the first place
Any help, comments, or even ridicule welcome
Cheers,
Lee
I'm LOVING Mint. So much in fact, that I've formatted my HD and removed my previous distro (which was in itself very, very good - so kudos, Mint). I only have one bugbear which is really spoiling my ability to fully enjoy the distro. I have done some reading around, and some playing with old live CDs and it seems the "problem" is a Gnome one, not a Linux Mint one specifically. In my last distro (which was KDE), one only had to right click a file or folder and choose "ACTIONS>OPEN AS ROOT".
This allows you to fully edit any config files, or change permissions for folders instantly. It opened that file or folder in Konqueror's GUI file manager, whereas i Gnome one apparently has to use sudo su and can only open files as root in terminal?
In Gnome I'm finding myself increasingly frustrated as this ability to use the file manager as root seems to be totally absent. Take for example editing or adding any files into the /etc or /usr directories. If I want to edit the rc.local file as per the tips/tricks section of this board, I have to do it in the terminal. If I want to move a file (eg newmailnotify.wav for Evolution) into the etc directory, I have to use terminal! In KDE I'd just right click, CUT, and then open /etc as root and PASTE. Easy.
I'm no terminal-o-phobe, but it does get annoying after a while when you just want to do something that is so quick and easy in KDE (open as root, save file, done!). Is there any way around this in Gnome? Or will I just have to learn how to manually edit, open, and move files with the sudo su in terminal?
I know there's a KDE version of Mint, but, being truly awkward as I am, I've fallen in love with the Gnome interface and tbh it's half the reason I got the Mint live cd in the first place
Any help, comments, or even ridicule welcome
Cheers,
Lee
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Oh, good man!! I was so close to formatting my HD and installing my old distro with KDE, simply because I was so frustrated at not having as much functionality in Gnome as in KDE (Linus agrees with me, so that's something lol).lars wrote:hi Rainmaker
I just had the same problem. I ended up doing "gksu nautilus" in the console, to lunch a root filemanager.
But after I read your post I thought their might be a different solution. And there is:
Right click a folder and select "Open with other application..."¹
Expand "Use user defined command"¹ at the bottom of the dialog and enter "gksu nautilus". Then click open and you have our root filemanager.
The next time you right click a folder there should be a entry "Open with gksu"¹.
¹: Labels my differ as my mint language isn't set to English.
Now, I can leave Mint intact and get back to working instead of figuring stuff out. Kudos to you, kudos
Thanks again!
- hairy_Palms
- Level 4
- Posts: 292
- Joined: Mon Nov 27, 2006 10:46 am
- linuxviolin
- Level 8
- Posts: 2081
- Joined: Tue Feb 27, 2007 6:55 pm
- Location: France
thanks hairy_Palms but how put open as administrator in the context menu?
sorry if my question is "stupid" but we must learn before to become a master.
sorry if my question is "stupid" but we must learn before to become a master.
Last edited by linuxviolin on Wed Aug 01, 2007 11:56 am, edited 1 time in total.
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
- linuxviolin
- Level 8
- Posts: 2081
- Joined: Tue Feb 27, 2007 6:55 pm
- Location: France
oups... sorry. I was too fast while posting: I had forgotten to start again my session!
Last edited by linuxviolin on Wed Aug 01, 2007 11:56 am, edited 1 time in total.
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
I've grown accustomed to using the root-mode Krusader utility in a KDE-based distro that's installed on another partition. I like Krusader's dual-panel view.
So, I installed Krusader on GNOME-based Bianca, using Synaptic. Then I created a GUI menu launcher for Krusader using Bianca > Preferences > Menu Layout. To automatically give Krusader root permissions, I prefixed its launcher command with "gksu" (i.e. "gksu krusader").
Krusader now resides in my System Tools menu. When it fires up, Krusader is aware that it has root privileges, as it displays a red icon in its title bar, instead of its usual purple icon.
------
So, I installed Krusader on GNOME-based Bianca, using Synaptic. Then I created a GUI menu launcher for Krusader using Bianca > Preferences > Menu Layout. To automatically give Krusader root permissions, I prefixed its launcher command with "gksu" (i.e. "gksu krusader").
Krusader now resides in my System Tools menu. When it fires up, Krusader is aware that it has root privileges, as it displays a red icon in its title bar, instead of its usual purple icon.
------
- bigbearomaha
- Level 3
- Posts: 178
- Joined: Tue Feb 06, 2007 11:34 am
- Location: Omaha, NE
Goodness sakes.
The flexibility of Linux can be astonishing.
That's just one of many reasons I think Linux is better than other OS's.
The power,stability and flexibility with tools really transforms a computer into a tool instead of another idiotbox holding ones hand along and tells you what to do instead of being told what to do.
Viva Linux indeed
Big Bear
The flexibility of Linux can be astonishing.
That's just one of many reasons I think Linux is better than other OS's.
The power,stability and flexibility with tools really transforms a computer into a tool instead of another idiotbox holding ones hand along and tells you what to do instead of being told what to do.
Viva Linux indeed
Big Bear
- civint
- Level 3
- Posts: 150
- Joined: Sun Apr 22, 2007 8:56 am
- Location: A long time ago, yet somehow in the future...
yeah..bypassing permissions ist nicht so gut...for eaxmple when I first used linux and there was an issue with x11, so I deleted it from my system....woooops. In fact I did three times...on the same day. stupid, no?
I honestly don't see why there ought to be an "open as root" in gnome, since it is very rarely that permissions are set as read only in the user section of your pc, unless you happen to be opening a file from another disk partition...
as for "Linus agrees with me"..I beleive that that comment was used in context of printer drivers being better for kde, quite a long time ago, he went on to say that it was about choice, not what is better.
I honestly don't see why there ought to be an "open as root" in gnome, since it is very rarely that permissions are set as read only in the user section of your pc, unless you happen to be opening a file from another disk partition...
as for "Linus agrees with me"..I beleive that that comment was used in context of printer drivers being better for kde, quite a long time ago, he went on to say that it was about choice, not what is better.