General :: Make My Computer Beep Using Terminal Shell Script?
Jul 31, 2010I 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
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
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 RelatedI need to make beep sound inside my basic shell script. code...
View 5 Replies View RelatedI 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?
I've used the following script here: [URL] to upgrade Alsa to 1.0.21 in Ubuntu 8.04. Now whenever I run:
Code:
sudo shutdown -h <time> or sudo reboot from the terminal I get a rather annoying beep sound. What's even more annoying is if I use the shutdown command to specify a time I get a beep every 10 minutes or so.
I've tried disabling the terminal beep in the terminal profile, disabling the beep in System/Preferences/Sound, adding "blacklist pcspkr" to /etc/modprobe.d/blacklist, and running gconf-editor from the terminal and setting /desktop/gnome/peripherals/keyboard/bell_mode to 'off' rather than 'on'.
Still getting the annoying beep at startup, can anyone advise on how to disable it?
View 3 Replies View RelatedI'm running ubuntu 9.10 on a Dell XPS M1530. Sometimes i get a _VERY_ loud beep-sound, eg when i run out of battery or, the case that has me coming here when i'm working in a virtual terminal (tty1-6) and hit backspace once too often, that is, when the command line is actually empty.Not that big of a deal you might think, but, especially when you're wearing good (read: possibly loud) headphones the experience is that god damn unpleasant that i'd like to make sure it won't happen again.Oh and well, just hitting mute (in gnome, which doesn't have a lot to do with tty1 anyways) won't do the job.
View 2 Replies View RelatedHow can I turn off the beep that happens when I backspace too many times in the terminal or other applications?
View 7 Replies View RelatedMy server is headless, so I'd like to make it beep when it finishes booting. Some posts in the forum seem to indicate this is the default setting, but my box has no sound when login prompt appears. The speaker does work since it beeps once at the start of the booting process (probably BIOS' doing). "lsmod | grep pcspkr" shows "pcspkr 7105 0", lspci shows nothing related to speaker.
Also I'd like to know how I can test the speaker from command line (remote ssh terminal), will echo -e "007" work?
Is it possible to make terminal (xfce4-terminal) transparent from bash script?
Maybe by enabling compostion?
how to make irssi beep through the speakers whenever i get a message on IRC? I have tried the set beep thing on but doesnt work.
View 4 Replies View RelatedI live in a crowded area so I have to use headphones almost all of the time. I just leave them plugged in so when an alarm goes off from Thunderbird or Evolution, I can't hear it. Is there a way to get some use out of my internal system speaker and have a reliable calendar-event-reminder and alarm? I'm talking about the one that will beep from inside the computer even if you have headphones plugged in.
View 2 Replies View RelatedGreen on black = general shell
red on black = shelling in as root to a server
gold on black = media, irc
what colours do you use?
i am running slackware and i cant set my terminal to regular shell. when i open up a terminal i see something like bash4.1 instead of hostname and nickname how can i change this. i use more than one terminal so id liek to make this change for all terminals
View 5 Replies View RelatedThere are a couple commands I want to run in a terminal that require me to provide my password. I really don't want those commands ending up in any kind of history or anywhere else where they could be seen by someone after the command was run. Are there any shells/terminals for Ubuntu that I could use (or options to bash/zsh/etc) that would give me a secure environment where I don't have to worry about my history being kept?
View 3 Replies View RelatedWhat are the differences between shell , console & terminal?
This probably sounds like a stupid question but I'm having a lot of trouble clearly differentiating between a shell (such as Bourne or bash) and the Terminal application in GNOME. I realise that both are completely different but I can't seem to find a clear answer written in text. Could anyone clearly distinguish between both?
I want to disable all color in my shell. Not ls, not nano, not vi, nothing.
View 3 Replies View RelatedI have come across the use of the term terminal, virtual terminals/consoles, real-text terminals but do not understand what terminal refers to. Does it refer to the screen that is in-front of me whilst I post this question or does it refer to something specific?EDITI came across a similar post at What are the differences between shell , console & terminal? and it seems to be similar to the one I posted although am still confused about the use of the sentence Decades ago, this was a physical device consisting of little more than a monitor and keyboard. What does this device look like and how is different to a monitor?
View 2 Replies View RelatedI want to copy a file (home/remote_computer_user/Desktop/test1.txt) from my remote office computer (a permanent URL + open port) to my home computer (home/home_computer_user/Downloads/).
How can I do this with shell commands in Linux?
My current thoughts:
ssh <user>@<computer1address> -p <port> - gives me a shell on the remote computer
(I think I should use scp, but I dont how exactly how in my case)
What are the exact commands I should use?
Thats it! I'm confused with the terminology.
What is the difference between shell , console & terminal?
I often have issues starting my window manager--xfce. My computer misbehaves in one of 3 ways, one of which is to fail to open X, but generate several screens of info. I want to paste that info to this site, but since I'm in the shell, not the terminal (please correct my vocabulary if it's wrong here), I don't know how to copy and paste the output, since right-clicking doesn't give me a menu. Even if I could copy I'm not sure the information would be accessible in X. Are there any other options?
View 13 Replies View RelatedI notice that my bittorrent client is capable of automatically setting up port forwards with my router, and I want to know if I can do the same in a shell script. The reason is, that since my router is stupid and won't let me keep static IP addresses (it seems they forced a DHCP refresh every week to make me want to pay for a more expensive model which doesn't), I need to get my computer to change the port forward to follow my computer's changing internal network IP address. I have a couple of port forward manually entered into my router settings for web interfaces to bittorrent etc, but of course these have a good chance of being invalidated at each DHCP refresh cycle.
View 1 Replies View RelatedI am running Linux Mint 9..I play xbox live and run it through my laptops wireless network connection so i dont have to pay 100 dollars for the usb wireless adapter for the xbox. In windows 7 this is easy to configure so that when i turn my laptop on and then xbox it automatically connects.
View 10 Replies View RelatedI have recently loaded Linux Mint on an old IBM Laptop and am very happy with the GUI; however, I would like to learn how to use the Linux shell/terminal. I don't know any of the commands. Is there a good online source for this information--a tutorial or list?
View 2 Replies View RelatedI am trying to write a .sh script that will source a file containing evnironment variables and then open a konsole terminal session that will have those settings.
View 2 Replies View RelatedI have a problem to make a shell, using mail command DestMail= cat /opt/scripts/maillist.txt mail -s"SUBJECT" $DestMail -- -r xxxxx@gmail.com < /opt/scripts/test.txt where: maillist.txt contain email adresse separated by comma test.txt mail text this script can eval DestMail variable!!
View 1 Replies View RelatedI am setting up a cron job, where i am calling a shell script to make few builds. I got struck at a point, need some expert inputs to proceed further. The script is categorized in 5 parts and in the last part while building software it asks for few questions like:-
1. Build mode choice
2. normal build
3. Copy Images
4. Arch
User manually has to input ans for these questions:-
1
yes
n
64
The ans's are fixed and this won't change. How shall i hard-code them or do something in the script so as when script flow reaches to this point it automatically take's these value. So far the cron job is not getting completed as it's waiting for user to key in these values manually. I had faced similar issue while building kernel modules but there it was easier as i had to take default values always:-
Consider that I am building my application in Linux shell using make command but somehow the build fails. Is there any way I can find out that the build has failed (of course looking at shell for error messages will do the job for me but I don't want that). Is there any flag make or shell will set/reset if such failure occurs ?
View 5 Replies View RelatedTrying to write a shell script called make to read a file called dirs with the following in it
programs
scripts
documents
Read file line by line and make the directories in the current directory when you type ./make dirs if no file is given then program should print usage:
make dirs filename
I ran across this the other day and was instantly amazed.He says he uses a custom Vim colorscheme (easy) and dwm with tmux. I've downloaded tmux and I'm having some issues with it (my CTRL-b hotkey wont work), but I'm confused at how to start designing something similar to what he has done.My idea is to get my terminal to look like this, then remove KDE from my laptop so that all my computer is is this awesome thing.
How should I go about starting modeling something like this? In the picture, what does tmux handle and what does dwm handle? Speaking from someone who has never used any of them.