大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE稳定放心使用
########################################
# ____________________________
# ( _________________________)
# ) (__ _ _ _ _
# ( __)( \/ )( \/\/ )/\/\
# ) ( \ / \ // \
# (___) \/ \/\/(_/\/\_) 2.5.10
#
# wenus fvwm2rc file
########################################
# 字体 Font “-adobe-helvetica-medium-r-normal–12-*-*-*-*-*-iso8859-1,-*-simsun-medium-r-normal-*-12-*-*-*-*-*-iso10646-1,*-r-*”
# Font “Shadow=1 1 SE:-adobe-helvetica-medium-r-normal–12-*-*-*-*-*-iso8859-1,-*-simsun-medium-r-normal-*-12-*-*-*-*-*-iso10646-1,*-r-*”
# Font “Shadow=1 se:xft:Bitstream Vera Sans:size=8”
# Font “Shadow=1 se:xft:Bitstream Vera Sans:weight=bold:size=8”
# Font “Shadow=1 se:xft:Lucida Grande:size=10”
# Font “xft:Lucida Grande:size=9”
# Font “Shadow=1 b bl r br r :xft:Verdona:pixelsize=10:minspace=True”
# Font “xft:Verdona:bold:pixelsize=10:minspace=True”
# Font “StringEncoding=gbk-0:Shadow=0 0 SE:xft:simsun:size=14:encoding=iso10646-1”
#
###################################################
#===========================================
# 环境变量 分别是1. 主目录 2. 图标 3. 任务栏图标 4. 图片 5. 启动画面 6. 墙纸
#===========================================
SetEnv fvwm_home $[HOME]/.fvwm
SetEnv fvwm_icon $[fvwm_home]/icons/
SetEnv fvwm_title $[fvwm_home]/tigles/TitleBar/
SetEnv fvwm_img $[fvwm_home]/images/
SetEnv fvwm_splash $[fvwm_home]/splash
SetEnv fvwm_wallpapers $[fvwm_home]/wallpaper
#============================================
#系统初始化
#============================================
DestroyFunc InitFunction
AddtoFunc InitFunction
+ I Module FvwmBanner
#============================================
# 系统起始模块
#============================================
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Module FvwmPager
+ I Module FvwmButtons -g +0+0 FvwmSystem
+ I Module FvwmButtons -g 600×40-0-0 FvwmDock
+ I Exec exec xpmroot /tmp/freebsd.png
#==============================================
# 基本设置
#==============================================
###### 这个功能是控制window最大化时留出的空位,不然就会覆盖整个page, usage: 左 右 上 下#################
EwmhBaseStruts 0 0 22 0
IgnoreModifiers L25
SnapAttraction 5
EdgeScroll 0 0
EdgeResistance 1000 20
EdgeThickness 1
ClickTime 150
MoveThreshold 3
OpaqueMoveSize unlimited
HideGeometryWindow Always
BugOpts FlickeringMoveWorkaround Off
SnapGrid 1 1
#### Change style to left_ptr and fleur (missing cursors in my cursors theme)
CursorStyle root left_ptr
CursorStyle default left_ptr
CursorStyle position left_ptr
CursorStyle sys left_ptr
CursorStyle menu left_ptr
CursorStyle title left_ptr
CursorStyle resize fleur
CursorStyle select draped_box
CursorStyle stroke hand2
#======================================
# 全局的样式
#======================================
#Style * Font “-adobe-helvetica-bold-r-normal–12-*-*-*-*-*-iso8859-1,-*-simsun-medium-r-normal-*-12-*-*-*-*-*-iso10646-1,*-r-*”, BorderWidth 2, HandleWidth 2
Style * Font “StringEncoding=gbk-0:Shadow=0 0 SE:xft:simsun:size=14:encoding=iso10646-1”
Style FvwmPager NoTitle, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style FvwmPager StaysOnBottom, NoHandles, BorderWidth 1
Style Panel !Closable, BorderWidth 0, HandleWidth 0, NoHandles
Style FvwmGuliDock NoTitle, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style FvwmGuliDock StaysOnBottom, Handles, !Borders
Style * SmartPlacement, WindowShadeSteps 0, ResizeOpaque
Style * DecorateTransient, WindowShadeLazy
Style * IconBox 15 100 1 -1, MouseFocusClickRaises
Style * NoIcon, NoIconTitle
Style simpleClock Sticky, NoTitle, Handlewidth 0, Borderwidth 0, WindowListSkip, StaysOnBottom, FixedPosition, FixedSize
Style Exit NoTitle, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style Exit BorderWidth 1
########################################
### 激活鼠标
#######################################
#################################################################
#
# +———————————————————-+
# | . ? _ # X |
# +———————————————————-+
# | 1 6 4 2 |
# | |
##################################################################
# @0 Shadow (sh) 阴影, 影子, 影像, 遮蔽, 使朦胧
# @1 Hilight (hi)
# @2 Background (bg) 背景
# @3 Foreground (fg) 前景
# @4 Invisible (just move the pointer, dont draw anything)看不见的, 无形的
DestroyDecor DefaultTigle
AddToDecor DefaultTigle
+ TitleStyle Height 23
+ TitleStyle NoTitle
+ AddButtonStyle 1 Active TiledPixmap $[fvwm_title]/button-menu-pressed.png — Flat
+ AddButtonStyle 1 Inactive TiledPixmap $[fvwm_title]/button-menu-focused.png — Flat
+ AddButtonStyle 1 AllUp TiledPixmap $[fvwm_title]/button-menu-prelight.png — Flat
+ AddButtonStyle 3 Active TiledPixmap $[fvwm_title]/button.png — Flat
+ AddButtonStyle 3 Inactive TiledPixmap $[fvwm_title]/button.png — Flat
+ AddButtonStyle 3 AllUp TiledPixmap $[fvwm_title]/button.png — Flat
+ AddButtonStyle 5 Active TiledPixmap $[fvwm_title]/button.png — Flat
+ AddButtonStyle 5 Inactive TiledPixmap $[fvwm_title]/button.png — Flat
+ AddButtonStyle 5 AllUp TiledPixmap $[fvwm_title]/button.png — Flat
+ AddButtonStyle 2 Active TiledPixmap $[fvwm_title]/button-close-pressed.png — Flat
+ AddButtonStyle 2 Inactive TiledPixmap $[fvwm_title]/button-close-focused.png — Flat
+ AddButtonStyle 2 AllUp TiledPixmap $[fvwm_title]/button-close-prelight.png — Flat
+ AddButtonStyle 4 Active TiledPixmap $[fvwm_title]/button-maximize-pressed.png — Flat
+ AddButtonStyle 4 Inactive TiledPixmap $[fvwm_title]/button-maximize-focused.png — Flat
+ AddButtonStyle 4 AllUp TiledPixmap $[fvwm_title]/button-maximize-prelight.png — Flat
+ AddButtonStyle 6 Active TiledPixmap $[fvwm_title]/button-minimize-pressed.png — Flat
+ AddButtonStyle 6 Inactive TiledPixmap $[fvwm_title]/button-minimize-focused.png — Flat
+ AddButtonStyle 6 AllUp TiledPixmap $[fvwm_title]/button-minimize-prelight.png — Flat
+ ButtonStyle 1 – MwmDecorMenu
+ ButtonStyle 2 – Clear
+ ButtonStyle 6 – MwmDecorMin
+ ButtonStyle 4 – MwmDecorMax
+ BorderStyle Active Solid black — NoInset HiddenHandles
+ BorderStyle Inactive Solid black — NoInset HiddenHandles
Style * UseDecor DefaultTigle
##############################################################################
# Mouse bindings 鼠标绑定 (双键机械)
##############################################################################
# Root window. Middle-click on the root window is better than ALT+TAB.
Mouse 1 R A
Mouse 3 R A Menu MenuFvwmRoot Nop NoCurrentDeskTitle
# Titlebar buttons.
Mouse 0 2 A Close
Mouse 0 6 A Iconify
Mouse 0 4 A Maximize
Mouse 0 1 A Stick
#### Window, Frame, Side, Others
Mouse 3 W CS Thumbnail
Mouse 1 FS A ResizeFunc
Mouse 1 W M MoveFunc
Mouse 3 W M ResizeFunc
Mouse 3 TSIF A RaiseLower
Mouse 3 T A Menu MenuFvwmWindowOps
###################################################################
### 键盘绑定
###################################################################
#### ALT+F4 关闭
Key F1 A M Exec exec gnome-terminal
Key F4 A M Pick Close
Key Tab A M WindowList Root c c NoDeskSort
#### Pager Bindings
Key Right A CM GoToPage +1p 0p
Key Left A CM GoToPage -1p 0p
Key Up A CM GoToPage 0p -1p
Key Down A CM GoToPage 0p +1p
# The titlebar itself, and window border etc.
Mouse 1 FS A Raise
Mouse 3 FST A Menu MenuFvwmWindowOps Nop
Mouse 3 IT A Menu MenuFvwmWindowOps Nop
Mouse 2 W C Resize-or-Raise
Mouse 2 W M Move-or-Raise
Mouse 1 T A Move-or-Shade
###############################################
### 菜单样式
##############
#MenuStyle * MenuFace TiledPixmap /tmp/backup.png
MenuStyle * Hilight3DThin, PopupOffset 0 100, PopupDelay 300
#MenuStyle * Font “Shadow=1 1 SE:-adobe-helvetica-medium-r-normal–12-*-*-*-*-*-iso8859-1,-*-simsun-medium-r-normal-*-12-*-*-*-*-*-iso10646-1,*-r-*”
#####上面一行是让菜单的字体有阴影,下面一行则没有 ######################
#MenuStyle * Font “-adobe-helvetica-medium-r-normal–12-*-*-*-*-*-iso8859-1,-*-simsun-medium-r-normal-*-12-*-*-*-*-*-iso10646-1,*-r-*”
MenuStyle * Font “StringEncoding=gbk-0:Shadow=0 0 SE:xft:simsun:size=14:encoding=iso10646-1”
MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1
MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsLong, TrianglesSolid, Animation
MenuStyle * ItemFormat “%.2|%.5i%.5l%.5i%2.3>%2|”
#Colorset 13 fg #274374, bg white, IconAlpha 40
#Colorset 14 fg #5281D2, bg white, IconAlpha 100
#############################################
### 菜单
###########################################
DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot
+ “WENUS” Title wenus
+ “控制台” Popup MenuConsole
+ “用户主目录” Exec exec nautilus –no-desktop
+ “文件浏览器” Exec exec nautilus –no-desktop –browser
+ “” Nop
+ “办公”%$[fvwm_icon]/vmware.png% Popup MenuOffice
+ “网络”%$[fvwm_icon]/SoftwareUpdate.png% Popup MenuInternet
+ “多媒体”%$[fvwm_icon]/mplayer.png% Popup MenuMultimedia
+ “图象”%$[fvwm_icon]/sysedm.png% Popup MenuGraphic
+ “开发”%$[fvwm_icon]/Cyberduck.png% Popup MenuDevelopment
+ “游戏” Popup MenuGames
+ “” Nop
+ “刷新” Exec exec
+ “快照”%$[fvwm_icon]/Camera.png% Exec exec gnome-screenshot
+ “锁定屏幕” Exec exec xscreensaver-command -lock
+ “” Nop
+ “Kill”%$[fvwm_icon]/xkill.png% Exec exec Kill
+ “注销” Restart
+ “退出”%$[fvwm_icon]/iSyn.png% Exit
DestroyMenu MenuConsole
AddToMenu MenuConsole
+ “控制台” Title Console
+ “Xterm”%$[fvwm_icon]/CoreTypes.png% Exec exec xterm
+ “Gnome-Terminal”%$[fvwm_icon]/Monitor.png% Exec exec gnome-terminal
DestroyMenu MenuOffice
AddToMenu MenuOffice
+ “办公” Title Office
+ “书签” Exec exec shuqian
+ “gedit”%$[fvwm_icon]/gulls.png% Exec exec gedit
+ “abiword”%$[fvwm_icon]/impress.png% Exec exec abiword
+ “计算器”%$[fvwm_icon]/openoffice.png% Exec exec xcalc
+ “Word”%$[fvwm_icon]/writer.png% Exec exec oowriter
+ “Excel” Exec exec oocalc
+ “永中” Exec exec yongzhong
+ “Acrobat” Exec exec acrobat
DestroyMenu MenuInternet
AddToMenu MenuInternet
+ “浏览器”%$[fvwm_icon]/SoftwareUpdate.png% Title Internet
+ “Mozilla”%$[fvwm_icon]/browser.png% Exec exec mozilla
+ “FireFox”%$[fvwm_icon]/opera.png% Exec exec firefox
+ “Evolution” Exec exec evoltion
+ “Opera” Exec exec opera
+ “聊天” Title
+ “Gaim” Exec exec gaim
+ “lunqq” Exec exec lunqq
DestroyMenu MenuMultimedia
AddToMenu MenuMultimedia
+ “Mp3播放” Title Multimedia
+ “beep-media-player” Exec exec beep-media-player
+ “xmms” Exec exec xmms
+ “视频” Title real
+ “gmplayer” Exec exec gmplayer
+ “realplayer” Exec exec realplayer
+ “Sound Recorder” Exec exec gnome-sound-recorder
+ “Volume Control” Exec exec gnome-volume-control
+ “Sound Effect” Exec exec gnome-sound-properties
DestroyMenu MenuGraphic
AddToMenu MenuGraphic
+ “图象” Title graphic
+ “鹰之眼” Exec exec eog
+ “Gimp” Exec exec gimp
DestroyMenu MenuDevelopment
AddToMenu MenuDevelopment
+ “开发” title development
+ “Eclipse” Exec exec eclipse
DestroyMenu MenuGames
AddToMenu MenuGames
+ “游戏” Title Games
+ “Quake III” Exec exec quake
+ “RTCW” Exec exec rtcw
+ “RTCW-ET” Exec exec et
+ “Lines” Exec exec glines
#################################
### 退出样式以及函数
########################
Style Exit NoTitle, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style Exit BorderWidth 1, HandleWidth 1
Style Exit2 NoTitle, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style Exit2 BorderWidth 1, HandleWidth 1
Style Exit TiledPixmap /tmp/backup.png
Style Exit2 fbsetbg /tmp/backup.png
DestroyFunc Exit
AddToFunc Exit
+ I DestroyModuleConfig Exit: *
#+ I *Exit: Font “Shadow=1 b bl r br r :xft:Verdona:pixelsize=10:minspace=True”
+ I *Exit: Font “StringEncoding=gbk-0:Shadow=0 0 SE:xft:simsun:size=14:encoding=iso10646-1”
#+ I *Exit: ButtonFont “xft:Verdona:bold:pixelsize=10:minspace=True”
+ I *Exit: ButtonFont “StringEncoding=gbk-0:Shadow=0 0 SE:xft:simsun:size=14:encoding=iso10646-1”
+ I *Exit: Colorset 36
+ I *Exit: ItemColorset 34
+ I *Exit: Line center
+ I *Exit: Text “你是否想退出 FVWM ?”
+ I *Exit: Line center
+ I *Exit: Line center
+ I *Exit: Button quit ” 退出 ” ^M
+ I *Exit: Command Exit2
+ I *Exit: Button quit ” 按错了 ” ^[
+ I *Exit: Command Nop
+ I *Exit: Line center
+ I Module FvwmForm Exit
DestroyFunc Exit2
AddToFunc Exit2
+ I DestroyModuleConfig Exit2: *
#+ I *Exit2: Font “Shadow=1 b bl r br r :xft:Verdona:pixelsize=10:minspace=True”
+ I *Exit2: Font “StringEncoding=gbk-0:Shadow=0 0 SE:xft:simsun:size=14:encoding=iso10646-1”
#+ I *Exit2: ButtonFont “-*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*”
+ I *Exit2: ButtonFont “StringEncoding=gbk-0:Shadow=0 0 SE:xft:simsun:size=14:encoding=iso10646-1”
+ I *Exit2: Colorset 36
+ I *Exit2: ItemColorset 34
+ I *Exit2: Line center
+ I *Exit2: Text “确定退出 ?”
+ I *Exit2: Line center
+ I *Exit2: Line center
+ I *Exit2: Button quit ” 关机 ” ^N
+ I *Exit2: Command exec halt -p
+ I *Exit2: Command Quit
+ I *Exit2: Button quit ” 重启 ” ^O
+ I *Exit2: Command exec sudo reboot
+ I *Exit2: Command Quit
+ I *Exit2: Button quit ” 仅仅退出 FVWM ” ^O
+ I *Exit2: Command Quit
+ I *Exit2: Line center
+ I Module FvwmForm Exit2
##################################################
# WindowOps, Main window controls menu.
#################
DestroyMenu FvwmMoveMethods
AddToMenu FvwmMoveMethods
+ “移到最上” Pick AnimatedMove keep 0p
+ “移到最左” Pick AnimatedMove 0p keep
+ “移到最右” Pick PipeRead “echo AnimatedMove `expr $[vp.width] – $[w.width]`p keep”
+ “移到最下” Pick PipeRead “echo AnimatedMove keep `expr $[vp.height] – $[w.height]`p”
+ “移到中央” Pick PipeRead “echo AnimatedMove `expr \\( $[vp.width] – $[w.width] \\) / 2`p \
`expr \\( $[vp.height] – $[w.height] \\) / 2`p”
+ “” Nop
+ “移动到” Popup MenuPageList
+ “” Nop
+ “手工移动” Pick Move
# XXX: I can probably automate making this menu.
DestroyMenu MenuPageList
AddToMenu MenuPageList
+ “page 1” Pick MoveToPage 0 0
+ “page 2” Pick MoveToPage 1 0
+ “page 3” Pick MoveToPage 2 0
+ “page 4” Pick MoveToPage 3 0
###################################################################
### 起动图片
###################################################################
*FvwmBanner: NoDecor
*FvwmBanner: Pixmap /tmp/splash.png
*FvwmBanner: Timeout 2
###################################################################
### Pager
###################################################################
DestroyModuleConfig FvwmPager: *
*FvwmPager: Geometry 200×35-0-1
*FvwmPager: MiniIcons
*FvwmPager: Colorset * 60
*FvwmPager: HilightColorset * 61
*FvwmPager: WindowColorsets 63 62
*FvwmPager: BalloonColorset * 63
*FvwmPager: Font none
*FvwmPager: SmallFont none
*FvwmPager: Balloons All
*FvwmPager: BalloonFont “Shadow=1 1 SE:-adobe-helvetica-medium-r-normal–12-*-*-*-*-*-iso8859-1,-*-simsun-medium-r-normal-*-12-*-*-*-*-*-iso10646-1,*-r-*”
*FvwmPager: BalloonYOffset +2
*FvwmPager: BalloonBorderWidth 1
*FvwmPager: UseSkipList
*FvwmPager: MoveThreshold 0
*FvwmPager: SolidSeparators
*FvwmPager: WindowBorderWidth 1
#### Pager Colorset
Colorset 59 fg #ffffff, bg #ffffff, RootTransparent
Colorset 60 fg white, bg #ffffff, RootTransparent, Tint #6699cc 50
Colorset 61 fg white, bg #ffffff, Noshape, RootTransparent, Tint #ffffff 50
Colorset 62 fg white, bg #ffffff, RootTransparent, Tint #101F36 90
Colorset 63 fg white, bg #ffffff, Noshape, RootTransparent, Tint #101F36 60
# 下面部分是设置FvwmSystem的,也就是你看到的桌面上最上面的一条像菜单样子的东东
Style FvwmSystem NoTitle, StaysOnBottom, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style FvwmSystem HandleWidth 1, NeverFocus, Layer 1
Colorset 10 fg black, bg #c6c3c6, RootTransparent, Tint #efebef 50
DestroyModuleConfig FvwmSystem: *
#*FvwmSystem: Font “StringEncoding=gbk-0:Shadow=0 0 SE:xft:simsun:size=14:encoding=iso10646-1”
*FvwmSystem: Font “StringEncoding=gbk-0:Shadow=0 0 SE:xft:simsun:size=14:encoding=iso10646-1”
*FvwmSystem: Colorset 10
*FvwmSystem: Frame 0
*FvwmSystem: Padding 2 2
*FvwmSystem: Rows 1
*FvwmSystem: (Title (Side) “虚拟终端”, Left, Back #dedbde, Icon term.png, \
Action (Mouse 1) `Exec exec xterm +sb -bg black -fg gray -fw -*-simsun-medium-r-normal-*-*-115-*-*-*-*-iso10646-1`)
*FvwmSystem: (Title (Side) “文件管理”, Left, Back #dedbde, Icon file.png,Action (Mouse 1) `Exec exec xffm`)
*FvwmSystem: (Title (Side) “编辑文件”, Left, Back #dedbde, Icon gvim.png,Action (Mouse 1) `Exec exec gedit`)
*FvwmSystem: (Title (Side) “浏览网页”, Left, Back #dedbde, Icon opera.png,Action (Mouse 1) `Exec exec mozilla`)
*FvwmSystem: (Title (Side) “播放音乐”, Left, Back #dedbde, Icon xmms.png,Action (Mouse 1) `Exec exec xmms`)
*FvwmSystem: (Title (Side) “处理图像”, Left, Back #dedbde, Icon gimp.png,Action (Mouse 1) `Exec exec gimp-2.0`)
*FvwmSystem: (Title (Side) “运行程序”, Left, Back #dedbde, Icon run.png,Action (Mouse 1) `Exec exec grun`)
*FvwmSystem: (Title (Side) “锁住屏幕”, Left, Back #dedbde, Icon lock.png,Action (Mouse 1) `Exec exec xscreensaver-command –lock`)
*FvwmSystem: (Title (Side) “重新启动”, Left, Back #dedbde, Icon reload.png,Action (Mouse 1) `Restart`)
*FvwmSystem: (Title (Side) “退出登录”, Left, Back #dedbde, Icon exit.png,Action (Mouse 1) `Quit`)
#####
# FvwmSystem
###########
Style “DockButtons” !Title, !Handles, Sticky, WindowListSkip, \
CirculateSkip, BorderWidth 0, HandleWidth 0
Colorset 15 RootTransparent, fg rgb:00/00/00, bg average, \
Tint white 40, bgTint white 40, RootTransparent, \
Shape dock-mask.xpm
Colorset 16 RootTransparent, fg rgb:00/00/00, bg average, \
Tint white 40, bgTint white 40, RootTransparent
DestroyModuleConfig DockButtons: *
*DockButtons: Geometry 600×80
*DockButtons: Colorset 15
*DcokButtons: Rows 2
*DockButtons: Columns 30
*DockButtons: (1×2, Frame 0)
*DockButtons: (4×2, Frame 0, Icon 64×64/terminal.png, \
Action(Mouse 1) “FvwmATerm”, Action(Mouse 3) “FvwmXTerm”)
*DockButtons: (4×2, Frame 0, Icon 64×64/firefox.png, \
Action(Mouse 1) “FvwmFireFox”)
*DockButtons: (4×2, Frame 0, Icon 64×64/xmms.png, \
Action(Mouse 1) “FvwmXmms”)
*DockButtons: (4×2, Frame 0, Icon 64×64/gimp.png, \
Action(Mouse 1) “FvwmGimp”)
*DockButtons: (4×2, Frame 0, Icon 64×64/editor.png, \
Action(Mouse 1) “FvwmGVim”)
转载于:https://www.cnblogs.com/wenus/archive/2005/10/03/248259.html
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/186435.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...