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 Sat 30 Aug 2014, 04:14
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to keep Puppy barking?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Author Message
rincon155


Joined: 11 Mar 2011
Posts: 104
Location: Venezuela

PostPosted: Fri 18 Nov 2011, 21:27    Post subject: Re: Barks at Startup  

davec51 wrote:
Go to /etc/rc.d/rc.local (not local0). Add this line: aplay -N /usr/share/audio/bark.au (or 2barks.au).

I have no idea what the "-N" is for, and you can put any other audio file in place of the bark.au file.
I'm impressed that you have a daughter with Pavlovian responses. I could never get my daughters to do anything, and look at how they turned out.

I just want to inform that I solved the same problem following the instructions, but adding the line:
aplay /usr/share/audio/2barks.au
I obtained two barks. In my case, since I am a new in Linux, the barkings at start up give me a feedbak that the system is charging well.
When I used:
aplay -N/usr/share/audio/bark.au
It did not produce any sound at start up, and triying that line in a Terminal there is an error message.
Thank you.
Back to top
View user's profile Send private message 
rincon155


Joined: 11 Mar 2011
Posts: 104
Location: Venezuela

PostPosted: Wed 31 Oct 2012, 22:17    Post subject: Precise 5.4 barks at boot
Subject description: How to produce barks at boot in Puppy Precise 5.4
 

I just installed Puppy Precise 5.4 - with savefile in HDD - in my Laptop, and since I noticed that the 2 barks at boot were not produced, I applied the same procedure described in the previous post which worked fine for me long time ago. But now it didn't work. Why?
I tested in a terminal the addition to rc.local with the aplay command, and the 2 barks were produced. I also verified the I can reproduce a music CD without any problem. I guess the procedure in Puppy Precise 5.4 is slightly different.
How can I obtain the 2 barks at boot using Puppy Precise 5.4?

Last edited by rincon155 on Thu 01 Nov 2012, 10:38; edited 1 time in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5100
Location: Charleston S.C. USA

PostPosted: Wed 31 Oct 2012, 23:30    Post subject:  

Try this:

Make a script file with this code:

#!/bin/sh
aplay /usr/share/audio/2barks.au

Place this script file in /root/Startup directory.
You will get two barks, at boot, at start of desktop.

How to make script file.
In Rox file manager:
Go to /root/Startup.
Right click in open area.
In menu, go to new->Script.
Give script a name like puppy bark.
Should now have file puppy bark in /root/Startup.
Right click on puppy bark file.
select Open as Text.
Now in text editor, make text look like above code.
Save changes.
Close text editor.
Now should have working text script file puppy bark.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
rincon155


Joined: 11 Mar 2011
Posts: 104
Location: Venezuela

PostPosted: Thu 01 Nov 2012, 10:36    Post subject:  

bigpup: thank you for your detailed indications, that are very good for me since my limited knowledge of Linux (but always eager to learn Wink ) Back home tonight I will apply it and post. Regards.
Back to top
View user's profile Send private message 
rincon155


Joined: 11 Mar 2011
Posts: 104
Location: Venezuela

PostPosted: Thu 01 Nov 2012, 20:09    Post subject:  

bigpup wrote:
Try this:

Make a script file with this code:

#!/bin/sh
aplay /usr/share/audio/2barks.au

Place this script file in /root/Startup directory.
You will get two barks, at boot, at start of desktop.

How to make script file.
In Rox file manager:
Go to /root/Startup.
Right click in open area.
In menu, go to new->Script.
Give script a name like puppy bark.
Should now have file puppy bark in /root/Startup.
Right click on puppy bark file.
select Open as Text.
Now in text editor, make text look like above code.
Save changes.
Close text editor.
Now should have working text script file puppy bark.


Done it! It barks once the system boots. Thank you! Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0543s ][ Queries: 12 (0.0075s) ][ GZIP on ]