LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

beep in ubuntu

Posted 06-02-2011 at 06:24 AM by sumeet inani
Updated 06-02-2011 at 06:29 AM by sumeet inani

I wanted to hear beep from my sound card with speaker unattached

echo -e "\a"
Dos not work in any case.

I installed package 'beep'.
Run 'lsmod' to see if the module "pcspkr" is loaded by kernel.
(maybe because '/etc/modprobe.d/blacklist.conf' contains 'blacklist pcspkr').
In my case it wasn't.
So I ran
Code:
sudo modprobe pcspkr
Now beep can be heard.
If you want to get info about...
Member
Posted in Uncategorized
Views 1091 Comments 0 sumeet inani is offline
Old

java in debian 6

Posted 05-28-2011 at 10:40 AM by sumeet inani

Code:
apt-get install default-jre icedtea6-plugin
involves following files
default-jre_1.6-40_i386.deb  default-jre-headless_1.6-40_i386.deb
icedtea6-plugin_6b18-1.8.3-2_i386.deb
Check following page in your browser --> http://www.java.com/en/download/testjava.jsp

Tested in opera 11.11 , iceweasel 3.5.16
Member
Posted in Uncategorized
Views 3507 Comments 1 sumeet inani is offline
Old

revamp your bash

Posted 05-27-2011 at 07:33 PM by sumeet inani
Updated 05-27-2011 at 07:45 PM by sumeet inani

I did following changes
Code:
in ~/.bashrc
export  HISTTIMEFORMAT="%h/%d-%H:%M:%S "
export PS1="\[\e]2;\u\a\]\[\e[31;1m\]\t \w \$\[\e[0m\]" 
#if [ "$color_prompt" = yes ]; then
#    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
#else
#    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
#fi
alias ls='ls -lA'
alias cp='cp -v'
...
Member
Posted in Uncategorized
Views 665 Comments 0 sumeet inani is offline
Old

updatedb for ntfsdrives mounted in /media

Posted 05-27-2011 at 07:09 PM by sumeet inani

Edit your /etc/updatedb.conf
Code:
PRUNE_BIND_MOUNTS="yes"
# PRUNENAMES=".git .bzr .hg .svn"
#PRUNEPATHS="/tmp /var/spool [strikethrough]/media[/strikethrough]"
PRUNEPATHS="/tmp /var/spool"
PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf fuse.glusterfs fuse.sshfs"
Some say create symbolic...
Member
Posted in Uncategorized
Views 915 Comments 0 sumeet inani is offline
Old

vim as default text editor in debian

Posted 05-23-2011 at 09:25 PM by sumeet inani

I have 'vim-gnome' installed
First select any file .
In properties > openwith tab
select GVim Text editor
Now I wanted that : After a file has been opened the other text file should be in new tab in same window
So I edited '/usr/share/applications/gvim.desktop'
Code:
Exec=gvim -f --remote-tab-silent %F
Member
Posted in Uncategorized
Views 954 Comments 0 sumeet inani is offline

  



All times are GMT -5. The time now is 02:01 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration