Fix: Xfce 4.10 panel no longer expands

After upgrading to Xfce 4.10 from 4.8, I noticed that the clock/notification area no longer pushed to the right edge of the panel. This is due to a change in the Window Buttons panel plugin which no longer expands to fill the available space[1]. To emulate the old behavior, add a transparent separator between the window buttons and the clock/notification area, setting its expand property. Voilla! [1] https://wiki.archlinux.org/index.php/Xfce

August 24, 2012 · 1 min · 68 words · kenno

FreeNX: Disable Persistent Session

It’s a bit unintuitive to set non-persistent session on FreeNX server. After a few attempts, here is the working settings: Edit /usr/NX/etc/node.cfg: ENABLE_PERSISTENT_SESSION=""<br /> DISABLE_PERSISTENT_SESSION="all"

August 22, 2012 · 1 min · 25 words · kenno

KDE Desktop Shell Scripting Console

I keep forgetting how to run Desktop Shell Scripting Console. So here it is, something just to remind myself: Alt + F2 Type desktop console and hit the enter key Wanna learn more what this tool’s for? Head to KDE System Administration/PlasmaDesktopScripting.

August 16, 2012 · 1 min · 42 words · kenno

Vim backspace delete problem

In insert mode, backpace doesn’t delete characters as intended. To fix this issue, add this configuration to the .vimrc as the following: set backspace=indent,eol,start Reference: http://vim.wikia.com/wiki/Backspace_and_delete_problems

August 7, 2012 · 1 min · 26 words · kenno

FreeBSD: How to check version of installed packages

# pkg_version -v Running pkg_version -v could take a while. If we only want a quick look: # pkg_info -xI If we want to see if some packages are out of date: # pkg_version -v -X -s And to check all out of date packages: # pkg_version -vL "="

August 1, 2012 · 1 min · 49 words · kenno

Installing FreeBSD 9 source

Well, I need FreebSD 9 source to compile fusefs-kmod, which is required by gvfs, which’s in turn required by xfce. A lot of people recommend to use sysinstall to add the so called userland sources. sysinstall -> Configure -> Distribution -> src However, it didn’t work!! Thanks to wblock@[1] who pointed out that “sysinstall is mostly dead” and suggested a few ways to get the sources to your system. One of them is:...

July 29, 2012 · 1 min · 104 words · kenno

Change cursor theme in Xfce on Freebsd

Install the preferred cursor theme. I personally like dmz-cursor-theme. # pkg_add -r cursor-dmz-theme Then, Applications Menu -> Settings -> Mouse. Click on Theme tab, select the preferred theme and click Close. Log out of the current Xfce session, then log back in.

July 26, 2012 · 1 min · 42 words · kenno

KDE4 System-wide Force Font DPI Setting

Recently, while setting up a Kubuntu Linux terminal server using freenx, I’ve got an issue with the font display being too small. A quick check in Font settings (Applications -> Settings -> System Settings -> Fonts) showed that the “Force fonts DPI” was set to Disabled. To correct this per user, it’s as easy as to select the 96 DPI from the drop down menu, logout and log back in. However, if we want to apply this setting to all users, there’s a bit of more work....

July 22, 2012 · 1 min · 120 words · kenno

បញ្ចូល C/C++ plugin (or CDT) ក្នុង Eclipse

សំណាង​ល្អ អ៊ូប៊ុនធូ មាន​កញ្ចប់មួយ​ឈ្មោះ eclipse-cdt​ ។ យើង​អាច​បញ្ចូល​វា​ដោយ ខំម៉ានដូច​នេះ $ sudo apt-get install eclipse-cdt ពេល​បើក​ Eclipse លើកក្រោយ​ ហើយ​បង្កើត project ថ្មី យើងនឹងឃើញ​ស្រដៀងនេះ

July 20, 2012 · 1 min · 19 words · kenno

Fix: (K)ubuntu doesn&#8217;t play Audio CD

On Kubuntu 11.10, we have KsCD program installed to play audio CD. The problem I’m having is that some machines could play audio cd and some couldn’t. All machines run Kubuntu 11.10. To fix this issue, check that /dev/cdrom is a sym link to /dev/sr0 (credit [1]). In my case, machines which couldn’t play audio CD don’t have ‘/dev/cdrom’: # ls -l /dev/cd* ls: cannot access /dev/cd*: No such file or directory Let’s create one:...

July 11, 2012 · 1 min · 103 words · kenno