DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 5th May 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default HOWTO: Lightest XFCE - Making XFCE lighter and faster

XFCE is generally light out from the box but it can be a lot more light, to have most of its functionality we need only these 3 processes running:
Code:
 VSZ   RSS   COMMAND
14080  9300  xfwm4
23448 12020  xfce4-panel
19836  9512  xfce4-menu-plugin
mandatory ports: [thanks to lvlamb ]
/usr/ports/x11-wm/xfce4-wm
/usr/ports/x11-wm/xfce4-panel
/usr/ports/x11-wm/xfce4-desktop
# to get xfce4-menu-plugin
/usr/ports/x11-fm/thunar # to have nice and light file manager
/usr/ports/graphics/feh # to have wallpaper and nice ultra light/fast image viewer.

to start XFCE with only these processes we will use this ~/.xinitrc:
Code:
xfce4-panel & pid=$!
{
  xfwm4 --compositor=off --daemon && killall -9 xfce-mcs-manager &
  random_wallpaper.sh ~/gfx/wallpapers &
}
wait $pid
my random_wallpaper.sh script:
Code:
#! /bin/sh

walls="${1}"
count=`ls ${walls} | wc -l`
random=`( time ps aux ; date +"%S" ; w ) 2>&1 | cksum | awk '{print substr($0, 0, 5)}'`
choosen=`expr ${random} % ${count} + 1`
feh --bg-scale ${walls}/`ls ${walls} | sed -n ${choosen}p`
In XFCE generally all settings like current theme icon theme and so are handled by xfce-mcs-manager but we kill it and use pure old ~/.gtkrc-2.0 for that:
Code:
gtk-icon-theme-name = "Tango-Blue-Materia"
gtk-theme-name      = "Luminance"
gtk-font-name       = "Sans 10"
here are links for that themes if You like them:
gtk-icon-theme-name: http://vermaden.go.pl/tmp/xfce-icons.tar.gz
gtk-theme-name: http://vermaden.go.pl/tmp/xfce-theme.tar.gz

icons dir: ~/.icons/Tango-Blue-Materia
theme dir: ~/.themes/Luminance

to end work with XFCE You can traditionally hit CTRL + ALT + BACKSPACE or hit EXIT on XFCE panel.

the END RESULT looks like that:



Have Fun.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
 

Tags
xfce

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: XFCE MacOS-like menu plugin vermaden Guides 13 20th April 2009 06:40 AM
Xfce. Why didnt anyone tell me? neurosis FreeBSD Ports and Packages 4 21st October 2008 03:10 PM
xfce darken FreeBSD Ports and Packages 4 31st July 2008 05:28 PM
Autostart Xfce ninjatux FreeBSD General 8 16th June 2008 06:47 AM
Howto start the Xfce? aleunix OpenBSD Packages and Ports 5 3rd June 2008 10:58 AM


All times are GMT. The time now is 03:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick