Tag Archives: xfce

Ubuntu 13.10 personal post-installation mini guide

Okey. It is the end of 2013. I have gave Unity a try for a day, but goodbye again Unity.

xubuntu is almost perfect, howerver, as usual, customization is always required.

And I confess, I have just copied and pasted almost everything from the old entry. So not much excited.

Please note, I have got myself a new laptop, so the procedure will be even simpler.

1.1) enable Canonical’s ‘partner’ repository:

sudo nano /etc/apt/sources.list

1.2) uncomment the following lines:

deb saucy partner
deb-src saucy partner

2) To get the latest WineHQ:

sudo add-apt-repository ppa:ubuntu-wine/ppa

3) Then, update data base:

sudo apt-get update

4) (Optional) To find out what you have installed:

dpkg --get-selections | sed 's:install$::' > InstalledPackages.txt

5) Then, remove what I do not want:

sudo apt-get purge abiword* catfish espeak* gmusicbrowser gnome-mines gnome-sudoku gnomine gnumeric* ibus-pinyin* nano parole pidgin* plymouth-theme* ristretto thunderbird* xchat*

6) Then, upgrade system:

sudo apt-get dist-upgrade

7) Then, install what I want:

sudo apt-get install audacious brasero chromium-browser easytag geeqie guvcview ibus-table-cangjie3 ibus-table-cantonhk ibus-table-quick3 ttf-mscorefonts-installer skype smplayer synaptic unrar vim virtualbox virtualbox-guest-additions-iso vlc winetricks

8) As of every new version of Ubuntu, there are some minor bugs in the system. This time again is the sound card volume control. If you find you have a gray out speaker in your Indicator Plugin, you may try this.

8.1) Edit the following file:

sudo vim /usr/share/dbus-1/services/indicator-sound.service

8.2) Comment out the last line and add a new line as follow:

[D-BUS Service]

8.3) Logout then Login again, and you should good to go.

Leave a comment

Posted by on November 5, 2013 in Linux, Ubuntu, xUbuntu


Tags: , , , , , , , , ,

XFCE with multiple sound cards

If you are using a laptop like me, you may have ran into a problem of the hotkey on your keyboard is not controlling the sound card that you are using when you have multiple sound cards.

It is because XFCE has chosen the HDMI output as my default sound card, so whatever I press, it is just changing the HDMI output but not my headphone/speaker output.

1a) Open “Volume Control” -> “Output device”
1b) Set “Built-in Audio Analogue Stereo” as fallback by clicking the green tick.
1c) Remember the sound card name that you want to set as default, it will be useful in the next step.

2a) Go to “Settings Manager” -> “Settings Editor” -> “xfce4-mixer”
2b) Now, recall the name of your sound card. eg. mine is “”Built-in Audio Analogue Sereo”
2c) Then add “Playback” in front, add “PulseAudioMixer” at the back, and remove all space and ‘-‘ in between, so the result will be PlaybackBuiltinAudioAnalogueStereoPulseAudioMixer
2d) Put this string and replace the original one in “active-card”
2e) Logout and login, then you are done.

Leave a comment

Posted by on March 18, 2013 in Linux, Ubuntu, xUbuntu


Tags: , , , , , , ,

XFCE desktop icon text

I love light weight desktop environment. Fluxbox was used to be top of my list when I only have desktop computers. Then I give up, to make it simple, it is because Fluxbox is not laptop and Chinese friendly. And I don’t want to spend too much time to find out how to get it fix.

So the next best in my list is XFCE at the moment. Firstly, light weight, although nothing close to Fluxbox. And most things are work out of the box.

The only slight annoying thing is: “Desktop icon text would not display in full”.
Default settings in XFCE only display the text in a single line and only the fist few characters.
To fix it first create/edit the file:

vim ~/.gtkrc-2.0

Then add the following lines:

style "xfdesktop-icon-view" {
   # 0 = show line in multiple lines
   # 1 = show line only in one line
   XfdesktopIconView::ellipsize-icon-labels = 0

   XfdesktopIconVIew::cell-spacing = 6
   XfdesktopIconView::cell-padding = 6

   # Ratio between icon and text area size,
   # In this example the text area is 5 time wider then the icon image
   XfdesktopIconView::cell-text-width-proportion = 5
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

I could not confirm, but I think all those value above have to be integer in order to work.
Of course you can try thing out.

And to load the new settings, you don’t have to log out and log in again, just run this command

killall xfdesktop
Leave a comment

Posted by on January 8, 2013 in Linux, Ubuntu, xUbuntu


Tags: , , , ,

WineHQ and file association

I need to read .pdb files. Which the MS Windows have better software to do so than Linux.

The software I am using is a portable one, which mean no installation required. Which turns out it is quite a problem for me. Since no installation, then no file association in any graphical file manager interface.

The solution is to create a mini shell script file to start the application from wine, before associate the .pdb file to the script

#one of the WineHQ script
LANG=zh_TW.UTF-8 wine "/your_path/your_program.exe" "Z:"$@

The most important bit is “Z:”$@. When you double click a file in a file manager, the file manager will pass the file address to your script as argument and replace $@.
Then your script will combine Z: with the file address to tell WineHQ the file is locate is locate in Z drive, which Z drive is the / (root directory). Otherwise WineHQ will try to open the file in C: drive, which is not there at all.

Next your just need to associate the .pdb to your script file, so when you double click all .pdb file, the script will open it correctly.

Leave a comment

Posted by on December 28, 2012 in Linux, Wine


Tags: , , , , , ,

%d bloggers like this: