RSS

Tag Archives: xubuntu

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 http://archive.canonical.com/ubuntu saucy partner
deb-src http://archive.canonical.com/ubuntu 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]
Name=com.canonical.indicator.sound
#Exec=/usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
Exec=/usr/lib/indicator-sound-gtk2/indicator-sound-service

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

Advertisements
 
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.
screenshot-xfce_default_sound_card-01

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.
screenshot-xfce_default_sound_card-02

 
Leave a comment

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

 

Tags: , , , , , , ,

xubuntu 13.04 personal post-installation mini guide

I feel sorry for myself. I am not that old, but I just cannot get used to Unity3D. So the best thing I can do to stay with Ubuntu is to use xubuntu, the XFCE version of Ubuntu.

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

As you may notice, this guide is quite similar to my 12.10 guide, I think the best thing to end this series of mini guide will be a rolling release version of xubuntu.

1.1) enable Canonical’s ‘partner’ repository:

sudo nano /etc/apt/sources.list

1.2) uncomment the following lines:

deb http://archive.canonical.com/ubuntu quantal partner
deb-src http://archive.canonical.com/ubuntu quantal partner

2) For ATI users, you may want to use the latest driver:

sudo add-apt-repository ppa:xorg-edgers/ppa

3) To get the latest WineHQ:

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

4) Then, update data base:

sudo apt-get update

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

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

6) Then, remove what I do not want:

sudo apt-get purge abiword* catfish firefox-globalmenu firefox-gnome-support gigolo gmusicbrowser gnome-mines gnome-sudoku gnumeric* ibus-pinyin* nano parole pidgin* plymouth-theme* ristretto speech-dispatcher thunderbird* xchat* xfce4-mailwatch-plugin xfce4-notes* xfce4-quicklauncher-plugin xfce4-screenshooter xfce4-systemload-plugin xfce4-verve-plugin

7) Then, upgrade system:

sudo apt-get dist-upgrade

8) Then, install what I want:

sudo apt-get install audacious brasero chromium-browser easytag fglrx-amdcccle gqview guvcview ibus-table-cangjie5 ibus-table-cantonhk ibus-table-quick5 ttf-mscorefonts-installer skype smplayer synaptic unrar vim virtualbox virtualbox-guest-additions-iso vlc winetricks

9.1) To remove “AMD Testing use only” watermark, copy the following text to a new text file,

#!/bin/sh
DRIVER=/usr/lib/fglrx/xorg/modules/drivers/fglrx_drv.so
echo "Come on AMD!"
for token in $DRIVER; do
    echo "Removing AMD logo from "$token
    for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do
        sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER
    done
done
echo "Reboot computer to finish"

9.2) Then, run your saved file:

sudo bash filename
 
Leave a comment

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

 

Tags: , , , , , , ,

The most unsecure but easiest way to setup NFS

NFS (Network File System) allow user to share files between computers. The way I am going to setup is the simplest, but no security at all. You are warned!!!
The system I am using is Xubuntu 12.10, however, should be fine with older Ubuntu or other distributions.

<—– Server Side —–>

1) Server side : Install the required software:

sudo apt-get install nfs-kernel-server

2) Server side : Define which folder to share, e.g.: /home/my_share_folder

2.1) edit the follwing file:
sudo vim /etc/exports

2.2) Server side : add the following line:
/home/my_share_folder 192.168.1.0/24(rw,insecure,no_subtree_check,sync)

2.3) Server side : start the service:
sudo /etc/init.d/nfs-kernel-server restart

<—– Client Side —–>

1) Client side : Instal required softwre:

sudo apt-get install nfs-common

2) Client side : Check what the server is sharing:

showmount -e 192.168.1.1

3) Client side : Mount the remote folder

3.1) To mount folder by fstab:

3.1.1) Create mount point:
sudo mkdir /mnt/folder

3.1.2) Edit fstab:
sudo vim /etc/fstab

3.1.3.1) To mount automatically, add line:
server_IP:/home/my_share_folder /mnt/folder nfs auto,rw 0 0

3.1.3.2.1) To mount manually, add line:
server_IP:/home/my_share_folder /mnt/folder nfs noauto,user,rw 0 0
3.1.3.2.2) Then when you want to mount:
mount /mnt/folder
 
Leave a comment

Posted by on February 7, 2013 in Linux, Networking

 

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: , , , ,

xubuntu 12.10 post-installation mini guide

I feel sorry for myself. I am not that old, but I just cannot get used to Unity3D. So the best thing I can do to stay with Ubuntu is to use xubuntu, the XFCE version of Ubuntu.

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

1.1) enable Canonical’s ‘partner’ repository:

sudo nano /etc/apt/sources.list

1.2) uncomment the following lines:

deb http://archive.canonical.com/ubuntu quantal partner
deb-src http://archive.canonical.com/ubuntu quantal partner

2) Then, update data base:

sudo apt-get update

3) Then, remove what I do not want:

sudo apt-get purge abiword* catfish* firefox-globalmenu firefox-gnome-support nano pidgin* thunderbird* gigolo* gucharmap* gmusicbrowser* plymouth-theme-* ristretto* xchat* apport* brltty* gnome-games-data gnome-sudoku gnomine ibus-pinyin* onboard parole xfce4-notes* xfce-dict* xfce4-mailwatch*

4) Then, update system:

sudo apt-get dist-upgrade

5) Then, install what I want:

sudo apt-get install fglrx-updates vim virtualbox virtualbox-guest-additions-iso vlc smplayer gqview winetricks msttcorefonts ibus-table-cangjie5 ibus-table-cantonhk ibus-table-quick5 synaptic
 
Leave a comment

Posted by on December 21, 2012 in IBus, Linux, Ubuntu, Uncategorized, Wine, xUbuntu

 

Tags: , , , ,

 
%d bloggers like this: