FVWM_fw一流是什么意思

FVWM_fw一流是什么意思国庆期间,把自己的FVWM好好整理了一下,现在我的桌面看上去是这个样子滴(点击可放大):我的.fvwm2rc可以下载。我的部分FVWM笔记:***   如何使用托盘      $sudoapt-getinstalltrayer      $trayer–widthtypepixel–width128–height32–edgebottom&***  

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE稳定放心使用

国庆期间,把自己的FVWM好好整理了一下,现在我的桌面看上去是这个样子滴(点击可放大):

Forrest's FVWM

我的.fvwm2rc可以下载
我的部分FVWM笔记:

***    如何使用托盘


        $ sudo apt-get install trayer


        $ trayer –widthtype pixel –width 128 –height 32 –edge bottom &


***    .fvwm2rc


****        Function


            DestroyFunc FuncName


            AddToFunc   FuncName


             + I (Action to happen immediately)


             + C (Action to happen on a mouse ‘click)


             + D (Action to happen on a mouse ‘double click’)


             + H (Action to happen on a mouse ‘hold’)


             + M (Action to happen on a mouse ‘motion’)




****        Geometry 57×500-5-5


                 宽度x高度 左上角坐标


****        键(鼠标)绑定(binding)


            键:Key   X Context Modifier Action


            鼠:Mouse X Context Modifier Action


            Context: where the mouse is currently located (as shown below)


                +———————————–+


                |                     +—+   +—+ |


                | R           R       | I |   | I | |


                |                     +—+   +—+ |


                |                                   |


                |       F      S       S      F     |


                |       +———————+     |


                |       |13579 T   T   T 08642|     |


                |       +———————+     |


                |       |                     |     |


                | R     |  W               W  |    R|


                |       |                     |     |


                |      S|                     |S    |


                |       |                     |     |


                |       |  W               W  |     |


                |       |                     |     |


                |       +———————+     |


                |       F      S       S      F     |


                |                 R                 |


                +———————————–+


                R – the root window


                I – Icon


                F – frame corners


                S – frame sides


                T – title bar


                W – application window and 0-9 – buttons


                Note: A will stand for anywhere (it doesn’t matter where the mouse is located)


            Modifier: 下列取值的组合:(A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing,


                  or 1-5, representing the X Modifiers mod1-mod5 (man xmodmap)


            e.g.:


                # Key   X       Context Modifier        Action


                Key     Tab     A       M               WindowList Root c c NoDeskSort, SelectOnRelease Meta_L


                Key     Super_L A       A               Exec exec xterm -fn -misc-fixed-medium-r-normal–18-120-100-100-c-90-iso10646-1


                #   for the root window:


                Mouse   1       R       A               Menu RootMenu Nop


                Mouse   2       R       A               Menu Window-Ops Nop


                Mouse   3       R       A               WindowList


                #   for the title bar buttons:


                Mouse   0       1       A               Menu Window-Ops2 Close


                Mouse   0       2       A               Close


                Mouse   0       3       A               Maximize-Func


                Mouse   0       4       A               Iconify


                #   for other parts of the window/borders/icons:


                Mouse   1       F       A               Resize-or-Raise


                Mouse   1       TS      A               Move-or-Raise


                Mouse   1       W       M               Move-or-Raise


                Mouse   1       I       A               Move-or-Iconify


                Mouse   2       I       A               Iconify


                Mouse   2       FST     A               Menu Window-Ops2 Nop


                Mouse   3       TSIF    A               RaiseLower




****        Window Decor


            TitleStyle


                TitleStyle LeftJustified Height 18


            ButtonStyle


                Vectors are just simple line drawings.


                Each vector is set up on a 100×100 grid and can have any number of points all connected by lines.


                The syntax is ‘Vector [number of points] [[point1] [point2] …]’.


                points: ‘XxY@Z’


                    Z: 0 – Shadow(sh)


                       1 – Hilight(hi)


                       2 – Background(bg)


                       3 – Foreground(fg)


                       4 – Invisible.


                e.g.


                    ButtonStyle 1 5 25×25@1 25×75@1 75×75@0 75×25@0 25×25@1


****        Module


            所有的Fvwm的模块,只有在函数中启动了它们,它们才能够工作


            在.fvwm2rc文件中,如果您需要用到FvwmButtons,或者其它的模块,必需要先启动它。具体如下:


                DestroyFunc StartFunction


                AddToFunc StartFunction


                + I Module FvwmButtons


                + I Module FvwmPager


                + I Module FvwmAuto 500 Raise Nop


                + I Module FvwmAnimate


                + I Module FvwmTaskBar


                + I Module FvwmWharf


                + I Exec exec xpmroot /root/pic/macblack.png


            I 表示:立即执行


            上面的配置中,分别在启动函数中,启动了FvwmButtons,FvwmPager,FvwmAnimate,FvwmTaskBar 和FvwmWharf等


            你有什么程序需要在fvwm启动的时候执行,你可以在其中加入一行:比如我想在fvwm启动的时候启动 gkrellm


                + I Exec exec gkrellm  就ok了:)


