Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 19:30
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
FatDog64 621 - How to make a program run as Spot?
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
batwana

Joined: 29 Jul 2013
Posts: 3

PostPosted: Tue 30 Jul 2013, 13:13    Post subject:  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?
Back to top
View user's profile Send private message 
WillM

Joined: 30 Dec 2009
Posts: 137
Location: Oakland, California

PostPosted: Tue 30 Jul 2013, 23:03    Post subject:  

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:
Exec=xchat-spot

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

#!/bin/sh
exec /usr/bin/run-as-spot /usr/bin/xchat "$@"
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0368s ][ Queries: 11 (0.0038s) ][ GZIP on ]