วันพฤหัสบดี, พฤศจิกายน 15, 2555

Ubuntu: Solving conky did not display on gnome-shell 3.6

Conky, conky lua script that dowloaded from gnome-look did not display any graphics on gnome-shell.

To fix; we need to edit the Conky's config file a.k.a. .conkyrc file


Replace own_window_type override with following lines:

own_window_type normal
...
You might add this line if your script did not have it.
own_window_argb_visual yes
...

Finish? then
killall conky 

then execute conky again, now it should display the graphics


Reference: http://askubuntu.com/a/139867

Bonus, nice conky theme

วันศุกร์, พฤศจิกายน 02, 2555

Ubuntu, 12.10, gnome-shell; Move window buttons back to the left side

HOWTO move the window buttons in gnome-shell to the left side


    I love the Ubuntu button on the left side but after install&setup the 12.10, they move the buttons back to the right.

   So, I searching/googling I use gnome-shell and the gconf method didnot work anymore I know I have to user dconf editor.

There's many many more, but use same command and it did not work on my machine.

Just excute this command in a terminal
$gsettings set org.gnome.desktop.wm.preferences button-layout close,maximiez,minimize:

Or use dconf editor; Well, install the dconf editor.
$sudo apt-get install dconf-tools

Open it go to/navigate to org/gnome/desktop/wm/preferences, change the value of button-layout to :minimize,maximize,close

If you're like mine it will not work! buttons still there, on the right did not moved :(

Here's how
navigate to this instead: org/gnome/shell/overrides/ change the value of button-layout to :minimize,maximize,close 

button are now on the left side

Gotcha! I'm a happy man now :) Have a good day!

วันจันทร์, ตุลาคม 01, 2555

Ubuntu: change eth1 or eth* to eth0

Running Ubuntu in the VM machine. There's quite a lot of time when we change its MAC address. The Ubuntu will generate the new eth for new network device (new MAC).

 Anyway I already have attach 1 NIC to a VM and I want to change eth1 to eth0. Here's the HOWTO

Edit the content of the file /etc/udev/rules.d/70-persistent-net.rules

#sudo vi /etc/udev/rules.d/70-persistent-net.rules

I just comment the old line/the line that had "eth0"  then change eth1 to eth0 in another line. Save changed. We need to reboot the machine.

reference: http://www.caeus.com/articles/how-to-change-which-network-card-eth0-vs-eth1-etc-your-ubuntu-server-uses/