Wednesday, October 19, 2016

5 分钟 Fluxbox 指南

5 分钟 Fluxbox 指南


?????? DE???????? WM??????Fluxbox ????? 5 ???~
?????????? 5 ? 10 ????????????????? Fluxbox ????????????????????????? GNOME????????????
??????
  • fluxbox?????
  • feh??????
  • xcompmgr???????????
  • lxappearance??? GTK?????????
  • nitrogen???????????
  • dmenu??????????????
  • xscreensaver?????
Fedora ???? pkcon install fluxbox feh xcompmgr lxappearance nitrogen xscreensaver dmenu
Debian/Ubuntu ???? apt-get install fluxbox feh xcompmgr lxappearance nitrogen xscreensaver dmenu
????
Fedora ?????????????????????? Python ?????
fluxbox-xdg-menu --with-icons --theme /usr/share/icons/Faenza-Dark --with-backgrounds --bg-path=~/Pictures
?????? Faenza-Dark ?????????? Pictures ??????????
Debian/Ubuntu ???????????????????????????? fluxbox-xdg-menu ????
?????
???????????????????????????
?????
?? ~/.fluxbox/menu ??? [begin] ?????????
????????
??? ~/.fluxbox/menu ?????? [include] (~/.fluxbox/fbfav) ?????????????
?????????????~/.fluxbox/fbfav??????????????
[exec] (Menu_name) {program} 
???[exec] (Firefox) {/usr/bin/firefox} </usr/share/icons/Faenza/apps/32/firefox.png>
????
?????[include] (~/.fluxbox/fbbg)??????????
?????????????~/.fluxbox/fbbg???? username ??????????
[submenu] (Backgrounds)
[exec] (username) {/usr/bin/nitrogen ~/Pictures}

[exec] (system) {/usr/bin/nitrogen /usr/share/backgrounds}
[end]
????
?? ~/.fluxbox/menu ??????????
[submenu] (Screen saver)
[exec] (Enable screensaver) {/usr/bin/xscreensaver}
[exec] (Disable screensaver) {/usr/bin/xscreensaver-command -exit}
[exec] (Lock screen) {/usr/bin/xscreensaver-command -lock}
[exec] (Configure screensaver) {/usr/bin/xscreensaver-command -prefs}
[end]
????
??? ~/.fluxbox/menu ????
[exec] (Switch User) {/usr/bin/gdmflexiserver -a}
?????
?????? Nautilus ???????? pcmanfm?
[exec] (Nautilus) {/usr/bin/nautilus --no-desktop}
????
?????? xcompmanager ????????????????????? /etc/X11/xorg.conf ??
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
???
Fluxbox ?? ~/.fluxbox/startup ??????????????? exec fluxbox ?????????????????????
/usr/bin/nitrogen --restore &
/usr/bin/xscreensaver &
/usr/bin/start-pulseaudio-x11 &
/usr/bin/xcompmgr -f -c -n -C -F &

# Network manager
nm-applet >/dev/null 2>/dev/null &

#Wicd
wicd-client -n
??
??????????Fluxbox ????????? Fluxbox ???????????????????????
[exec] (Log Out) {killall fluxbox && killall fluxbox}
Fluxbox ???
Fluxbox ??~/.fluxbox/keys ?????????????????
key stroke :Command
???Mod4 f :Exec /usr/bin/firefox
?? Mod4 ??????
????????????? Fluxbox ?????

Available link for download