FatDog64 621 - How to make a program run as Spot?
FatDog64 621 - How to make a program run as Spot?
How do I make a program I've installed from the repository run as Spot?
Hi batwana.
I don't know what program you have, so I'll use Xchat as an example.
Substitute your programs name fot xchat
Open the file /usr/share/applications/xchat.desktop. Find the line that begins with Exec. Make that look like this;
Create a new shell script in /usr/bin named xchat-spot Put the following lines into it;
I don't know what program you have, so I'll use Xchat as an example.
Substitute your programs name fot xchat
Open the file /usr/share/applications/xchat.desktop. Find the line that begins with Exec. Make that look like this;
Code: Select all
Exec=xchat-spot
Code: Select all
#!/bin/sh
exec /usr/bin/run-as-spot /usr/bin/xchat "$@"