Difference between pages "Xfce Guide" and "User:Matlinuxer2"

From Funtoo
(Difference between pages)
Jump to: navigation, search
 
(Created page with "{{Person |Full name=Mat |Email=matlinuxer2@gmail.com |Nick=Mat |Geoloc=-2.520212979842139, -44.23011848339229 |Location name=高雄 |Roles={{Role |Role type=User |Role desc=Ba...")
 
Line 1: Line 1:
== Xfce Guide ==
+
{{Person
So after you have successfully set up Funtoo you might want to add a new desktop environment to the mix. This means installing Xorg and, in this case, XFCE.  
+
|Full name=Mat
Set your <tt>VIDEO_CARD</tt> to what you have and your <tt>INPUT_DEVICES</tt> set as well in your <tt>make.conf</tt>.
+
|Email=matlinuxer2@gmail.com
First thing to do is makes sure that the "udev" is in your USE flags. We're going to set these in <tt>/etc/portage/package.use</tt>. After that we're going to install <tt>xorg-server</tt>. Just emerge it.
+
|Nick=Mat
<console>
+
|Geoloc=-2.520212979842139, -44.23011848339229
# ##i## echo "x11-base/xorg-sever udev" >> /etc/portage/package.use
+
|Location name=高雄
# ##i## emerge x11-base/xorg-server
+
|Roles={{Role
</console>
+
|Role type=User
After that's done X should work out of the box. You can run this command though to make sure it works. This will configure X for you, and set a new <tt>/etc/X11/xorg.conf</tt> for you. Need to copy it in though.
+
|Role desc=Bash, C/C++, Python, PHP
<console>
+
|Start date=2013/04/20
# ##i## X -configure
+
|End date=2013/04/20
# ##i## cp /root/xorg.conf.new /etc/X11/xorg.conf
+
}}
</console>
+
|Maintains=
Now, we will set our sights on installing XFCE.
+
|Blogs=
You're going to want to add some USE flags to your <tt>/etc/make.conf</tt>, I would reccomend <tt>USE="-gnome -kde -minimal -qt4 dbus jpeg lock session startup-notification thunar udev X"</tt>. Just add them to your <tt>make.conf</tt>. 
+
And now we are ready to install XFCE. In a recent change a dependency for <tt>Thunar</tt>, it wants to bring in <tt>sys-fs/udisks-1.99</tt> which is a dependency of <tt>sys-fs/udev-180</tt> which is not available. The fix is to emerge <tt>gnome-base/gvfs-1.10.*</tt> and mask anything above it and mask <tt>sys-fs/udisks-1.99</tt> in <tt>/etc/portage/package.mask</tt>. You also need to get a Terminal emulator as well, i.e <tt>x11-terms/terminal</tt>
+
<console>
+
# ##i## emerge xfce-base/xfce4-meta x11-terms/terminal
+
# ##i## env-update && source /etc/profile
+
</console>
+
There's a few ways to go about starting XFCE. You can either have it run with <tt>startx</tt> or install a display manager, or login manager, i.e LXDM, GDM, KDM, etc.
+
If you want it to run with <tt>startx</tt>
+
<console>
+
# ##i## echo "exec startxfce4" >> ~/.xinitrc
+
</console>
+
If you want XFCE to run at boot add xdm to rc-update. In which case you need a login manager.
+
<console>
+
# ##i## rc-update add xdm default
+
</console>
+
There's a few to go along with, but for a lightweight one either <tt>lxde-base/lxdm</tt> or <tt>x11-misc/slim</tt>
+
<console>
+
# ##i## emerge -av x11-misc/slim
+
</console>
+
Or for <tt>lxde-base/lxdm</tt>
+
<console>
+
# ##i## emerge lxde-base/lxdm
+
</console>
+
Whichever you choose to use you need to add it to <tt>/etc/conf.d/xdm</tt>:
+
<tt>DISPLAYMANAGER="slim"</tt>
+
<tt>DISPLAYMANAGER="lxdm"</tt>
+
For <tt>SLiM</tt> you need to add XFCE to <tt>/etc/env.d/90xsession</tt>
+
<console>
+
# ##i## echo XSESSION=\"Xfce4\" >> /etc/env.d/90xsession
+
# ##i## env-update && source /etc/profile
+
</console>
+
Either reboot or <tt>startx</tt>.
+
<br />There are a lot of plugins available for <tt>Thunar</tt> and XFCE. A simple <tt>emerge -s</tt> will do. Such as:
+
<br /><tt>*  xfce-extra/thunar-volman
+
<br />Description:  Daemon that enforces volume-related policies
+
<br />*  xfce-extra/thunar-vcs-plugin
+
<br />Description:  adds Subversion and GIT actions to the context menu of thunar
+
<br />*  xfce-extra/thunar-shares-plugin
+
<br />Description:  Thunar plugin to share files using Samba
+
<br />*  xfce-extra/thunar-archive-plugin
+
<br />Description:  Archive plug-in for the Thunar filemanager
+
<br />*  xfce-extra/xfce4-volumed
+
<br />Description:  Daemon to control volume up/down and mute keys
+
<br />*  xfce-extra/xfce4-screenshooter
+
<br />Description:  Xfce4 screenshooter application and panel plugin
+
<br />*  xfce-extra/xfce4-notifyd
+
<br />Description:  Notification daemon for the Xfce desktop environment
+
<br />*  xfce-extra/xfce4-mixer
+
<br />Description:  A volume control application (and panel plug-in) for the Xfce desktop environment
+
<br />*  xfce-extra/xfce4-mount-plugin
+
<br />Description:  An mount plug-in for the Xfce panel
+
<br />*  xfce-extra/xfce4-clipman-plugin
+
<br />Description:  A clipboard manager plug-in for the Xfce panel
+
<br />*  xfce-extra/xfce4-battery-plugin
+
<br />Description:  A battery monitor panel plugin for the Xfce desktop environment</tt>
+
<br /> Those are some plugins for XFCE and Thunar that I'd suggest.
+
  
[[Category:First Steps]]
+
}}

Revision as of 14:41, 25 November 2013


Contact

Location

Loading map...
高雄 (-2° 31' 12.7667", -44° 13' 48.4265")