****        FvwmTaskBar


            如果把它设成没有边框(!Borders)的话,屏幕右边总是空着一块,甚是不爽,


            于是我想了个办法,就是把边框设成4,并让颜色跟FvwmTaskBar的颜色一致:


            Colorset 11 fg rgb:00/60/60, hi rgb:00/60/60, sh rgb:00/60/60, bg rgb:00/60/60


            Style “FvwmTaskBar” NoTitle, BorderWidth 4, HandleWidth 4, Sticky,/


                    StaysOnTop, WindowListSkip, CirculateSkip, BorderColorset 11, HilightBorderColorset 11


            *FvwmTaskBar: Back rgb:00/60/60


            这样TaskBar就能充满屏幕的左右两边了。


****        FvwmPager


            将窗口移动到别的工作区,可以在pager里面用中键拖动窗口,拖到别的desktop里面就好了。


****        FvwmButtons


            做一个抽屉的方法:


                *MyButtons: (1×1+0+6, Frame 0, Panel(left, indicator, delay 0, steps 1) QuickLaunchButtons “Module FvwmButtons QuickLaunchButtons”)


                DestroyModuleConfig QuickLaunchButtons: *


                *QuickLaunchButtons: Geometry 128×64


                *QuickLaunchButtons: …


                *QuickLaunchButtons: …


            包含其它组件的方法:


                *MyButtons: (1×4+0+11, Swallow(UseOld) asmon `Exec exec asmon`)


                *PagerPanel: (Swallow FvwmPager “Module FvwmPager 0 3”)


****        docks


            用 apt-cache search wm dock 可以查到很多 dock app,很酷。 :)


            favorites


                xclock



                asclock




                wmweather -m



                asmon



                cputnik


                   from http://www.dockapps.org/


                wmmoonclock



                wmnd




一些有用的链接:


FVWM Beginners Guide


Wangyin’s FVWM简明使用指南

dockapps.org

Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1325869

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/186114.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • Mybatis笔记(2)

    Mybatis笔记(2)

    2021年11月11日
    49
  • C51单片机–定时器实验

    C51单片机–定时器实验定时器文章目录定时器一、将交通灯实验中数码管倒计时1s改为定时器实现二、引入矩阵键盘,可以对路口红绿灯变换时间进行设置一、将交通灯实验中数码管倒计时1s改为定时器实现这个代码感觉逻辑上没问题,实际仿真出来倒计时的1s感觉要比实际的慢,可能是由于单片机执行语句时也需要耗费时间实验仿真图如下代码如下(示例):#include<reg51.h>#include<intrins.h>#defineuintunsignedint#defineucharun

    2022年7月16日
    16
  • 1.1 学习之初&1.2 约定&1.3 认识Linux

    1.1 学习之初&1.2 约定&1.3 认识Linux

    2021年6月9日
    91
  • 操作系统银行家算法C语言代码实现「建议收藏」

    操作系统银行家算法C语言代码实现「建议收藏」计算机操作系统课设需要,写了两个下午的银行家算法(陷在bug里出不来耽误了很多时间),参考计算机操作系统(汤子瀛)实现过程中不涉及难度较大的算法,仅根据银行家算法的思想和步骤进行实现。以下为详细步骤

    2022年7月4日
    25
  • matlab 调用dos命令和文件操作

    第一、利用!直接调用,简单方便,可以带操作对象:!delA.bat第二、调用system函数或者dos函数,既可以实现功能,又返回参数,能检查执行情况,方便后面程序的开发,推荐这个[status

    2021年12月24日
    45
  • js判断是否包含指定字符串_js判断字符串是否相等

    js判断是否包含指定字符串_js判断字符串是否相等js判断字符串是否包含某个字符串方法一:includes方法//str.includes(“”)返回一个布尔值,值为true时表示包含varstr=”helloworld”;if(str.includes(“world”)){alert(“Hi,world”);}方法二:indexOf方法varstr=”123456″;if(str.indexOf(“5”)!=-1){console.log(“字符串123456里包含了5”);

    2022年10月6日
    5

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号