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 Fri 24 Oct 2014, 21:40
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 Posts_count  
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: 144
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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