General :: Play Beep Sound Inside Shell Script?

Aug 4, 2011

I need to make beep sound inside my basic shell script. code...

View 5 Replies


ADVERTISEMENT

Debian Programming :: Play Beep / Alert Sound When Somebody Joins LAN

Aug 23, 2013

Code handy which could play a beep/alert sound when somebody (any user) joins your LAN. Or as second-hand choice, if this is too hard, to play a beep when X terminal windows writes some output lines.

View 2 Replies View Related

Ubuntu :: Play A Small Blip/beep Sound To Let Hear/test The Audio Levels Upon Volume Change?

Mar 5, 2011

How might i be able to play a small blip/beep sound to let me hear/test the audio levels upon volume change? Mac OSX users may know what I'm talking about. I had a similar application in windows. It helps me guage my volumes before i play games/...../videos.

View 3 Replies View Related

General :: Make My Computer Beep Using Terminal Shell Script?

Jul 31, 2010

I have a laptop running Ubuntu 10.04 and i want to make a shell script and I want a beep sound but I can't get one..

I tried this and i didn't hear any beep

View 4 Replies View Related

General :: Use Wav/ogg Sound Instead Of PC Speaker Beep?

Jan 12, 2010

This may seem like a stupid question (if not completely ridiculous ), but I was wondering if there's a way to configure audio events so that I can use a wav/ogg sound instead of the PC speaker's default beep for small events like hitting backspace in a text editor when it's the beginning of the document (or any other illegal keyboard action), or in Wine applications when it calls for an "asterisk" sound (it just beeps the PC speaker).

I've looked at similar threads, but they mainly just talk about either the beeps that the machine does when it boots up, or simply turning off the beeping completely. What I want to do is substitute the beeps (that are caused by the OS) for an actual sound that's played through the ALSA/OSS/whatever audio device.

View 3 Replies View Related

General :: Using Bash Shell Script Inside Php?

Dec 30, 2010

how do i use bash shell scripts inside php.I am just trying to call a simple cp command using php. Its not doing anything.

View 2 Replies View Related

General :: Executing Shell Script With 654 Permissions Inside Another One

Apr 22, 2010

I have this scenario, where in I'm calling a shell script inside another shell script. The only criteria here is that the embedded script will have 654 permissions and the master script should be able to execute this embedded script. The sample code is given below:

#!/usr/bin/ksh
maindir=/usr/home01/temp/dir
bindir=${maindir}/batch/bin
${bindir}/test.ksh -d ${dblogin} -i ${datadir} -r ${filedt} > ${tmp_log}

The test.ksh which has 654 permissions is called by the main.ksh script and when I try to run it using ./main.ksh, it fails with the error "Execute permissions denied."

View 2 Replies View Related

General :: Redirect Output Of A Command To Another File Inside Shell Script?

Aug 26, 2010

I am writing a script in which I am using AWK to append to a line in a file and save the file. The command I am using is:

Code:
awk '{s=$0; if ( NR==4 ){s=s ":/usr/java/jdk1.6.0_19/bin" } print s;}' $appName > $appName.new

[code]...

View 4 Replies View Related

OpenSUSE Hardware :: Unable To Get Sound-test To Play Sounds As Well As Connect To The Sound Device In Vmware And Play Sounds?

Nov 5, 2009

I'm trying to figure out what in the world is going on with my sound in OpenSuSE. I put in a brand new Audigy chipset soundcard and finally got some sound to come out of the speakers. I used the guide here: SDB:AudioTroubleshooting - openSUSE. to fix the permissions on my sound and am able to get sound-test to play sounds as well as connect to the sound device in my vmware and play sounds. That being said, I have terrible sound quality coming out. There is a lot of static sound like white noise and the volume of the actual sound played is very low compared to the noise. The sounds also distort somewhat.

I have tried the pulse audio change in the tutorial above also and have been searching around google. The only problem that I saw similar was a person who fixed the problem by updating KDE. I don't have KDE, I'm using Afterstep.

View 9 Replies View Related

General :: Runs Multiple Shell Script Inside A Main Script Using Crontab?

