# Previously
sudo etc/init.d/NetworkManager stop
# Updated
sudo etc/init.d/network-manager stop
Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts
Friday, November 26, 2010
Network manager in Ubuntu 10.10
Not sure which version of Ubuntu has this been implemented.
Sunday, November 21, 2010
Enabling bash completion
Uncomment the following in /etc/bash.bashrc
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
f
Hijacked keyboard shortcut
Somehow when I upgraded to Ubuntu 10.10, my "Shift + f" launches firefox.
Apparently that keybinding was assigned to run command_1 in metacity which was assigned to launch firefox. To disable it go to,
gconf > apps > metacity > global_keybindings
Apparently that keybinding was assigned to run command_1 in metacity which was assigned to launch firefox. To disable it go to,
gconf > apps > metacity > global_keybindings
Saturday, November 20, 2010
Saturday, June 19, 2010
Blank screen after resuming from suspend in Ubuntu
Of late I'm getting blank screen from suspend on my Ubuntu netbook after starting to use a second external monitor. Not sure the reason why but the fix for me is to hit "CTRL + ALT + F7".
Friday, June 18, 2010
Use mplayer to play stuttering web flash videos on browsers (high CPU load)
Playing web flash videos on my Ubuntu Firefox can yield super high CPU load as flash is poorly supported on Linux. Couple that with a sub-optimal Firefox Flashplayer plugin which causes CPU load to spike up to almost 100% and this makes the video stutter like mad.
One solution is to start and pause the video to initiate caching and use mplayer to play the cached flash video instead.
Now it plays smooth. Fullscreen? No problem. Just toggle "F" on your keyboard!
One solution is to start and pause the video to initiate caching and use mplayer to play the cached flash video instead.
mplayer /tmp/Flash*
Now it plays smooth. Fullscreen? No problem. Just toggle "F" on your keyboard!
Tuesday, June 8, 2010
Share iTunes playlist and files over network using Ubuntu as fileserver
# Install mt-daapd
sudo apt-get install mt-daapd
# Edit mt-daapd.conf and specify media folder
sudo vi /etc/mt-daapd.conf
# Restart mt-daapd
sudo /etc/init.d/mt-daapd stop
sudo /etc/init.d/mt-daapd start
# Configurations can be done on webpage
# Remember to port forward 3689 to ubuntu machine
http://localhost:3689
Friday, May 21, 2010
No root user created for mysql in Ubuntu Hardy
/etc/init.d/mysql stop
mysqld --skip-grant-tables &
mysql -u root mysql
mysql> INSERT INTO user VALUES ('localhost','root',password('newpassword'),'Y','Y ','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y', 'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','' ,'','','',0,0,0,0);
Monday, April 26, 2010
Friday, March 19, 2010
HP F2410 printer on Ubuntu
Wanted a printer that works on Ubuntu. Did some research and realized HP printers are the most well supported.
https://wiki.ubuntu.com/HardwareSupportComponentsPrinters
Acquired a cheap SGD99.00 HP F2410 printer off local store. Installing it isn't as easy as plug and play but it's close enough. Essentially CUPS doesn't have the right PPD so it's off to HP website to download the the driver. They even provide a neat installation run file that does dependency checks!
http://hplipopensource.com/hplip-web/downloads.html
Printing well and scanning works with Xsane. At such a low price I can't be happier. I owe HP one!
https://wiki.ubuntu.com/HardwareSupportComponentsPrinters
Acquired a cheap SGD99.00 HP F2410 printer off local store. Installing it isn't as easy as plug and play but it's close enough. Essentially CUPS doesn't have the right PPD so it's off to HP website to download the the driver. They even provide a neat installation run file that does dependency checks!
http://hplipopensource.com/hplip-web/downloads.html
Printing well and scanning works with Xsane. At such a low price I can't be happier. I owe HP one!
Sunday, March 14, 2010
Set Ubuntu to use Google DNS for internet
Sometimes my 2Wire router doesn't seem to route to the DNS properly. As such I can ping IP addresses but not domain names. To fix that just tell Ubuntu to use Google DNS (or any other free DNS service) directly.
# In /etc/dhcp3/dhclient.conf
prepend domain-name-servers 8.8.8.8, 8.8.4.4;
Sunday, March 7, 2010
Cron log in Ubuntu
* Edit /etc/syslog.conf and uncomment the line starting with cron.*
* touch /var/log/cron.log
* Run /etc/init.d/rsyslog restart
* Run /etc/init.d/cron restart
* touch /var/log/cron.log
* Run /etc/init.d/rsyslog restart
* Run /etc/init.d/cron restart
Changing of syslog.conf location in Ubuntu Karmic
Old:
/etc/syslog.conf
New:
/etc/rsyslog.d/50-default
Saturday, March 6, 2010
Thursday, January 21, 2010
Monday, January 11, 2010
Thursday, November 26, 2009
[Solved] No sound on external speaker for eeePc running Ubuntu
My Ubuntu netbook suddenly stopped having sound from its external speakers. No such problem if using headphone jack.
The solution is simple --> I have accidentally switched "iSpeaker" off in "Volume Control > Preferences"
The solution is simple --> I have accidentally switched "iSpeaker" off in "Volume Control > Preferences"
Tuesday, November 24, 2009
Sunday, October 18, 2009
Swap CAPS LOCK with CONTROL key
I've been using swapping CAPS LOCK with ESC key configuration. Trying out swapping CAPS LOCK with CONTROL key now.
Advantage:
- not having my pinkie wrangled to reach CONTROL Key at the bottom --> easier to do CTRL-C, CTRL-V, CTRL-A
Disadvantage:
- a big rewiring of finger memory as I've been using normal CONTROL key for years
- I need another keystroke for ESC sequence (CAPS LOCK + [) as compared to previous configuration (CAPS LOCK)
Advantage:
- not having my pinkie wrangled to reach CONTROL Key at the bottom --> easier to do CTRL-C, CTRL-V, CTRL-A
Disadvantage:
- a big rewiring of finger memory as I've been using normal CONTROL key for years
- I need another keystroke for ESC sequence (CAPS LOCK + [) as compared to previous configuration (CAPS LOCK)
Reloading ALSA
I've encountered some errors while running Ardour and Hydrogen. The fix is simple --> restart/reload ALSA.
sudo /sbin/alsa force-reload
Subscribe to:
Posts (Atom)