Originally Posted by
gavv
I'm trying to create a launcher such that when a file is dragged and dropped onto it, it will be opened as Root with its own associated application.
Hi,
to open a file with preferred application , I know that is command.
eg To create a launcher in 12.04 is not to difficult. Install a package first
Code:
sudo apt-get install --no-install-recommends gnome-panel
and then run in terminal
Code:
gnome-desktop-item-edit ~/.local/share/applications/ --create-new
Try to experiment with above. Maybe you will figure out something and solve your problem.
Although I smell a script here and I cannot help you further. Be patient for someone more experienced.
My little experience "said" that , when root privileges entangled , things are more difficult.
Thanks
Bookmarks