Oct 22, 2009

I wrote a simple shell script called main.sh and inside it calling another shell script called rename.sh.Both are placed in a same directory.[/home/srimal/test]

$cat main.sh
Code:
#!/bin/sh

[code]...

View 4 Replies View Related

Ubuntu :: Cannot Hear Any Sound / Which Setting Avoid Beep

Jan 4, 2010

I wrote a c console-programme with should output a system beep.But I cannot hear any sound.Which setting of Ubuntu avoid the beep.

View 2 Replies View Related

Ubuntu Installation :: Lucid - No System Beep Sound

May 6, 2010

just installed Lucid 64-bit. everything running smoothly including the sound except no system beep from PC speaker. system beep is enabled in system -> preferences -> sound. What else can I try? I'm dual booting with Hardy and system beep works fine in Hardy.

View 4 Replies View Related

Ubuntu Multimedia :: No Sound At All Except Loud Beep At Login

Aug 27, 2010

I tried to follow the instruction here: [URL]. But I failed at step 3 because there is no dropdown box on the linked page. One test command I found online returns errors:
cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.20 emulation code)
Kernel: Linux mary 2.6.30-bpo.2-686 #1 SMP Fri Dec 11 18:12:58 UTC 2009 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
HDA Intel at 0xf3300000 irq 22
Audio devices: NOT ENABLED IN CONFIG
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers: NOT ENABLED IN CONFIG

View 3 Replies View Related

Ubuntu :: Can't Enable Terminal Beep Sound / Make It Possible?

Sep 19, 2010

I've been using my girlfriend's Mackbook Pro and really like the beep sound when pressing backspace at a command prompt and really would like to have it on my ubuntu. However, I've checked "Terminal bell" option in the profile settings, but there is still no beep sound. What am I missing here?

View 7 Replies View Related

OpenSUSE Network :: Xterm On Vnc On 11.4 - Beep/bel/ascii 7 Then The Sound Comes Out On The Machine

Jun 23, 2011

I have the following problem with xterm on vnc on opensuse 11.4. I start a vncserver, and then inside that session I start xterm. However, if the xterm emits a beep/bel/ascii 7 then the sound comes out on the machine on which the *server* is running. Every other installation I've used has the sound come out on the viewer end (which is what you'd expect and want).

View 4 Replies View Related

Ubuntu Multimedia :: No Sound After Update - Cant Hear Anything Now Not Even A System Beep ?

May 8, 2010

ok so a while ago i updated ubuntu and the sound stopped working. i cant hear anything now not even a system beep - i tried the Comprehensive Sound Problem Solutions Guide by LordRaiden but to no success. i tried alsamixer and all that to check its muted, and its not.

View 3 Replies View Related

Programming :: How To Use A Function Inside A Shell

Apr 28, 2011

I am very new to shell script, and my requirement is --

1. open the apache access log, use "cut" and "grep" to find the numbers.
2.put the result in a file
3.then compare the same result with day before result
4. send the result via e-mail.

so how can i do that , using some functions..

View 1 Replies View Related

Ubuntu Installation :: What's Up With Scary Beep Sound And Long Boot Up Delay?

Jul 18, 2011

I have a Macbook 5,2, on which I'm triple booting OS X - Linux - Windows, using bootcamp and rEFIt.I had a variation of Ubuntu 10.04 called Uber Student as the linux installation.I installed Ubuntu 11.04 AMD64 instead, by choosing the EFI boot option.Now this gave me some problems. When I shot down, the Macbook gives me a troubling long beep sound.When I start up, I'm still able to boot up into rEFIt and Grub2, but there is a big delay with the screen being black for about 30 seconds and the little white light in the left corner of the Macbook is blinking feverishly. I read something about a guy which had a similar problem and the process seemed to mess up the firmware on his Macbook, so he had to have his MB changed.

What's up with the scary beep sound and the long boot up delay?Secondly, when I want to do an update of the Ubuntu system, the update manager asks me to do a partial upgrade, which includes removing the grub-EFI, resulting in a system that won't boot...

View 2 Replies View Related

