fvwm:还是觉得你最好
2008-07-12的老日志
用了gnome和xfce,还是有些厌了,摆弄了两天fvwm,发现虽然配置起来有点麻烦,但用起来还是它最贴心,而且占资源极少,系统使用过程中内存一直只用了五六十兆。
我的鼠标左键坏了,但是通过配置fvwm,只用鼠标右键也可以完成大多数工作了。
下面是我的截图和配置文件:

################
# jiqing's fvwm2rc
# 2008-07-08
########################### ###########
# Set environmnet variables
#############################
SetEnv fvwm_wallpapers $[FVWM_USERDIR]/wallpapers
SetEnv fvwm_images $[FVWM_USERDIR]/images
ImagePath $[fvwm_images] ##########
# DeskTop
##############################
DesktopName 0 Debian Linux
DeskTopSize 2x2
EdgeScroll 0 0 # Meta+F1 Page0(左上角)
Key F1 A M GotoPage 0 0
# Meta+F2 Page1(右上角)
Key F2 A M GotoPage 1 0
# Meta+F3 Page2(左下角)
Key F3 A M GotoPage 0 1
# Meta+F4 Page3(右下角)
Key F4 A M GotoPage 1 1 #############
# window behaviour
#################################
# Style * FocusFollowsMouse
# 鼠标经过时获得焦点,鼠标单击焦点窗体时窗体升至最前面。
Style * SloppyFocus, MouseFocusClickRaises
# 窗体出现时尽量不挡住其它的窗体
Style * TileCascadePlacement ##########
# window colorsets
###########################
Colorset 3 fg #101060, bg #e6e7d7
Colorset 4 fg Black, bg #a6a797
Colorset 5 fg White, bg Black #####
# Window Decor
###########
#DestroyDecor MyDecor
#AddToDecor MyDecor
#+ TitleStyle LeftJustified Height 18
#+ ButtonStyle 1 ActiveUp Vector 4 -- Flat
#+ ButtonStyle 1 ActiveDown Vector 4 -- Flat
#+ ButtonStyle 1 Inactive Vector 4 -- Flat
#+ ButtonStyle 3 ActiveUp Vector 5 -- Flat
#+ ButtonStyle 3 ActiveDown Vector 5 -- Flat
#+ ButtonStyle 3 Inactive Vector 5 -- Flat
#+ ButtonStyle 5 ActiveUp Vector 7 -- Flat
#+ ButtonStyle 5 ActiveDown Vector 7 -- Flat
#+ ButtonStyle 5 Inactive Vector 7 -- Flat
#+ TitleStyle -- Flat
#+ BorderStyle Simple -- NoInset Flat
#+ ButtonStyle All -- UseTitleStyle ############
# window looks
##########################
#Style * UseDecor MyDecor
#Style * MWMBorder, FirmBorder
Style * Colorset 4
Style * HilightColorset 3
Style * BorderColorset 5
Style * HilightBorderColorset 4
Style * Font "xft:Bitstream Vera Sans:size=10:style=Bold:antialias=True"
Style * Button 6, Button 4, Button 2 ###############
# 窗体上的按扭,复制自高德纳的配置文件
#########################################
Mouse 0 2 A Close
ButtonStyle 2 Vector 7 \ ButtonStyle 2 - MWMDecorMenu # At the right, a button that iconifies the window; we draw a small square
Mouse 0 6 A Iconify
ButtonStyle 6 Vector 5
ButtonStyle 6 - MWMDecorMin # Next to that, a button with a big square; this one maximizes the window.
# (More precisely, if you double-click, the window goes to full screen size;
# if you single-click, it goes to full height but keeps its width.
# But if the window was already in "maximized" state, it goes back to normal.
# If you try to drag this button, it unconditionally goes to full width.)
# Mouse 0 4 A Maximize-Function
Mouse 3 4 A Maximize 100 100
Mouse 1 4 A Maximize 0 100
ButtonStyle 4 Vector 5
#AddtoFunc Maximize-Function "C" Maximize 100 100
#+ "D" Maximize 0 100
#+ "M" Function Go-Max
#AddtoFunc Go-Max "I" Current (Maximized) Maximize
#+ "I" Maximize 100 100
ButtonStyle 4 - MWMDecorMax # 在窗体标题栏单击提升窗体,拖动移动窗体
Mouse 3 T C FvwmMoveOrRaise DestroyFunc FvwmMoveOrRaise
AddToFunc FvwmMoveOrRaise "M" Move
+ "C" Raise # 在图标上单击移动图标,双击使图标恢复为窗体
Mouse 0 I A FvwmMoveOrIconify DestroyFunc FvwmMoveOrIconify
AddToFunc FvwmMoveOrIconify "M" Move
+ "D" Iconify # 在窗口标题栏上向上滚动鼠标,收起窗口
#Mouse 4 T A FvwmWindowShade True
# 在窗口标题栏上向下滚动鼠标,展开窗口
#Mouse 5 T A FvwmWindowShade False #########
# menu colorsets
################################
Colorset 7 fg Black, bg #e6e7d7, sh Black, hi #202070
Colorset 8 fg DarkRed, bg #e6e7d7, sh Black, hi #202070 ##########
# menu styles
#################################
MenuStyle * PopupDelayed, PopupDelay 300, PopdownImmediately
MenuStyle * Popupoffset -5 100, TitleWarpoff
MenuStyle * BorderWidth 2
#MenuStyle * PopupAsSubmenu, HoldSubmenus, SubmenusRight
MenuStyle * MenuColorset 7
MenuStyle * ActiveFore
MenuStyle * ActiveColorset 8
MenuStyle * Font "xft:Bitstream Vera Sans:size=12:style=Bold:antialias=True" ###############
# 菜单
###################################
DestroyMenu FvwmRootMenu
AddToMenu FvwmRootMenu "Root Menu" Title
+ "uxterm%xterm.png%" Exec exec /usr/bin/uxterm
+ "uxterm(Big)%xterm.png%" \
Exec exec /usr/bin/uxterm -fs 18 -geometry 60x40
+ "Gnome Terminal%term.png%"\
Exec exec /usr/bin/gnome-terminal --geometry 76x22
+ "" Nop
+ "Debian%debian.png%" Popup "/Debian"
+ "" Nop
+ "Restart FVWM" Restart
+ "Quit FVWM" Quit ###########
# Pager and Buttons colorset
###############################
Colorset 10 fg OrangeRed, bg GreenYellow
Colorset 11 fg DarkRed, bg LightGoldenrodYellow #############
# FvwmPager
######################
Style "FvwmPager" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, \
CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable DestroyModuleConfig FvwmPager: *
*FvwmPager: Geometry 96x96-0-0
*FvwmPager: Colorset * 11
*FvwmPager: HilightColorset * 10 ###########
# FvwmButtons
###############################
Style "FvwmButtons" NoTitle, NoHandles, BorderWidth 0, Sticky,\
WindowListSkip,CirculateSkip, StaysOnBottom, FixedPosition, \
FixedSize, !Iconifiable DestroyModuleConfig MyButtons: *
*MyButtons: Geometry 96x528-0+0
*MyButtons: Back LightGoldenrodYellow
*MyButtons: Rows 11
*MyButtons: Columns 2
#*MyButtons: Frame 0
*MyButtons: (2x2, Swallow(UseOld,Respawn) \
XClock "Exec exec xclock -geometry 96x96+0+0 -bg LightGoldenrodYellow")
*MyButtons: (2x2, Swallow(UseOld,Respawn) \
XLoad "Exec xload -nolabel -geometry 96x96+0+0 -bg LightGoldenrodYellow -fg red")
*MyButtons: (1x1, Icon vim.xpm, \
Action "Exec exec /usr/bin/gvim -geometry 72x40")
*MyButtons: (1x1, Icon emacs.png,\
Action "Exec exec /usr/bin/emacs -geometry 72x40")
*MyButtons: (1x1, Icon fm.png, Action "Exec exec /usr/bin/thunar")
*MyButtons: (1x1, Icon browser.png,Action "Exec exec /usr/bin/epiphany")
*MyButtons: (1x1, Icon music.xpm, Action "Exec exec /usr/bin/rhythmbox")
*MyButtons: (1x1, Icon movie.xpm, Action "Exec exec /usr/bin/gmplayer")
*MyButtons: (1x1, Icon dict.xpm, Action "Exec exec /usr/bin/stardict")
*MyButtons: (1x1, Icon help.png,Action "Exec exec /usr/bin/kdissert")
# 要注意virtual box的大小写
*MyButtons: (1x1, Icon vbox.png, Action "Exec exec /usr/bin/VirtualBox")
*MyButtons: (1x1, Icon game.xpm, Action "Exec exec /usr/games/gnibbles")
*MyButtons: (2x2, Swallow "FvwmPager", "FvwmPager 0 0") ##############
# Functions
#############################
DestroyFunc StartFunction
AddToFunc StartFunction
+ "I" Module FvwmButtons MyButtons
#+ "I" Wait MyButtons DestroyFunc InitFunction
AddToFunc InitFunction
+ I Exec exec fvwm-root -r $[fvwm_wallpapers]/wallpaper-grass.png
#+ I Nop DestroyFunc RestartFunction
AddToFunc RestartFunction
+ I Nop DestroyFunc ExitFunction
AddToFunc ExitFunction
+ I KillModule FvwmButtons ################
# Mouse and key
##########################
# Nop表示鼠标双击时不做任何动作
Mouse 3 R A Menu FvwmRootMenu Nop
Mouse 1 R A WindowList # 有F12按下时,显示内建菜单
Key F12 A A Menu MenuFvwmRoot
# 有F9按下时,显示自定义的根菜单
# Key F9 A N Menu FvwmRootMenu Nop 不知道这个为什么不行
Key F9 A A Menu FvwmRootMenu Nop
# 按下alt+tab时,显示窗口列表,并使选中的窗口获得焦点
#Key Tab A M WindowList Root c c NoDeskSort,SelectOnRelease Meta_L
# 可以用Key Tab A M -取消这一键绑定
Key Tab A M WindowList Root c c NoDeskSort
# 按下右边的窗口键时,启动一个uxterm
Key Super_R A A Exec exec uxterm
# 按下printscreen时,截图
Key Print A A Exec exec gnome-screenshot
fvwm:还是觉得你最好的更多相关文章
- 在Debian上用FVWM做自己的桌面
用FVWM做自己的桌面 Table of Contents 1. 前言 2. 学习步骤 3. 准备 3.1. 软件包 3.2. 字体 3.3. 图片 3.4. 参考资料 4. 环境 5. 布局 6. ...
- FVWM使用指南
www.ctex.org/documents/shredder/fvwm_frame.html
- Linux学习
Linux 命令英文全称su:Swith user 切换用户,切换到root用户cat: Concatenate 串联uname: Unix name 系统名称df: Disk free 空余硬盘du ...
- linux yum命令详解
yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及SUSE中的Shell前端软件包管理器.基於RPM包管理,能够从指定的服务器自动下载RP ...
- 如何理解 卷积 和pooling
转自:http://blog.csdn.net/malefactor/article/details/51078135 CNN是目前自然语言处理中和RNN并驾齐驱的两种最常见的深度学习模型.图1展示了 ...
- .NET中异常处理的最佳实践(译)
本文翻译自CodeProject上的一篇文章,原文地址. 目录 介绍 做最坏的打算 提前检查 不要信任外部数据 可信任的设备:摄像头.鼠标以及键盘 “写操作”同样可能失效 安全编程 不要抛出“new ...
- ubuntu入门
Ubuntu的发音 Ubuntu,源于非洲祖鲁人和科萨人的语言,发作 oo-boon-too 的音.了解发音是有意义的,您不是第一个为此困惑的人,当然,也不会是最后一个:) 大多数的美国人读 ubun ...
- (转)完全用GNU/Linux工作 by 王珢
完全用GNU/Linux工作 王珢 (看完这篇博文,非常喜欢王珢的这篇博客,也我坚定了学gnu/linux的决心,并努力去按照国外的计算机思维模式去学习编程提高自己.看完这篇文章令我热血沸腾 ...
- just555 对话
网易 新闻 2005-03-31 16:37:47 空!(19194697)555,你在大连炒单,单日最大盈利率多少? 2005-03-31 16:37:59 just555(79610908)最大1 ...
随机推荐
- 【最简单】不用ps也可以批量转换图片格式
不废话直接开始~ 1.新建文件夹,把需要转换的图片放进去,如图: 2.文件夹里建一txt文本,重点来了!txt文本的内容,如果是jpg转为png,则输入“ren *.jpg *.png”,同理png转 ...
- js中常见算法
一.面试80%都要问的数组去重 数组去重的方式有多种,其实面试中主要是想靠对对象的理解.还记得我第一次去面试的时候,去重的时候用了2个for循环. //1循环一次 var arr1 = [1,2,3, ...
- MySql的多存储引擎架构, 默认的引擎InnoDB与 MYISAM的区别(滴滴)
1.存储引擎是什么? MySQL中的数据用各种不同的技术存储在文件(或者内存)中.这些技术中的每一种技术都使用不同的存储机制.索引技巧.锁定水平并且最终提供广泛的不同的功能和能力.通过选择不同的技术, ...
- P3216 [HNOI2011]数学作业
题目描述 小 C 数学成绩优异,于是老师给小 C 留了一道非常难的数学作业题: 给定正整数 N 和 M ,要求计算Concatenate (1 .. N) Mod M 的值,其中 Concatenat ...
- Golang基础(二)
1. 条件语句 if ... else if ... else... package main import "fmt" func main() { { fmt.Printf(&q ...
- Udp广播的发送与接收(C#+UdpClient) 上篇
简介: Udp广播消息用在局域网的消息传递很方便.本文使用UdpClient类在WPF下实现Udp广播收发 发送: void MainWindow_Loaded(object sender, Rout ...
- Alpha 冲刺 —— 十分之八
队名 火箭少男100 组长博客 林燊大哥 作业博客 Alpha 冲鸭鸭鸭鸭鸭鸭鸭鸭! 成员冲刺阶段情况 林燊(组长) 过去两天完成了哪些任务 协调各成员之间的工作 多次测试软件运行 学习OPENMP ...
- wazhu之agent manage
代理生命周期 注册代理 一旦代理程序安装在要监控的计算机上,就必须向Wazuh管理器注册才能建立通信.这可以通过命令行,Authd或RESTful API完成. 注册代理将保留在管理器中,直到用户 ...
- linux内核设计与实现一书阅读整理 之第十八章
CHAPTER 18 调试 18.1 准备开始 需要的是准备是: - 一个bug - 一个藏匿bug的内核版本 - 相关内核代码的知识和运气 重点: 想要成功的进行调试,就取决于是否能让这些错误重现. ...
- go语言操作mongodb
Install the MongoDB Go Driver The MongoDB Go Driver is made up of several packages. If you are just ...