3 Sep
2010
3 Sep
'10
9:28 a.m.
On Fri, Sep 3, 2010 at 4:25 AM, Rémy Oudompheng <remyoudompheng@gmail.com>wrote:
Nathan O <ndowens.aur@gmail.com> wrote:
The desktop file points to gnome-squid-menu(my bash
script,
which states if gksu is installed, run gksu /usr/sbin/gadmin-squid, else gadmin-squid). This I think would be acceptable, correct me if I am wrong.
For people using KDE, you can add a field "X-KDE-SubstituteUID=true" to the .desktop file which says the program should be run as root (if I am not misled). I suppose KDE has its own mechanism to determine to correct way to change uid to root.
Not sure, before I never did .desktop files, but I have started to do it to make it easier on the users.