How do I add an icon to the desktop, so as to have it prompt me for root permissions when clicked on ? I successfull added icons to the desktop via this blog: http://blogs.koolwal.net/2009/09/11/how ... e-desktop/ but when I then took that method and applied it to an application that required root permissions, it would only run with regular user permissions. My /usr/share/applications file:
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=smart-software-manager
Comment=Direct-link-to-smart-software-manager-with-root
Exec=/usr/bin/smart --gui
Icon=/usr/share/pixmaps/smart.png
MimeType=text/plain
Terminal=false
Type=Application
MimeType=text/plain
Categories=System;Utility;Settings;PackageManager;System;
As an aside, I'm running this on My "sandbox" PC is a 10 year old 32-bit AMD Athlon-1100 w/1GB RAM (running on an MSI KT3 Ultra motherboard) w/nVidia GeForce FX5200 graphics AGP card.