Hardware :: Turns The PC On - Beep Sound Doesn,t Come Out Of - Bios Does Not Start - Nothing Seen On Screen

Feb 9, 2010

As you know,whenever user turns the PC on,a beep sound is heard,then the bios starts,but recently this beep sound doesn,t come out of the case,and,so the bios does not start(nothing seen on the screen),then i have to hard reboot several times,and mostly,i have to shut down for some seconds to remove this problem,also sometimes this beep sound comes out but repeatedly for many times.

I am suspicious about the shut down button,because it,s a long time that this button usually is blinking.

-What is the reason for this problem?

-Is that related to hardware or software?

View 1 Replies View Related

Ubuntu :: Play Video Directly Inside Desktop?

Mar 30, 2010

i want to watch music videos, etc but i want them to play (not in a window) inside the desktop like in a predefined area... is this possible?

View 3 Replies View Related

OpenSUSE Hardware :: Sound With New Sound Card - Web Browser Is Unable To Play Any Sound

Mar 24, 2010

After installing an external sound card, Im having some weird issues. The cards chipset is fully supported by suse, (CM8738) so I dont think thats the problem. Besides, I'm getting sound, but not in some applications. The system's sounds work just fine (login, logout themes) amarok plays without any problems, kaffeine, mplayer they all work flawlessly, in fact I can see the difference in quality between the onboard sound and my new card. However, no web browser is able to play any sound at all, firefox, opera or chrome, nothing,zip. Plus, vlc cant reproduce sound either, nor can smplayer.

I've tried switching channels on and off(muting)in kmixer and in alsamixer, on the console, with no results. I disabled the onboard audio on the bios before installing the new card, however my ati video card has integrated sound, which I cant disable.... I used to get this exact same problem randomly with the onboard sound, but I just had to go to kmixer and turn up the "pcm" channel volume, which was set to 0, and I had sound again on my browser. However this card's pcm channel is at max and turning it up or down affects the whole systems volume, not just the browser's. Is it better to just reinstall the sound system, if so how could I do that.

View 7 Replies View Related

Ubuntu Installation :: Gnome-shell On 10.04 Beta Inside Virtualbox

Apr 12, 2010

