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 25 Oct 2014, 01:35
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 Posts_count   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
Sub_title: 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?

Edited_time_total
Back to top
View user's profile Send_private_message 
bigpup


Joined: 11 Oct 2009
Posts: 5237
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:   Sort by:   
Page 2 of 2 Posts_count   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:  

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.0518s ][ Queries: 12 (0.0044s) ][ GZIP on ]