Gparted needs "Root" access to execute from XFCE Menu
I've built Gparted in Slackware 14, and I can run it as root from a Terminal.
But, it is also in the XFCE -- APPLICATIONS MENU -> SYSTEM -> Gparted and I'd like to be able to execute it from there. How do I edit the XFCE Menu selection for Gparted so it will execute? I use Gparted all the time from Debian 6 with no problems......... I've searched through all the Menu's trying to find something that will allow me to change the permissions on the Menu items. Thanks. Larry |
You don't have to switch the permission on the menu items, you have to change the command that it runs. Prefix it with gksu (if you have that installed) or kdesu. That way you will be asked for the root password if you choose GParted in the menu.
|
TobiSGD,
OK, I understand what you are saying, but where is the command located that executes Gparted when I Left Click on XFCE's APPLICATIONS MENU -> SYSTEM -> Gparted I can drag the Menu selection to the Desktop and edit the Launcher to add "kdesu" to the command and it works correctly. But, I want to be able to Left Click on the SYSTEM -> Gparted Menu selection and have it execute. WHOO HOOO! I finally found it. All I had to do was edit "sudo nano /usr/sbin/gparted" adding "kdesu " to the base command string "/usr/sbin/gparted". Thanks. Larry |
Quote:
|
Quote:
|
TobiSGD,
You're Correct. I didn't think about that. I read the information on the URL you posted and changed mime to add kdesu to the EXEC= statement in file gparted.desktop located at /usr/share/applications THANKS for that information. Larry |
You set these options with a couple clicks in Menu Props, a free xfce/gnome 2/kde menu editor I wrote. Some features not available in kde. Run as root, and Exec as root work on all three though. Http://www.welbornproductions.net/in...ects/menuprops
|
All times are GMT -5. The time now is 01:55 PM. |