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 Wed 03 Sep 2014, 03:16
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to play a jingle at X startup?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
slapshot


Joined: 02 Apr 2006
Posts: 270
Location: Italy

PostPosted: Thu 08 Nov 2007, 16:38    Post subject:  How to play a jingle at X startup?  

Hi all,

I would like to play a jingle at X startup but I'm not able to find how such as the woof woof first time you boot Puppy. I tried in rc.local using wavplay etc.. and also in .xinitrc but with no luck.

Anyone can point me ?

Thanks

_________________
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Back to top
View user's profile Send private message MSN Messenger 
Bruce B


Joined: 18 May 2005
Posts: 11092
Location: The Peoples Republic of California

PostPosted: Thu 08 Nov 2007, 17:31    Post subject:  

Sure!

You need hopefully a commandline utility compatible with your sound file and one that will terminate when finished, which most cli players will.

The place the barks are run is /etc/profile, near the end. Inspect it and see how it's done.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6683
Location: lisbon

PostPosted: Thu 08 Nov 2007, 17:40    Post subject:  

but it should also work in /root/.xinitrc, whenever the window manager restarts, just before #exec $CURRENTWM. I don't know why it hasn't worked for you.
Back to top
View user's profile Send private message 
slapshot


Joined: 02 Apr 2006
Posts: 270
Location: Italy

PostPosted: Fri 09 Nov 2007, 05:10    Post subject:  

Thanks guys Smile.

I found my stupid fault:
Quote:
just before #exec $CURRENTWM. I don't know why it hasn't worked for you.

I put it just after exec jwm Smile.

Adding a & at the end of line will background this jingle, don't you ?

Thanks.
Antonio

_________________
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0505s ][ Queries: 12 (0.0047s) ][ GZIP on ]