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’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

svc: failed to register lockdv1 RPC service (errno 97).

It started with… when I tried to start nfs-kernel-server, it just failed. # /etc/init.d/nfs-kernel-server start Exporting directories for NFS kernel daemon.... Starting NFS kernel daemon: nfsd svcgssd failed! syslogs: Nov 11 23:32:04 nasbox kernel: [ 8106.165582] nfsd: last server has exited, flushing export cache Nov 11 23:32:05 nasbox kernel: [ 8107.240419] svc: failed to register lockdv1 RPC service (errno 97). Nov 11 23:32:05 nasbox kernel: [ 8107.245528] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Nov 11 23:32:05 nasbox kernel: [ 8107.245566] NFSD: starting 90-second grace period Nov 11 23:32:05 nasbox rpc.svcgssd[26744]: ERROR: GSS-API: error in gss_acquire_cred(): Unspecified GSS failure. Minor code may provide more information - Key table entry not found Nov 11 23:32:05 nasbox rpc.svcgssd[26744]: unable to obtain root (machine) credentials Nov 11 23:32:05 nasbox rpc.svcgssd[26744]: do you have a keytab entry for nfs/@ in /etc/krb5.keytab? If you have DNS server running, make sure you remove the following lines from /etc/hosts: ...

November 11, 2011 · 2 min · 222 words · kenno