• gnome会自动读取 /media 的挂载情况

    在fstab里把分区挂在/mnt下就不会显示了

  • 编辑  gtkrc-2.0

    gtk-icon-sizes="gtk-menu=14,14:gtk-small-toolbar=16,16:gtk-large-toolbar=24,24:gtk-dnd=32,32"

    gtk-toolbar-icon-size=small-toolbar (小图标工具栏)
    #gtk-toolbar-style=icons (只用图标)
    gtk-toolbar-style=both-horiz (文字在图标右边)

    -------在gnome下---------

    gconf-->/desktop/gnome/interface/toolbar_icons_size   字符串=small-toolbar

  • gconf-editor
    键值
    /apps/nautilus/preferences/media_automount

     

     

  • gconf-editor

    system --> storage --> default_options --> vfat --> mount_options

    右键单击-编辑键-添加,加上utf8,即可

  • 需要一个 gksu 软件包

    pacman -S gksu     

    重启 gnome   。。。。OK 

  • 启动 gconf-editor : apps --> gnome-session --> options

    修改 splash_image 的值就ok了 (默认值是 splash/gnome-splash.png)

    默认的图片位置在 /usr/share/pixmaps/splash

  • 系统 --> 首选项 --> 菜单和工具栏
  • 2007-10-06

    xfce4 的菜单 - [桌面相关]

    他有3个菜单文件 位置分别为

    ~/.config/xfce4/desktop/menu.xml

    ~ /.cache/xfce4/desktop/ 下的2个带自己用户名的xml文件

    它们都可以用 xfce4 的菜单编辑器来编辑

     

    ps: xfce4 桌面默认颜色  #3B5B88    59 91 136 

  • 编辑: ~/.config/openbox/rc.xml

    加入

    <keybind key="Print">
        <action name="Execute"><execute>/usr/bin/scrot</execute></action>
    </keybind>
    <keybind key="A-Print">
        <action name="Execute"><execute>/usr/bin/scrot -sb</execute></action>
    </keybind>

     
    参考:
    http://gentoo-wiki.com/TIP_Make_a_Screenshot_with_PrintScreen_Key	 
  • 2007-10-01

    启动 aiglx - [桌面相关]

    在 serverLayout 段 加入 Option "AIGLX" "true"
     

    Section "ServerLayout"
        Identifier "Xorg Configured"
        Screen 0 "Screen0" 0 0
        InputDevice "Keyboard0" "CoreKeyboard"
        InputDevice "USB Mouse" "CorePointer"
        Option "AIGLX" "true"
    EndSection

     

    安装 beryl

    pacman -Sy beryl

    ok

  • 设置xwindow可以支持如xmanager这样的工具远程登陆linux。设置如下:

    #vi /etc/X11/xdm/xdm-config
    在最后一行: DisplayManager.requestPort: 0 前面加!号注释掉此行。

    #vi /etc/X11/xdm/Xservers
    在最后一行::0 local /usr/X11R6/bin/X 前面加#号注释掉这一行。

    #vi /etc/X11/xdm/Xaccess
    找到 #* #any host can get a login window
    把这一行前面的#号去掉,变成:
    * #any host can get a login window

    最后运行#xdm。这样使用xmanager等工具就可以连接Linux了!!!

    如果想要每次启动自动启动xdm,那么请在 /etc/rc.d/rc.local 文件尾部加入 /etc/X11R6/bin/xdm

    1.Use Gnome as its defaul XDM.
    2. Execute gdmconfig with x-windows starting
    3.Click the "expert", turn to "XDMCP" tab, make sure that "Enable XDMCP" checkbox was checked, save the changes.
    4. Excute "init 5" command.
    5. Exctue "netstat -an|grep 177", to verify that the 177 port was open.
  • 2007-09-25

    设置xdm - [桌面相关]

    你曾经想远程访问你的工作站的桌面环境吧?如何在一台服务器上面访问你的台式机?这正是我最近需要解决的问题。我负责安装并且管理一组Linux服务器。在经过好几次为了不同的原因(绑定服务,键盘代码,等等)我要到实验室访问图形终端之后,我发现真的需要寻找一个解决方案允许我通过我的工作站访问不同服务器上面的X桌面环境。

    有的人可能认为用来处理远程任务的标准X工具足以解决我的问题--就像这样:
    ----------------------------------
    telnet host1
    export DISPLAY=mywkstn:0
    gnome-session
    (或者是其他的任务管理器)
    ----------------------------------

    可是,我...
  • 找到 Section "Screen" 这一栏

    添加

    Option     "nologo"  "1"
     

  • 在/usr/share/doc/xfdesktop4/README里面有详细说明

    方便英文不利索的同学。。。我把步骤翻译一下
    修改或者创建 ~/.gtkrc-2.0 (“~”是你的主目录)

    然后把下面这些拷进去
    style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 0

    base[NORMAL] = "#00ff00"
    base[SELECTED] = "#5050ff"
    base[ACTIVE] = "#0000ff"

    fg[NORMAL] = "#000000"
    fg[SELECTED] = "#000000"
    fg[ACTIVE] = "#000000"
    }
    widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"


    重启就行了。
    第一行那个 “=0” 就是设置透明度,100不透明,0透明
    下面三行“base”, 分别是三种状态下的文字背景颜色,如果你设置透明了这三行没作用
    再下面三行“fg", 是三种状态下的文字颜色,这里我设的是000000黑色。你也可以改其他的


  • 解决程序关闭后  不能粘贴复制的内容的问题

    http://members.chello.nl/~h.lai/gnome-clipboard-daemon/

  • imFont 选项(F要大写)
    比如
    *imFont: -misc-simsun-medium-r-normal-0-0-0-0-p-0-iso10646-1

  • 这个攻略是for Archlinux的。

    首先安装这两个包:
    xcompmgr
    transset

    然后修改/etc/X11/xorg.conf,加入如下设置:
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection

    重启X服务器

    在控制台下输入:
    xcompmgr -c
    或者 xcompmgr -s (取决于你是希望服务器端绘制效果还是客户端绘制)

    然后输入:
    transset

    这是鼠标会变成一个十字,用它点你希望绘制效果的窗口,即可得到透明效果。
  • xfce-mcs-manager

     

     

  • 2007-06-26

    修改 pypanel - [桌面相关]

    点击最小化的窗口后  还原后不能自动聚焦。。。。

    找到  def toggleMinimize(self, task, traise=1):

        #----------------------------------------
        def toggleMinimize(self, task, traise=1):
        #----------------------------------------
            """ Iconify/Deiconify a task """
            self.sendEvent(task.obj, self._STATE, [2, self._HIDDEN])
            if self._HIDDEN in task.state:
                task.obj.map()
                task.obj.configure(stack_mode=X.Above)   #添加这么一行
            else:
                self.sendEvent(task.obj, self._CHANGE_STATE, [Xutil.IconicState])
            if traise:
                self.taskRaise(task, 0)

  • 2007-06-25

    OpenBox - [桌面相关]

    今天用了下 openbox 感觉还不错  嘿嘿

    pacman -S openbox obconf  obmenu

    obconf 是配置 openbox 皮肤用的  

    顺便下了个  gtk-chtheme

    pacman -S gtk-chtheme  

    它是配置 gtk2 的皮肤的 

    安装好openbox后  它会提示配置文件在  /etc/xdg/openbox 下

    我们把这个文件夹复制到  ~/.config/openbox 就可以修改当前用户的配置了 

    下一个 pypanel  

    pacman -S pypanel 

    (或者用 pacman -S fbpanel

    不过要注意下 因为好像是 python24 设计的原因??默认的配置在

    /usr/lib/python2.4/site-packages/pypanel 下,导致可能会启动不起来

    复制   pypanelrc 到 ~/.pypanelrc 即可

    (修改 openbox的 autostart.sh 使pypanel 自动启动) 

     修改.xinitrc 添加 exec openbox-session

    这里有一篇文章还不错 

    OpenBox 的简单配置及美化

    OpenBox老巢

     

    yeah! 

  • xfce的桌面  竟然不会自动刷新  我汗~~~

     我说怎么删除的东西 还在。。。。。

     解决方法:  启动 fam 服务

    /etc/rc.d/fam start

    修改/etc/rc.conf文件,把fam添加到DAEMONS里 

    重启xfce 就可以了