LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 02-19-2007, 09:16 AM   #1
vermaden
Member
 
Registered: Jan 2006
Location: pl_PL.lodz
Distribution: FreeBSD
Posts: 406

Rep: Reputation: 89
HOWTO: Lightest XFCE


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:
/usr/ports/x11-wm/xfce4
/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.proplayer.pl/tmp/xfce-icons.tar.gz
gtk-theme-name: http://vermaden.proplayer.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:
http://vermaden.proplayer.pl/gfx/scr...xfce-light.png

Have Fun.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xfce: Howto popup autohided windows when on screen edge? andreas.jonsson Linux - Software 1 10-20-2005 02:50 PM
lightest distro for vmware N_A_J_M Linux - General 10 07-01-2005 04:29 PM
howto run KDE screensaver in xfce dnial Linux - General 2 05-04-2005 09:29 AM
lightest slackware desktop stickfun Slackware 6 04-10-2005 12:15 PM
Howto make VNC with XFCE? logo Linux - Newbie 3 03-29-2005 06:39 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration