Install using Xfce4 under Ubuntu

Source: Internet
Author: User
Tags locale
Installation:
Code:
sudo apt-get install Xfce4 xfce4-taskbar-plugin


(Xfce4-taskbar-plugin is what I need, you can not, complete installation Xfce4 desktop environment:
sudo apt-get install xfld-desktop)

Now Direct
sudo apt-get install Xubuntu-desktop
It's OK.

The following components are installed:
Reference:

A2ps (1:4.13b-4.2ubuntu0.1)
Emacsen-common (1.4.15)
GTK2-ENGINES-XFCE (2.3.0cvs20050306-2)
Libdbh1.0-1 (1.0.22-1)
libgtkhtml2-0 (2.6.3-1)
Libxfce4mcs-client-2 (4.2.1-1)
Libxfce4mcs-manager-2 (4.2.1-1)
LIBXFCE4UTIL-1 (4.2.1-1)
Libxfcegui4-3 (4.2.1-1)
Mousepad (0.2.0-1UBUNTU1)
Rox-filer (1:2.2.0-xfld.2)
Xfcalendar (4.2.1-1UBUNTU1)
Xfce4 (4.2.1.1-2UBUNTU2)
Xfce4-appfinder (4.2.1-1UBUNTU1)
Xfce4-cpugraph-plugin (0.2.2.XFLD-3UBUNTU1)
Xfce4-icon-theme (4.2.1-1)
Xfce4-iconbox (4.2.1-1UBUNTU1)
Xfce4-mcs-manager (4.2.1-1UBUNTU1)
Xfce4-mcs-plugins (4.2.1-1UBUNTU2)
Xfce4-mixer (1:4.2.1-2UBUNTU1)
Xfce4-mixer-lib-alsa (1:4.2.1-2UBUNTU1)
Xfce4-panel (4.2.1.1-1UBUNTU1)
Xfce4-session (4.2.1-2UBUNTU1)
Xfce4-systray (4.2.1-1)
Xfce4-taskbar-plugin (0.2.2-3UBUNTU1)
Xfce4-toys (4.2.1-1UBUNTU1)
Xfce4-trigger-launcher (4.2.1-1UBUNTU1)
Xfce4-utils (4.2.1-1)
XFDESKTOP4 (4.3.6.4-1UBUNTU2)
XFFM4 (1:4.2.1-1)
Xfprint4 (4.2.1-1UBUNTU2)
XFWM4 (4.2.1-1UBUNTU1)
Xfwm4-themes (4.2.1-1)



*2005/8/1 Note: Today in ArchLinux discussion area to see a streamlined XFCE4, I refer to, I believe that in Ubuntu can also work, although fast, but certainly less than the default many features. Now tidy up as follows:
Reference:

XFCE4 has dozens of packages, most of which are optional.
XFDESKTOP4 (4.3.6.4-1UBUNTU2)
XFWM4 (4.2.1-1UBUNTU1)
Xfce4-panel (4.2.1.1-1UBUNTU1)
Xfce4-session (4.2.1-2UBUNTU1)
Xfce4-mcs-manager (4.2.1-1UBUNTU1)
These 5 packs are the core, are the Desktop Manager Window Manager button Panel session Manager and the SETTINGS manager. They also rely on 3 Lib-beginning packages, which are installed automatically during installation. This is a total of 8 packages, which is the minimum requirements for XFCE4 normal operation.
Add Exec/opt/xfce4/bin/xfce4-session in the ~/.XINITRC, then StartX, the desktop is out ~ ~

But this desktop is also missing an important dongdong, task bar, that is taskbar, disappeared ~ ~ ~
The taskbar is a call XFTASKBAR4 program, included in Xfce-utils this bag, but this bag inside the Dongdong can be many, useful also is a xftaskbar4 just, do not need to install the entire package, we can go to http://www.xfce.org Download the xfce-utils. Such as:
Http://www.us.xfce.org/archive/xfce-4.2.2/src/xfce-utils-4.2.2.tar.gz

First,/configure--prefix, then go into a directory called Xftaskbar, go in alone make & make install, all OK.
(In fact, you can also directly install the Xfce4-taskbar-plugin (0.2.2-3UBUNTU1) package, the taskbar display on the panel. Add by Yongyi)

After streamlining the XFCE4 only 10来 m, and a large part is locale file to occupy, locale file does not affect the speed of operation, so I kept it ~ ~ ~ now XFCE4, haha, look or so pl, but the speed of running straight after blackbox~~~ oh yes!


Restart, there will be a XFCE session in the GDM session. Selection, landing.

The login system is faster than GNOME and KDE, but certainly not icewm fast [Emot]laugh[/emot]. The interface defaults to make people feel very comfortable. In the Settings Manager "user interface" and "window Manager" Choose your favorite fonts can be formally used ROM.

XFCE4 with Fstab Manager and menu Editer, it's very convenient.

Tips for using:

First, how to add desktop shortcuts in Xfce.
Law I:
1. In the/etc/xdg/xfce4-session/xfce4-session.rc on the xfdesktop comment off, changed to Rox as follows
PHP Code:
Code:
#Client3_Command =xfdesktop
Client3_command=rox,-p, $USER


2. Desktop icon just open Rox, the corresponding program commands to the desktop can be, such as the/usr/bin/mozilla-firefox drag to the desktop on the line
Desktop background, menu only in the ROX option
Icon graphics on the icon to press the right button will appear the options

Law II:
The way to use desktop shortcuts and xfce4 desktop menus without installing rox-session
1. Install Deskmenu

Apt-get Install Deskmenu

2. Modify/etc/xfce4/default.session

2.1 Xfdesktop & Delete in/etc/xfce4/default.session files

2.2 The last line of the/etc/xfce4/default.session file plus

Rox-p Default &

Deskmenu--button=3--file=/etc/deskmenurc.debian &

3. Restart the session to select "Rox-filer"-"Options"-"Compatibility"-"Pass all backdrop mouse clicks to Windwos Manager".

4. You can use desktop shortcuts and xfce4 desktop menus. However, the Chinese menu appears to be abnormal and can be modified to English.
The/etc/deskmenurc.debian file is saved in UTF-8 encoding and the Chinese menu can be displayed normally.

Law III: You can also use the Idesk,nautilus and other management desktop to achieve desktop icons.

Second, how to let SCIM automatic start AH.

Law I:
Modify ~/.CONFIG/XFCE4/XINITRC:

#增加下面一行
scim&

xftaskbar4&
xfdesktop&
Xfcalendar &

Law II:
test-d ~/desktop/autostart | | Mkdir-p ~/desktop/autostart

Cat > ~/desktop/autostart/fcitx-autostart.sh <<eof
#!/bin/sh
FCITX &
Eof

chmod +x ~/desktop/autostart/fcitx-autostart.sh

Third, how to hide the Xfce of the taskbar.

Law I:
Modify ~/.CONFIG/XFCE4/XINITRC:

Comment out the xftaskbar4&:
scim&
#xftaskbar4 &
xfdesktop&
Xfcalendar &

Law II:
Locate the ~/.cache/sessions/xfce4-session-ubuntu:0 file and delete the rows containing XFTASKBAR4 (there are 3). After you restart X, you can.

Law III:
Directly Xkil off the top task bar, add the taskbar to the main panel;
Quit Xfce4, remember to select Save session

Law four:
My method is ... Modify/ETC/XDG/XFCE4/XINITRC
Comment out XFTASKBAR4


Four, Xfce set keyboard shortcuts:

Set the--> window manager--> keyboard--> Add.
After the new additions, you will find that you have just added the name under ~/.theme.

Five, Rox in the second open the Chinese name of the HTML file will prompt the path error (garbled).

The reason is that local does not match the filename encoding, such as locale with UTF-8, but the filename is GBK encoded
To convert the file name encoding to UTF8 on the line:
It seems to be using the Iconv command. I haven't tried it yet, because I'm going to use Nautilus, but Rox is really fast.

Six, Trash or Recycle Bin how to change out. You want to see it in XFFM? But in the Rox deleted Dongdong, in XFFM Trash can not find.
Also found in the XFFM delete things, in its own garbage can not find, the form of a fake.
Others say it is #kdesktop or #naulitus, but why I do not. It seems to be using Nautilus or KONQUEROR as FM.

Vii. how to reduce or increase workspace.
Find the ~/.config/xfce4/mcs_settings/workspaces.xml,xml file is very clear, make a corresponding reduction or increase the changes on the line.

Eight, Xfce4 in the use of the add initiator to run synaptic
Gnome-sudo synaptic:
-->

Nine, how to not appear gnome desktop running Nautilus.
Code:
Nautilus--no-desktop--browser


X. Installation of XFCE icons (etiquette) and xfwm4 themes (similar to other theme installation methods)
Download Etiquette Icons
http://gnome-look.org/content/show.php?content=19853
Download etiquette to Xfce forum. XFCE icons and Opus3-icomax themes

Decompression Etiquette & Etiquette XFCE into: $prefix $/share/icons
The default is:/usr/share/icons, and note that the folder name is etiquette, not etiquette

Extract Opus3-icomax to/usr/share/themes

Xi. Related resources:
(1) XFCE official station:
http://www.xfce.org/
http://xfce-goodies.berlios.de/
(from the Xfce-goodies project page, you can download additional programs and artwork (picture images) related to the XFCE 4 desktop environment.) )

(2) Theme
http://www.xfce-look.org/

(3) Wiki
Http://wiki.ubuntu.org.cn/index.php/Xfce4doc/xfce4doc_index

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.