|
Guides All Guides and HOWTO's. |
|
Thread Tools | Display Modes |
|
||||
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 /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 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` Code:
gtk-icon-theme-name = "Tango-Blue-Materia" gtk-theme-name = "Luminance" gtk-font-name = "Sans 10" 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 |
|
||||
Quote:
__________________
Never argue with an idiot. They will bring you down to their level and beat you with experience. |
|
||||
These links were dead loong before now, I just moved these HOWTOs to daemonforums.org but I fixed the link you pointed.
__________________
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 |
|
|||
thx alot! it will benefits the community
|
|
||||
killall -9 xfce-mcs-manager &
I needed to kill xfce-mcs-manager process because it was useless if you use ~/.gtkrc-2.0 fot GTK2 configuration, mabye now it does not load by default. random_wallpaper.sh ~/gfx/wallpapers & Just sets some random wallpaper as the script name says.
__________________
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 |
|
||||
I fail to see how your "light" Xfce-desktop is any different than xfce-panel running
along any window manager. You would get the same screen shoot with .xsession (I use XDM) which looks like Code:
feh --bg-scale /home/oko/mywallpaper.jpg & xfce4-panel & exec openbox Last edited by Oko; 9th July 2008 at 09:29 PM. |
|
|||
Quote:
Code:
pkg_add -r |
|
||||
@vato
I have just succesfully added these packages like that: # pkg_add -r xfce4-wm xfce4-panel xfce4-desktop What errors You got?
__________________
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 |
|
|||
by now got those 3 packages installed on system but can't start as u say:
where can i write/find this script? ==> Code:
xfce4-panel & pid=$! { xfwm4 --compositor=off --daemon } wait $pid Last edited by vato; 28th August 2010 at 02:03 AM. |
|
|||
Does that light XFCE have any GPL in it? I think it would be great if there was a decent GUI desktop with all BSD-compatible licenses.
|
|
||||
Wikipedia's page on XFCE4 says:
Quote:
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
that can not start cause dunno where/how to put this script(whatever is):
Code:
xfce4-panel & pid=$! { xfwm4 --compositor=off --daemon } wait $pid |
|
||||
Quote:
__________________
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 |
|
|||
do i have to put that on terminal? like root or user? do i need install xfce4?(in such case which is the bargain)
my way to start gnome: Code:
$ echo "/usr/local/bin/gnome-session" > ~/.xinitrc kde: Code:
$ echo "exec: /usr/localkde4/bin/startkde" > ~/.xinitrc xfce: Code:
$ echo "/usr/local/bin/startxfce4" > ~/.xinitrc then got this error: /home/my_user/.xinitrc: /usr/localbin/startxfce4: not found Last edited by vato; 30th August 2010 at 05:33 PM. |
|
|||
anyone with patience and a little time to spend...
|
|
||||
Quote:
# pkg_add -r xfce4
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
ok! but don't get still this part:
Code:
xfce4-panel & pid=$! { xfwm4 --compositor=off --daemon } wait $pid if i install xfce is cause i wanna a speed WM/DE...like vermaden show/start this post...in others words i wanna xfce only with that 3 process running... Last edited by vato; 30th August 2010 at 08:04 PM. |
|
|||
Quote:
Open terminal (or in console): Code:
ee /home/yourusername/.xinitrc hit esc and hit enter reboot and startx or simply Code:
pkill Xorg I would also install xfce4-goodies for all xfce4 goodies |
Tags |
xfce |
Thread Tools | |
Display Modes | |
|
|
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 |