FatDog64 621 - How to make a program run as Spot?

A home for all kinds of Puppy related projects
Post Reply
Message
Author
batwana
Posts: 3
Joined: Mon 29 Jul 2013, 20:38

FatDog64 621 - How to make a program run as Spot?

#1 Post by batwana »

How do I make a program I've installed from the repository run as Spot?

WillM
Posts: 173
Joined: Wed 30 Dec 2009, 04:42
Location: Oakland, California

#2 Post by WillM »

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;

Code: Select all

Exec=xchat-spot
Create a new shell script in /usr/bin named xchat-spot Put the following lines into it;

Code: Select all

#!/bin/sh
exec /usr/bin/run-as-spot /usr/bin/xchat "$@"

Post Reply