Debian Run Application as Superuser with su-to-root
[Jan 11, 2012]
In debian, we can create a shortcut to application by right clicking the panel and select add to panel, then select custom application launcer. With this we can enter command like
su-to-root -X -c "APP_LAUNCH_COMMAND"
This will run APP_LAUNCH_COMMAND as superuser. For example, to run File Browser as superuser, we can use the following command
su-to-root -X -c "nautilus --no-desktop --browser %U"