I have installed VirtualBox because I want to test out things like 10.04 and gnome-shell. So, I have downloaded an Ubuntu 10.04 32-bit .vdi from mininova (and so far I'm assuming that the downloaded file is good), and I've been tooling around with it a bit. It was a bit choppy at times, but that was probably because I was running several other things at the same time. My comp's stats are in my sig (only addressing 2.9 gigs of ram due to the 32-bit kernel), and I think that any choppiness was due to overloading the computer with other things. The proc temp also went to record highs, ~75 Celsius, iirc. The vm has been alloted 1 proc (out of 2) 512 ram. The problem I am having is that I wanted to install gnome-shell to try it out, but I get an error,

[Code]...

View 6 Replies View Related

Ubuntu Installation :: Getting Gnome-shell On 10.04 Beta Inside Virtualbox?

Apr 25, 2010

I have installed VirtualBox because I want to test out things like 10.04 and gnome-shell. I have downloaded an Ubuntu 10.04 32-bit .vdi from mininova (and so far I'm assuming that the downloaded file is good), and I've been tooling around with it a bit. It was a bit choppy at times, but that was probably because I was running several other things at the same time. My comp's stats are in my sig (only addressing 2.9 gigs of ram due to the 32-bit kernel), and I think that any choppiness was due to overloading the computer with other things. The proc temp also went to record highs, ~75 Celsius, iirc. The vm has been alloted 1 proc (out of 2) 512 ram.The problem I am having is that I wanted to install gnome-shell to try it out, but I get an error,

Code:

adminuser@adminuser-desktop:~$ sudo apt-get install gnome-shell
[sudo] password for adminuser:
Reading package lists... Done
Building dependency tree

[code]...

So, I have xulrunner-1.9.2 already, so I tried to install 1.9.1 anyway, and it appeared to install, and I now have 1.9.1.9 and 1.9.2.3 installed, but trying to install libgsj0 results in the same error as above.

View 9 Replies View Related

Ubuntu :: 'set' Command In Terminal Has Shell Scripts Embedded Inside?

May 3, 2010

I just installed Ubuntu 10.04 for some development. I was trying to set some environment variables are noticed that when I hit 'set' inside a terminal (to dump environment vars) I get the usual first few variables but then I see a whole lot of script code ....

Code:

WINDOWID=23068675
XAUTHORITY=/var/run/gdm/auth-for-sid-5IDovs/database
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/

[code]....

I've installed a lot of tools (NetBeans, Ruby, Java, build-essentials etc) but essentially I installed Ubuntu today - so it shouldn't have rotted out this quickly. is this hijacking of environment vars to embed script code intentional with Ubuntu 10.04?

View 1 Replies View Related

General :: Videos Will Not Play Sound

Apr 15, 2011

videos will not play sound- mostly tried cnn.com- pclinuxos kde installed Tuesday

View 4 Replies View Related

General :: Videos Play Extremely Fast With No Sound / Fix It?

Jan 19, 2011

I had a memory stick problem over the weekend, and after correcting the problem, I decided to up grade from Linux Mint 9 to Linux Mint 10.
All video and sound functions worked properly prior to changing to Linux Mint 10. Now I can not get any sound out of the speakers, from a CD or a digital file, and a video goes at super fast speed with no sound. I am new the Linux world but learning fast. Data CD's work correctly both in reading and burning new.

View 1 Replies View Related

General :: Sound Can Play But Music Can't In Game Second Life On Ubuntu / Sort That?

Mar 7, 2010

Sound can play but music can't in the game "second life" and I'm using it on ubuntu. I don't know how to fix the problem or where to begin and I had asked a tech in that game and they said it might have to do with the firewall, but wouldn't help me out because I wasn't premium. The first sentence is the problem.

View 2 Replies View Related

General :: Errors In Console-text That Appears While The Debian OS Is Loading - Play Music - No Sound

Jul 11, 2011

I've been using Linux for about a week, now, and yesterday I finally got my audio to work. Before shutting-down yesterday, I installed some more audio-plugins. When I started-up my computer today, there were errors in the console-text that appears while the Debian Linux OS is loading. When I got to the desktop, I tried to play music, but no sound came-out. So, I tried to uninstall the plugins I installed yesterday and restarted. I got similar errors in the console-text as earlier. When my desktop loaded, I still had no sound. I had several problems with the entire sound architecture of the computer. I made some more changes in the application-download-manager-thingy and restarted and I no longer got the errors at boot-time.

Unfortunately, I still have absolutely no sound, and it appears as if ALSA is effectively dead. My soundcards are Rocketfish (PCI) and Realtek HD Audio (Integrated). I got Realtek to work yesterday with OSS.

Another problem is that WINE doesn't work, with the exception of WINE's default programs. I've been trying to get this thing to work for at least four days now, and I've made absolutely no progress...

Also, after fighting with it for a few days, I finally managed to get the internet to work, but Linux still thinks that I'm offline. It's really weird. This one's not so much of a problem as it is annoying. In addition, if I click-on the network-manager-thingy, it says that none of my connections have ever been used. Odd.

View 4 Replies View Related

General :: System Beep On Shutdown?

Aug 19, 2009

after installing linux mint 7, I have been getting one beep on shutdown, a google search on this came back as a ram problem...but then i ran across a bunch of posts on ubuntu forums about one beep on shutdown, with an older version of ubuntu, grep does return some paramter errors, but in the mint bug report page those are listed as : benign ignore. it doen't bother me in the least, as long as it isn't a warning of impending hardware failure.

View 5 Replies View Related

General :: Terminal Shutdown -h -P With A Beep?

Nov 2, 2010

I have a habit of watching videos when I go to sleep. So I decided to start using, for example, the following when I laid down:

sudo shutdown -h -P 60

Of course this shuts down the computer in an hour. I was wondering if there was a way I could get the computer to beep a few times for the last 10 Minutes and then a few more times for the last 5 minutes?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved