1)安装
# apt-get install fluxbox
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
将会安装下列额外的软件包:
libid3tag0 libimlib2 menu
建议安装的软件包:
fbdesk fbpager fluxconf
fbdesk:在Fluxbox桌面显示图标
fbpager:是扩展的工作区,支持透明,支持鼠标操作
fluxconf:图形设置工具
2)设置菜单
# update-menus
生成右键菜单/etc/X11/fluxbox/fluxbox-menu
和/var/lib/menu-xdg/xsessions/X-Debian-Window-Managers-fluxbox.desktop (删除)
[config] Fluxbox 的配置菜单
[stylesdir] Fluxbox 的样式目录
[workspaces] 工作区
[commanddialog] 命令执行对话框
[reconfig] 重载 Fluxbox 的配置
[restart] 重新启动 Fluxbox,此时会回到登录界面
[exit] 退出 Fluxbox
[separator] 分隔线
[begin] (Fluxbox)
[submenu] (程序) {}
[submenu] (文件管理) {}
[exec] (Konqueror) {/usr/bin/konqueror --profile filemanagement}
[end]
[submenu] (模拟终端) {}
[exec] (Konsole) {/usr/bin/konsole}
[exec] (XTerm) {xterm}
[exec] (XTerm (Unicode\)) {uxterm}
[end]
[submenu] (编辑器) {}
[exec] (KWrite) {/usr/bin/kwrite}
[exec] (Kate) {/usr/bin/kate}
[exec] (Klipper) {/usr/bin/klipper}
[exec] (Nano) { x-terminal-emulator -T "Nano" -e /bin/nano}
[end]
[submenu] (多媒体) {}
[exec] (Gmplayer) {kdesu /usr/bin/gmplayer}
[exec] (Kmplayer) {/usr/bin/kmplayer}
[exec] (KMix) {/usr/bin/kmix}
[end]
[submenu] (网络) {}
[exec] (Konqueror) {/usr/bin/konqueror --profile webbrowsing}
[exec] (KTorrent) {ktorrent}
[end]
[submenu] (系统) {}
[submenu] (管理) {}
[exec] (alsaconf) { x-terminal-emulator -T "alsaconf" -e su-to-root -p root -c /usr/sbin/alsaconf} <>
[exec] (Aptitude) { x-terminal-emulator -T "Aptitude" -e /usr/bin/aptitude} <>
[exec] (Debian Task selector) { x-terminal-emulator -T "Debian Task selector" -e su-to-root -c tasksel} <>
[exec] (DSL/PPPoE configuration tool) { x-terminal-emulator
-T "DSL/PPPoE configuration tool" -e /usr/sbin/pppoeconf} <>
[exec] (kAppfinder) {/usr/bin/kappfinder} <>
[exec] (KControl) {/usr/bin/kcontrol} <>
[exec] (KDebugDialog) {/usr/bin/kdebugdialog} <>
[exec] (kdepasswd) {/usr/bin/kdepasswd} <>
[exec] (KDEPrintFax) {/usr/bin/kdeprintfax} <>
[exec] (KEditBookmarks) {/usr/bin/keditbookmarks} <>
[exec] (KFind) {/usr/bin/kfind} <>
[exec] (Kicker) {/usr/bin/kicker} <>
[exec] (KInfoCenter) {/usr/bin/kinfocenter} <>
[exec] (KMenuEdit) {/usr/bin/kmenuedit} <>
[exec] (KPager) {/usr/bin/kpager} <>
[exec] (KPersonalizer) {/usr/bin/kpersonalizer} <>
[exec] (KPrinter) {/usr/bin/kprinter} <>
[end]
[submenu] (监控) {}
[exec] (Top) { x-terminal-emulator -T "Top" -e /usr/bin/top} <>
[exec] (Htop) { x-terminal-emulator -T "Htop" -e /usr/bin/htop} <>
[exec] (KDE System Guard) {/usr/bin/ksysguard} <>
[exec] (KDE System Guard - Process Table) {/usr/bin/kpm} <>
[end]
[end]
[end]
[commanddialog] (运行)
[separator]
[workspaces] (区域)
[submenu] (壁纸) {}
[wallpapers] (~/wallpaper)
[end]
[submenu] (风格) {}
[stylesdir] (/usr/share/fluxbox/styles)
[stylesdir] (~/.fluxbox/styles)
[end]
[config] (配置)
[submenu] (窗口) {}
[restart] (FluxBox) {/usr/bin/startfluxbox}
[end]
[submenu] (帮助) {}
[exec] (信息) { x-terminal-emulator -T "Info" -e info} <>
[exec] (KDE帮助中心) {/usr/bin/khelpcenter} <>
[exec] (小提示) {/usr/bin/ktip} <>
[end]
[separator]
[reconfig] (重载)
[restart] (重启)
[exit] (退出)
[end]
3)设置壁纸
fbsetbg ~/wallpaper.jpg
在~/.fluxbox/init 文件中加入
session.screen0.rootCommand: fbsetbg -l
4)设置主题
主题下载网址
5)设置自启动
编辑 ~/.fluxbox/apps加入
[startup] {程序文件命令}
阅读(1341) | 评论(0) | 转发(0) |