Saturday, December 21, 2013

Wednesday, December 11, 2013

Touchpad Tidak Berfungsi Selepas Upgrade 12.04LTS

Saya mengalami masalah untuk menggunakan touchpad selepas proses kemaskini pakej dalam Ubuntu 12.04 LTS saya

Berikut adalah arahan yang saya guna sebagai "root"

# modprobe -r psmouse
# modprobe psmouse proto=imps


Dan ianya berfungsi seperti sediakala.


Friday, November 15, 2013

Modifying an erroneous visudo file and cannot get into sudo

I recently modified the visudo file and turns out I can't get into visudo mode at all. Worst is that in Ubuntu 12.04 we can't use "su" command or log in as "root"

Here is the tips, from here

Use pkexec command,

Just type "pkexec visudo"

And modify or restore back to the original settings.


Thursday, November 14, 2013

Disable auto mount from USB device

I have a problem with my Galaxy Nexus before and now my LG Nexus 4 - they keep pop up the nautilus if I insert the plug to the cable (I prefer charging my phone to the laptop).

So here is the solution, which finally I found from here


Go to your terminal, type dconf-editor. The find "org.gnome.desktop.media-handling.automount-open"

And choose your preferred choice, mine is like this:






As I prefer the phone being automounted, I just feel annoyed with the nautilus pop up, hence I untick "automount-open" but choose "automount" and "autorun-never" instead.

I feel the autorun function is so Windowish.. and wondering why it ever exists. Not that it is bad.. but for me it is less preferred.

Wednesday, March 27, 2013

Changing Maximize, Minimize and Close Button from Left to Right in Unity

I am currently back to Ubuntu 12.04 due to stability issue with 12.10

But the problem is with the buttons. So here goes


gconftool-2 --set "/apps/metacity/general/button_layout" --type string ":minimize,maximize,close"



This will set these buttons to right pane of your windows :)

simplified from here


Friday, March 15, 2013

Customizing Workspace Navigation Shortcuts Using Gsettings

I got a problem in my Ubuntu 12.04 LTS, since the configuration that I saved using the gnome-setting interface did not worked (as if it was never saved).

So I decided to google around and found this tips which I already customized to my enviroment:

gsettings set org.gnome.desktop.wm.keybindings     switch-to-workspace-1 "[\"Q\"]"
gsettings set org.gnome.desktop.wm.keybindings     switch-to-workspace-2 "[\"W\"]"
gsettings set org.gnome.desktop.wm.keybindings     switch-to-workspace-3 "[\"E\"]"
gsettings set org.gnome.desktop.wm.keybindings     switch-to-workspace-4 "[\"R\"]"


Here, I used Alt with for workspace 1-4


Thursday, January 3, 2013

Ubuntu Phone

Mark Shuttleworth recently presented the release of Ubuntu phone. Hope to see this in Malaysia soon!

source