黑魂3二周目戒指1里archtree指的是什么

arch装好了,但是桌面怎么配置?不要和我说wiki【linux吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:175,925贴子:
arch装好了,但是桌面怎么配置?不要和我说wiki收藏
我也知道wiki,我也想去看wiki,但是不知道怎么回事今天装完系统之后wiki就上不了了orz==要不就是速度特慢,换个语言都要10+min~~我想装xfce桌面==
我就是要和你说wiki
su -c 'pacman -S plasma-desktop'
本文是英文页面 Xfce 的翻译,最后翻译时间:,点击这里可以查看翻译后英文页面的改动。本页面或部分需要翻译,部分内容可能已经与英文文章脱节。如果您希望贡献翻译,请访问简体中文翻译组。附注: please use the first argument of the template to provide more detailed indications.
From Xfce - About:Xfce 是类 UNIX 操作系统上的轻量级桌面环境。虽然它致力于快速与低资源消耗,但仍然具有视觉吸引力且易于使用。Xfce 遵循 UNIX 的模块化和复用性哲学传统。它包含大量组件,有您期待的现代桌面环境所应具有的完整功能。它们分别打包,您可以从中挑选可用的软件包去创建理想的个人工作环境。Xfce 的另一个优点是遵循标准,特别是那些在 中定义的标准。Xfce 可以安装在若干 UNIX 平台上。已知可以在 Linux、NetBSD、FreeBSD、OpenBSD、Solaris、Cygwin、MacOS X 上和 x86、PPC、Sparc、Alpha... 上编译。Contents [hide] 什么是XFCE?类似于GNOME和KDE,XFCE是一个桌面环境。它包含一套应用程序,比如:根窗口程序、窗口管理器、文件管理器、面板,等等。XFCE用GTK2开发,同时,跟其它桌面环境一样,它也有自己的开发环境(库、守护进程等)。 不同于GNOME和KDE,XFCE是轻量级的,并且在设计上更接近CDE,而不是Windows或Mac。它的开发周期要长得多,但它非常稳定,速度极快。XFCE很适合在老一些的机器上使用。特性:相较于其他主流DE,它更轻量,占用更少的资源。几乎所有的设置都可以通过图形界面完成,xfce不会尝试向用户隐瞒任何东西。Xfwm允许用户使用混合特性,可以体验“真透明“以及GPU加速等。它可以工作在多个监视器上。Xfce4是个稳健、成熟的桌面套件。安装方法开始前,请确保已经安装配置了 X server。注意: Xfce 已经将所有的程序分组归类,可以选择性的安装。基本 Xfce 系统可以通过 安装 位于 官方软件源 的软件包组 xfce4 获得。Pacman 会询问要安装的包,如果全部安装,只需要按 Enter。额外的软件包例如面板插件等位于 xfce4-goodies 组。小贴士: 强烈建议安装 Gamin (FAM的继承者)。运行XFCE启动时自动运行有两种方法在启动时自动运行 Xfce (以及实际上任何桌面或窗口管理器):通过 显示管理器 运行 XfceRun Xfce automatically using the xorg-xinit method at Start X at Login combining with Automatic login to virtual console手动启动注意: 保留登录会话的相关信息请参阅xinitrc。你只需要运行:$ startxfce4从终端启动,例如使用xinit/startx 需要配置Xinitrc (简体中文)。如果还没有~/.xinitrc 文件,系统里有一份实例文件供参考:$ cp /etc/skel/.xinitrc ~/.xinitrc在最后添加:exec startxfce4例如:~/.xinitrc#!/bin/shif [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x &$f& ] && . &$f&
unset ffiexec startxfce4注意:如果你觉得奇怪,dbus-launch 会在文件开始被 xinitrc.d 代码引用。dbus-launch 会启动一个 dbus-daemon 线程来提供与 PolicyKit 的通信。正确启动 Xfce 的命令是 startxfce4: 不要直接启动 xfce4-session,因为它已经被 startxfce4 本身运行了。在XFCE中关机、重启和自动挂载参阅 General troubleshooting#Session permissions.如果使用 systemd,需要安装 systemd-sysvcompat 已正确重启和关闭系统。如果关机和重启没有问题,但是无法挂载外部磁盘,可能需要安装gvfs。提示和小技巧Xfconf 设置Xfconf 是 XFCE 系统中负责保存配置选项的组件。大部分 XFCE 都是通过 Xfconf 完成。修改这些设置有多种方式:最简单的方法是通过主菜单中的 &Settings&,但是&Settings&没有包含所有选项不太方便的方法是Main menu -& Settings -& Settings Editor,这里可以修改自定义选项,所有修改会立即生效。通过 xfce4-settings-editor 命令也可以启动设置编辑器。在命令行中通过程序 xfconf-query 可以进行完全设置。 XFCE 在线文档 提供了详细方法和示例,设置立即生效。设置保存在 XML 文件 ~/.config/xfce4/xfconf/xfce-perchannel-xml/ 中,可以手动修改这个文件,但是修改不会立即生效。更多信息请访问: Xfconf 文档面板如何自定义面板的背景编辑~/.gtkrc-2.0。 图像文件得存放在~/中,不然面板不会正常显示。style &panel-background& {
bg_pixmap[NORMAL]
= &foo.bar&
bg_pixmap[PRELIGHT]
= &foo.bar&
bg_pixmap[ACTIVE]
= &foo.bar&
bg_pixmap[SELECTED]
= &foo.bar&
bg_pixmap[INSENSITIVE]
= &foo.bar& } widget_class &*Panel*& style &panel-background&替换Xfce默认的应用程序菜单可以使用ubuntu的系统面板,利用Xfapplet将Gnome面板添加进Xfce。参考这个the AUR
如何删除系统默认菜单方法 1在内建的菜单编辑器里,你并不能删掉系统默认的菜单按钮,这里有些隐藏他们的方法:打开终端(Xfce开始菜单 & 系统 & Xfce终端)并且打开/usr/share/applications 文件夹:$ cd /usr/share/applications这个文件夹应该都是.desktop文件。可以用$ ls命令查看。添加NoDisplay=true 到 .desktop 文件中。例如,如果你想隐藏Firefox图标,键入以下命令让NoDisplay=true 添加到 .desktop 文件末尾。$ sudo sh -c 'echo &NoDisplay=true& && firefox.desktop'方法 2另一种方法是将全局应用程序菜单目录(/usr/share/applications/)复制到当前的程序目录下,然后添加或者修改你不想要的 .desktop 文件。这中改变能够在应用程序升级之后得以保存。在终端下,复制/usr/share/applications下所有文件到~/.local/share/applications/:$ cp /usr/share/applications/* ~/.local/share/applications/在任何你想隐藏的菜单下,添加NoDisplay=true 参数:$ echo &NoDisplay=true& && ~/.local/share/applications/foo.desktop你也能用文本编辑器直接编辑.desktop应用程序的分类:Categories=方法 3第三种方法是官方推荐的比较干净的方案Xfce wiki。创建~/.config/menus/xfce-applications.menu文件,复制以下内容到文件中:&!DOCTYPE Menu PUBLIC &-//freedesktop//DTD Menu 1.0//EN&
&&& &Menu&
&Name&Xfce&/Name&
&MergeFile type=&parent&&/etc/xdg/menus/xfce-applications.menu&/MergeFile&
&Filename&xfce4-run.desktop&/Filename&
&Filename&exo-terminal-emulator.desktop&/Filename&
&Filename&exo-file-manager.desktop&/Filename&
&Filename&exo-mail-reader.desktop&/Filename&
&Filename&exo-web-browser.desktop&/Filename&
&Filename&xfce4-about.desktop&/Filename&
&Filename&xfhelp4.desktop&/Filename&
&/Exclude&
&Merge type=&all&/&
&Separator/&
&Menuname&Settings&/Menuname&
&Separator/&
&Filename&xfce4-session-logout.desktop&/Filename&
&/Layout& &/Menu&&MergeFile& 标签在文件中包含默认的Xfce菜单。这是很必不可少的。&Exclude& 标签能排除掉某些你不需要的应用程序,比如说firefox.desktop 或者其他任何程序。&Layout& 标签定义了菜单的布局,应用程序能够按你所想组织文件夹。更多的细节请参见Xfce Wiki。方法 4lxmed 这个由Java写成的GUI工具,隶属于LXDE项目,但他也能在Xfce4上良好的工作,你可以在AUR找到 lxmed。如果上面位置找不到启动器怎么办(如wine安装的程序)一般在~/.local/share/applications/wine/下可以找到。面板自动隐藏有点延迟添加以下内容到 ~/.gtkrc-2.0。style &xfce-panel-window-style& {
# Time in miliseconds before the panel will unhide on an enter event
XfcePanelWindow::popup-delay = 225
# Time in miliseconds before the panel will hide on a leave event
XfcePanelWindow::popdown-delay = 350 } class &XfcePanelWindow& style &xfce-panel-window-style&面板和桌面平级如果你想面板与桌面平级(就是说让其他窗口叠在上面),你需要小小hack一下,首先确保安装了wmctrl软件包。 在~/.config/xfce4/xfce4-fix-panel 创建脚本,设定权限为可执行(chmod 755 xfce4-fix-panel)。#!/bin/bash set -e function getPanelIdImpl() {
# get panel id
PANEL=&`wmctrl -l | sed -n -e '/ xfce4-panel$/ s_ .*$__ p' | sed -n -e $1' p'`& } function getPanelId() {
# eventually await the panel to appear
getPanelIdImpl $
while [ x = x$PANEL ] ;do
sleep 0.5s
getPanelIdImpl $1
done } function putPanelDown() {
getPanelId $1
wmctrl -i -r $PANEL -b add,below } # call the program with a list of panel numbers as arguments # for example, xfce4-fix-panel 1 2 3 # for the first three panelsfor i in $* ;do
putPanelDown $i done保存脚本,测试运行一下,没问题的话你需要让脚本在开机时自动运行。简单的做法是在 会话和启动 -& 应用程序自启动 添加此脚本。这是处理问题的一种方案,但是要是你的面板还是不能于窗口重叠。你就必须用下面的方法打开这种行为,只需要做一次就行了(改变$ID为你喜欢的值)xfconf-query -c xfce4-panel -p /panels/panel-$ID/disable-struts -n -t bool -s true桌面如何让桌面图标标签字体背景透明如果想把改变图标下文字默认的白色背景改的更好看,就创建或者修改你的家目录($HOME)下的.gtkrc-2.0文件(当然你也可以添加到正使用主题的gtkrc文件之中),添加如下部分:style &xfdesktop-icon-view& { font_name = &sans Bold&#字体名称设置 XfdesktopIconView::label-alpha = 10#透明度设置 base[NORMAL] = &#000000&#背景颜色(下同) base[SELECTED] = &#71B9FF& base[ACTIVE] = &#71FFAD& fg[NORMAL] = &#ffffff&#文字颜色(下同) fg[SELECTED] = &#71B9FF& fg[ACTIVE] = &#71FFAD& } widget_class &*XfdesktopIconView*& style &xfdesktop-icon-view&注意,这需要你更换主题或者重新登录生效如何隐藏桌面上的默认的几个图标新版本的xfce4已经可以很方便的在桌面点右键或者控制中心设置这个地方了。如果是旧版的xfce4(&=4.4.3),就可以参照下面的方法默认xfdesktop管理的桌面上会有垃圾箱(trash),Home,文件系统,还有挂载的磁盘等几个图标,如果你不喜欢,或者想隐藏某个,就修改(如果没有就新建) $HOME/.config/xfce4/desktop/xfdesktoprc ,内容类似下面的,true为显示,false为隐藏[file-icons] show-filesystem=true show-home=true show-trash=true show-removable=true隐藏桌面上的分区如果不想在桌面上看到某些分区的图标可以创建一个udev规则,比如/etc/udev/rules.d/10-local.rules:Udisk1:KERNEL==&sda1&, ENV{UDISKS_PRESENTATION_HIDE}=&1& KERNEL==&sda2&, ENV{UDISKS_PRESENTATION_HIDE}=&1&Udisk2:KERNEL==&sda1&, ENV{UDISKS_PRESENTATION_HIDE}=&1& KERNEL==&sda2&, ENV{UDISKS_PRESENTATION_HIDE}=&1&这样就不会看到sda1/2的硬盘出现在桌面上了。切换到旧式的没有thunar选项的右键菜单xfconf-query -c xfce4-desktop -v --create -p /desktop-icons/style -t int -s 0添加终结窗口快捷方式Xfce 并没有 结束窗口 快捷方式,但是你能用一个简单的脚本做到。当然,需要安装xorg-xkill 软件包。创建一个脚本 ~/.config/xfce4/killwindow.sh 添加设置可执行权限 ( chmod 755 killwindow.sh)。xkill -id &`xprop -root -notype | sed -n '/^_NET_ACTIVE_WINDOW/ s/^.*# *\|\,.*$//g p'`&现在就可以利用设置 -& 键盘添加快捷方式使用脚本了。XFWM4如何开启Xfce 的混合特性Xfce 4.8 内置了一个带有真透明在内的多种混合特性的窗口特效。 不需要对/etc/xorg.conf额外的设置就可以开启特效:Menu
Window Manager Tweaks禁用 roll-upxfconf-query -c xfwm4 -p /general/mousewheel_rollup -s false禁用窗口边缘自动缩放和平铺窗口XFWM4 可以在窗口位于屏幕边缘时自动平铺窗口,并将窗口自动缩放到屏幕一半高度。可以通过如下方法禁用:Window Manager Tweaks --& Accessibility --& Automatically tile windows when moving toward the screen edge或者:xfconf-query -c xfwm4 -p /general/tile_on_move -s false
# To disable xfconf-query -c xfwm4 -p /general/tile_on_move -s true
# To enable用命令管理设置这些都是非官方文档中的命令。 必须查阅 /usr/share/applications/ 文件夹中的.desktop 文件。如果人们想知道发生了什么,这个列表或许对你有一些帮助:xfce-setting-show backdrop xfce-setting-show display xfce-setting-show keyboard xfce4-menueditor xfce-setting-show sound xfce-setting-show mouse xfce-setting-show session xfce-setting-show xfce-setting-show splash xfce-setting-show ui xfce-setting-show xfwm4 xfce-setting-show wmtweaks xfce-setting-show workspaces xfce-setting-show printing_system xfce4-appfinder xfce4-autostart-editor xfce4-panel -c如果想要查阅更多的命令行设置,在终端运行下面的命令:$ grep xfce-setting-show /usr/share/applications/xfce*settings*会话如何自定义启动应用程序这里包含了所必须的环境变量。复制 /etc/xdg/xfce4/xinitrc 到 ~/.config/xfce4/编辑这个文件,在这个文件中间某处添加一些你想要的,如:source $HOME/.bashrc# start rxvt-unicode serverurxvtd -q -o -f注:如果只是想要让xfce4启动时默认启动一些东西,那么还可以修改$HOME/.xprofile,或者xfce4-autostart-editor。定义启动时需要启动的xfce4组件可以通过保存会话来实现
切换用户Xfce4 的动作按钮菜单中可以切换用户,目前 gdm 和 lightdm 都提供了此功能。修改 XML 设定文件和目录这应该是可用的,尤其是在升级之后,手动修改 .xml 文件 ~/.config/xfce4/xfconf/ 。比如说修改某些程序的键盘快捷键 (~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml)。这种方法便于拷贝来达到GUI更好的使用效果。可移除的设备如果你想要在thunar文件管理器上显示刚插入的设备,首先应当安装gvfs.也可能需要安装gvfs-afc (参考 this discussion):还有一个好方法,可以安装thunar-volman (包含在xfce4组中):如果你使用光驱或者其他外部设备,udisk也建议安装。如何给XFCE添加主题1. 可以去xfce-look.org 下载好你喜欢的主题。2. 把下载的主题文件解压。3. 将解压好的文件移动到/usr/share/themes (所有的用户都可以使用) 或者 ~/.themes (只有自己能用). 例如 /usr/share/themes/abc, 这个文件夹中你创建一个xfwm4为名的文件夹,几乎所有的主题文件都会在这里。4. 使用GTK的主题在这里设置:Menu --& Settings --& Appearance选择xfwm的主题在下面这里设置:Menu --& Settings --& Window Manager鼠标指针默认情况下,X会使用一个二维的黑色指针。如过安装了新的鼠标主题,可以在如下地方设置指针:Menu --& Settings --& Mouse --& Theme想要安装新的指针主题,请参看xcursor-themes , 或者Cursor themes (简体中文).字体如果你的标准字体看起来不舒适,那么打开 Settings&Appearence 中的字体选项条,启用光滑字体打钩选择全部。如果你明白可以适当的调整DPI的数值达到更好看的效果。
su -c 'yes | pacman -S xfdesktop'
声音xfce4-mixer 是 Xfce 组开发的用户混音程序和面板插件,是 xfce4 组的一部分,所以应该已经安装。它使用 gstreamer 作为控制音量的后端,所以必须安装 xfce4-mixer 列出的可选依赖关系,否则点击时会出现如下错误:GStreamer was unable to detect any sound devices. Some sound system specific GStreamer packages may be missing. It may also be a permissions problem.需要的插件由硬件觉得,大部分用户需要 安装 软件包 gstreamer0.10-base-plugins. 如果面板已经启动,安装后需要重新登陆,或删除再加入。如果不能工作,可能还需要其他插件如gstreamer0.10-good-plugins 或 gstreamer0.10-bad-plugins.更多关于默认声卡的设置请阅读 Advanced Linux Sound Architecture。此外还可以使用 PulseAudio 和 pavucontrol.使用OSS驱动如何让xfce4-mixer来控制音量新版的xfce4-mixer使用了gstreamer作为后端,这样就不用直接与驱动交流,更加统一。与驱动打交道的工作交给了gstreamer。因此如果你xfce4-mixer无法正常工作,就需要配置好gstreamer。首先当然你得安装xfce4-mixer。pacman -S xfce4-mixer gstreamer0.10-base-plugins你需要至少安装gstreamer0.10-good-plugins,考虑安装gstreamer0.10-bad-pluginspacman -S gstreamer0.10-good-plugins gstreamer0.10-bad-plugins然后删除面板上的mixer插件,然后重新添加一次,或者先登出然后再登录一次,对gstreamer做更改后必须这样做才能让操作生效。也能够下载PKGBUILD 或者其他你需要的ABShere, 修改 PKGBUILD, 添加参数 --enable-oss../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--enable-oss \
--disable-static --enable-experimental \
--disable-schemas-install \
--disable-hal \
--with-package-name=&GStreamer Good Plugins (Archlinux)& \
--with-package-origin=&&然后开始安装:makepkg -i如果仍然失败,就到论坛发贴求助,或者到OSS官方论坛查看[1]使用快捷键改变音量使用xbindkeys也可以达到相同的效果。Settings --& Keyboard单击&Application Shortcuts& 选项卡中 &Add& 按钮. 输入命令即可添加快捷键了。ALSA升高音量:amixer set Master 5%+降低音量:amixer set Master 5%-静音:amixer set Master toggle你如果使用的是标准的XF86Audio 快捷键,在在终端输入以下内容:xfconf-query -c xfce4-keyboard-shortcuts -p /commands/custom/XF86AudioRaiseVolume -n -t string -s &amixer set Master 5%+ unmute& xfconf-query -c xfce4-keyboard-shortcuts -p /commands/custom/XF86AudioLowerVolume -n -t string -s &amixer set Master 5%- unmute& xfconf-query -c xfce4-keyboard-shortcuts -p /commands/custom/XF86AudioMute -n -t string -s &amixer set Master toggle&若 amixer set Master toggle 不工作,尝试使用调节PCM直接调节音量(amixer set PCM toggle) 。这个频段必须使用 &mute& 参数工作。要检查计算机是否支持mute,运行 alsamixer 在终端查看Master条上是否有两个 M (MM) 。 若没有显示,则你的电脑可能不支持 mute 参数。假如你不得不切换使用 PCM 改变音量,那必须确保你的 xfce-mixer 也要调节 PCM 通道,而不是普通的 Master 通道。OSS使用脚本文件: []如果你使用ossvol (推荐): 升高音量:ossvol -i 1降低音量:ossvol -d 1静音/取消静音:ossvol -t如果使用 pulseaudio 时 xfce4-volumed 无法静音,请尝试:xfconf-query -c xfce4-mixer -p /active-card -s `xfconf-query -c xfce4-mixer -p /sound-card`Xfce4-volumed来自AUR 的 xfce4-volumed daemon 能自动识别键盘的多媒体按键并映射到 Xfce-mixer。并能通过OSD通知音量变化的情况。Xfce4-volumed 不需要任何设置即可开始工作。假如你使用pulseaudio 和 xfce4-volumed 取消静音不能正常使用,可以按照上面的 pulseaudio 部分修改 pactl 命令的键盘命令。Volumeiconvolumeicon is an alternative to xfce4-volumed in the community repo also handling keybindings and notifications through xfce4-notifyd.加入启动音效Arch中并没有内置启动音效的设置页面, 但是您可以通过把下面的字段加入程序自启动设置来实现:aplay /boot/startupsound.wav音频文件的来源和名称可以随意指定, 但是在命名时请尽量简明并保证文件的小巧,把音频文件放入/boot目录即可。xdg-open integration (Preferred Applications)Most applications rely on xdg-open for opening a preferred application for a given file or URL.In order for xdg-open and xdg-settings to detect and integrate with the XFCE desktop environment correctly, you need to install the xorg-xprop package.If you do not do that, your preferred applications preferences (set by exo-preferred-applications) will not be obeyed. Installing the package and allowing xdg-open to detect that you are running XFCE makes it forward all calls to exo-open instead, which correctly uses all your preferred applications preferences.To make sure xdg-open integration is working correctly, ask xdg-settings for the default web browser and see what the result is:# xdg-settings get default-web-browserIf it replies with:xdg-settings: unknown desktop environmentit means that it has failed to detect XFCE as your desktop environment, which is likely due to a missing xorg-xprop package.截屏XFCE 自带了截图工具 xfce4-screenshooter,是 xfce4-goodies 的一部份,可以独立安装。使用print-screen按键XFCE Menu
Application Shortcuts绑定 &xfce4-screenshooter -f& 到 &PrintScreen& 按键上;因此,当按下 &PrintScreen& 时,会全屏截图。 参见 xfce4-screenshooter 的 man-page 获得其他参数的用法。此外,也可用其他独立的截图程式如 scrot 来绑定到 &PrintScreen& 而非 &xfce4-screenshooter&。Terminal color themes or palletsTerminal color themes or pallets can be changed in GUI under Appearance tab in Preferences. These are the colors that are available to most console applications like Emacs, Vi and so on. Their settings are stored individually for each system user in ~/.config/xfce4/terminal/terminalrc file. There are also so many other themes to choose from. Check forums post [Colour Scheme Screenshots] for hundreds of available choices and themes.修改默认颜色主题XFCE的extra/terminal包使用了较暗的颜色使得文字在默认的黑色背景下很难阅读并会使人感到不适,请把以下文字写入到terminalrc文件中来使用一个较明亮的颜色主题, 它会在一直在较暗的终端背景下可见.~/.config/xfce4/terminal/terminalrcColorPalette5=#38d0fcaaf3a9 ColorPalette4=#e013a0a1612f ColorPalette2=#d456a81b7b42 ColorPalette6=#ffff7062ffff ColorPalette3=#7ffff7bd7fff ColorPalette13=#ffff终端之Tango主题用你喜欢的编辑器打开~/.config/xfce4/terminal/terminalrc加入:ColorForeground=White ColorBackground=# ColorPalette1=#2e2e ColorPalette2=#cccc ColorPalette3=#4e4e9a9a0606 ColorPalette4=#c4c4a0a00000 ColorPalette5=#a4 ColorPalette6=#b ColorPalette7=#a ColorPalette8=#d3d3d7d7cfcf ColorPalette9=# ColorPalette10=#efef ColorPalette11=#8a8ae2e23434 ColorPalette12=#fcfce9e94f4f ColorPalette13=#72729f9fcfcf ColorPalette14=#adad7f7fa8a8 ColorPalette15=#e2e2 ColorPalette16=#eeeeeeeeececColour managementxfce4-settings-manager does not yet have any colour management / calibration settings, nor is there any specific XFCE program to characterise your monitor.Loading a profileIf you wish to load an icc profile (that you have previously created or downloaded) to calibrate your display on startup, you can download xcalib from AUR, then open the XFCE4 Settings Manager, click Session and Startup icon, the Autostart tab, and add a new entry where the command is /usr/bin/xcalib /path/to/your/profile.icc. You still need to tell your applications, which display profile should be used to have the displayed images colour managed.Another option is dispwin. Dispwin not only calibrates the display, but also sets the _ICC_PROFILE atom in X so that some applications can use a &system& display profile instead of requiring the user to set the display profile manually (GIMP, Inkscape, darktable, UFRaw, etc.).See ICC_Profiles#Loading_ICC_Profiles for more information.Creating a profileIf you wish to create an icc profile for your display (ie. characterising/profiling, e.g. with the ColorHug, or some other colorimeter, or a spectrophotometer, or &by eye&), the simplest option may be to install dispcalGUI from AUR.Another option is gnome-control-center (available in extra), which has a much simpler GUI, but less options and requires installing some Gnome dependencies. In order to start the calibration from the command line, first do colormgr get-devices and look for the &Device ID& line of your monitor. If this is e.g. &xrandr-Lenovo Group Limited&, you start calibration with the commabnd gcm-calibrate --device &xrandr-Lenovo Group Limited&.Note: It seems like you need to run the full gnome-control-center because XFCE does not yet have a session component for colord: See ICC Profiles for more information.
多重显示器若你已经将X.org设定为可支援多重显示器,进入 XFCE 会话时,他会自动的设定次显示器为主显示器的画面映射。可用xrandr工具来调整萤幕之间的相对关系;不过若无先于载入前设定正确,可能会有部份显示器画面无法以滑鼠点击操作。尽可能在桌面环境中调整显示设定比较好;然而,目前的 XFCE 设定工具(xfce-settings 4.10)并没有提供图形介面可以直接对多重显示器进行细微调整。Settings -& Display 工具能够调整个别显示器的解析度、旋转、映射、更新频率以及启用与否;警告: 使用此设定工具调整显示器,有可能重置或者失去手动调整但xfce-setting并未明确标示的显示特性。(见下方)。Settings -& Settings Editor 允许手动对所有设定值选项进行操作。关于显示设定的部份则储存在displays.xml这个档案中,位址是: ~/.config/xfce4/xfconf/xfce-perchannel-xml此displays.xml亦可由使用者偏好的编辑器修改,无需透过设定值编辑器。多显示器设定中最重要的是显示器之间的相对关系,在XFCE中可以透过 位置 这个数值对 (X and Y) 来设定,如位于显示器阵列中 上方,左侧 的显示器其 位置 应该写为 0, 0 。预设所有启动的显示器座标都是此数值对,因此,它们均成为主显示器的画面映射(复制)。To extend the display area correctly across both monitors:for side-by-side monitors, set the X property of the rightmost monitor to equal the width of the left-most monitorfor above-and-below monitors, set the Y property of the bottom monitor to equal the height of the upper monitorfor other arrangements, set the X and Y properties of each monitor to correspond to your layoutMeasurements are in pixels. As an example, a pair of monitors with nominal dimensions of
which are rotated by 90 and placed side-by-side can be configured with a displays.xml like this:&channel name=&displays& version=&1.0&& &property name=&Default& type=&empty&&
&property name=&VGA-1& type=&string& value=&Idek Iiyama 23&&&
&property name=&Active& type=&bool& value=&true&/&
&property name=&Resolution& type=&string& value=&&/&
&property name=&RefreshRate& type=&double& value=&60.000000&/&
&property name=&Rotation& type=&int& value=&90&/&
&property name=&Reflection& type=&string& value=&0&/&
&property name=&Primary& type=&bool& value=&false&/&
&property name=&Position& type=&empty&&
&property name=&X& type=&int& value=&0&/&
&property name=&Y& type=&int& value=&0&/&
&/property&
&/property&
&property name=&DVI-0& type=&string& value=&Digital display&&
&property name=&Active& type=&bool& value=&true&/&
&property name=&Resolution& type=&string& value=&&/&
&property name=&RefreshRate& type=&double& value=&60.000000&/&
&property name=&Rotation& type=&int& value=&90&/&
&property name=&Reflection& type=&string& value=&0&/&
&property name=&Primary& type=&bool& value=&false&/&
&property name=&Position& type=&empty&&
&property name=&X& type=&int& value=&1080&/&
&property name=&Y& type=&int& value=&0&/&
&/property&
&/property& &/property& &/channel&Usually, editing settings in this way requires a logout/login to action them.A new method for configuring multiple monitors will be available in the forthcoming xfce-settings 4.12 release.XDG 用户目录freedesktop.org specifies the &well known& user directories like the desktop folder and the music folder. See Xdg user directories for detailed info.常见问题与解答xfce4-power-manager 不工作检查 dbus DAEMONS 是否添加到了/etc/rc.conf。Xfce4-xkb-plugin settings issueThere is a bug in version 0.5.4.1-1 which causes xkb-plugin to lose keyboard, layout switching and compose key settings. As a workaround you may enable Use system defaults option in keyboard settings. To do so runxfce4-keyboard-settingsGo to Layout tab and set the Use system defaults flag, then reconfigure xkb-plugin.Thunar 不显示缩略图Thunar 已经支持 Tumbler 选项,只要安装Tumbler:pacman -S tumbler更详细内容请参考 Thunar Wiki.Locales 设置被GDM忽略成为超级用户添加locales到 /var/lib/AccountsService/users/$USER:su -c &nano /var/lib/AccountsService/users/$USER&用你自己的locales代替 hu_HU.UTF-8 :[User] Language=hu_HU.UTF-8 XSession=xfce也可以利用sed程序。 注意在 .UTF-8前面加 &/&:su -c &sed -i 's/Language=.*/Language=hu_HU\.UTF-8/' /var/lib/AccountsService/users/$USER&重启GDM。恢复默认设置若你折腾到想还原xfce4的默认设置,重命名 ~/.config/xfce4-session/ 和 ~/.config/xfce4/就可以了XD$ mv ~/.config/xfce4-session/ ~/.config/xfce4-session-bak $ mv ~/.config/xfce4/ ~/.config/xfce4-bak注销后生效。NVIDIA 和 xfce4-sensors-plugin要探测NVIDIA的gpu温度需要安装 libxnvctrl 并且重新编译 xfce4-sensors-plugin 软件包。会话错误如果窗口管理器不能正常运行(鼠标是一个X形,或者不能关闭窗口),不能正常还原,这时候说明会话出错。 删除掉session及其.cache 文件夹。# rm -r ~/.cache/sessions/在重启计算机之后会话应该就还原正常了。(只重启Xfce亦可)升级Xfce 4.10以后window buttons不能自动扩展长度这种情况导致类似windows布局的panel始终和通知区域来回移动,不能定位在右下方。 原因是新版的Window Buttons panel plugin不能自动适应面板长度。为了回到之前的效果,可以在Window Buttons之后添加一个分隔符,属性选中&扩展&。Preferred Applications preferences have no effectIf you have set your preferred applications with exo-preferred-applications, but they do not seem to be taken into consideration, see Xfce#xdg-open_integration_.28Preferred_Applications.29Action Buttons in the panel are missing iconsThis happens if icons for some actions (Suspend, Hibernate) are missing from the icon theme, or at least do not have the expected names. First, find out the currently used icon theme in the Settings Manager (→Appearance→Icons). Match this with a subdirectory of /usr/share/icons. For example, if the icon theme is GNOME, make a note of the directory name /usr/share/icons/gnome.icontheme=/usr/share/icons/gnomeMake sure that the xfce4-power-manager is installed as this contains the needed icons. Now create symbolic links from the current icon theme into the hicolor icon theme.ln -s /usr/share/icons/hicolor/16x16/actions/xfpm-suspend.png
${icontheme}/16x16/actions/system-suspend.png ln -s /usr/share/icons/hicolor/16x16/actions/xfpm-hibernate.png ${icontheme}/16x16/actions/system-hibernate.png ln -s /usr/share/icons/hicolor/22x22/actions/xfpm-suspend.png
${icontheme}/22x22/actions/system-suspend.png ln -s /usr/share/icons/hicolor/22x22/actions/xfpm-hibernate.png ${icontheme}/22x22/actions/system-hibernate.png ln -s /usr/share/icons/hicolor/24x24/actions/xfpm-suspend.png
${icontheme}/24x24/actions/system-suspend.png ln -s /usr/share/icons/hicolor/24x24/actions/xfpm-hibernate.png ${icontheme}/24x24/actions/system-hibernate.png ln -s /usr/share/icons/hicolor/48x48/actions/xfpm-suspend.png
${icontheme}/48x48/actions/system-suspend.png ln -s /usr/share/icons/hicolor/48x48/actions/xfpm-hibernate.png ${icontheme}/48x48/actions/system-hibernate.pngLog out and in again, and you should see icons for all actions.修改挂载参数比较常见的问题是自动挂载USB设备后,其中FAT文件系统的编码总是探测失败,ñ, ß, etc. 默认用utf8的iocharset编码能够有效解决这个问题,添加以下内容至/etc/xdg/xfce4/mount.rc:[vfat] uid=&auto& shortname=winntutf8=true# FreeBSD specific option longnames=true flush=true当你使用utf-8时,文件系统小心的探测文件中的内容。还有一个比较推荐添加的 flush参数 ,以免数据频繁更新导致拖慢thunar的复制进程。Adding async instead will speed up write ops, but make sure to use Eject option in Thunar to unmount the stick. Globally, mount options for storage devices present at boot can be set in fstab, and for other devices in udev rules.
arch不说wiki说啥pacman -S arch-wiki-docspacman -S arch-wiki-lite
首先,安装 位于官方软件仓库 的软件包 xorg-server,可能还需要安装位于 xorg-apps 组的有用工具。udev 会自动检测硬件,evdev 可以用作绝大部分设备的即插即用驱动。xorg-server 依赖它们,所以不需要显式安装。小贴士: X 环境默认没有被安装,可用选择安装 窗口管理器 或 桌面环境。Linux 内核包含了开源的视频驱动,支持硬件加速的 framebuffers。OpenGL 和 X11 的 2D 加速需要用户空间工具。如果不知道显卡类型,请执行如下命令进行查询:$ lspci | grep VGA输入下面命令,查看所有开源驱动:$ pacman -Ss xf86-video | lessvesa是一个支持大部分显卡的通用驱动,不提供任何 2D 和 3D 加速功能。要充分发挥显卡性能,请按下表安装驱动程序。推荐先使用开源驱动,这些驱动出问题的可能性较小。厂商 类型 驱动 Multilib 软件包 (适用于 Arch x86_64 上的 32 位程序) 文档 AMD/ATI 开源 xf86-video-ati lib32-ati-dri ATI (简体中文) 闭源 catalyst-dkms lib32-catalyst-utils AMD Catalyst (简体中文) Intel 开源 xf86-video-intel lib32-intel-dri Intel (简体中文) Nvidia 开源 xf86-video-nouveau lib32-nouveau-dri Nouveau xf86-video-nv – (过时驱动) 闭源 nvidia lib32-nvidia-utils NVIDIA (简体中文) nvidia-304xx lib32-nvidia-304xx-utils
运行参见: Start X at Login (简体中文)小贴士: 最简单的方法是使用 登录管理器 例如 GDM, KDM or SLiM.如果不用登陆管理器启动 X,需要安装软件包 xorg-xinit。startx 和 xinit 命令将启动 X 服务器和客户端(startx 脚本是更通用命令 xinit 的前端)。为了确定要运行的客户端,startx/xinit 先在用户目录解析 ~/.xinitrc 文件,如果 ~/.xinitrc 不存在,使用默认的 /etc/X11/xinit/xinitrc, 其中默认会使用 Twm 窗口管理器,Xclock 和 Xterm(需安装 xorg-twm, xorg-xclock 和 xterm).注意: X 必须在登陆的 tty 启动,这样才能保持 logind 会话。默认的/etc/X11/xinit/xserverrc已经进行了处理。更多信息请阅读 xinitrc (简体中文).注意:如果出现问题,请检查日志文件 /var/log/Xorg.0.log. 看看有没有以(EE)(代表错误) 或 (WW) (代表警告)开头的内容。如果 $HOME 中有空 .xinitrc 文件,请删除或修改它。否则 X 会显示空白屏幕,而且 Xorg.0.log 中没有任何错误。删除它会运行一个默认的环境。配置Xorg 可以通过 /etc/X11/xorg.conf 或 /etc/xorg.conf 和位于 /etc/X11/xorg.conf.d/ 的配置文件配置。Arch 在 /etc/X11/xorg.conf.d 提供了默认的配置文件。大部分系统不需要任何配置就能正常使用。用户可以创建自己的配置文件,需要以 XX- 开头(XX 是数字)并以.conf 结尾(例如 10 在 20 之前读取)。此外,显卡驱动可能提供了自动配置工具,例如 NVIDIA 提供了 nvidia-xconfig,ATI 提供了 aticonfig。输入设备触摸板和触摸屏主页面:Touchpad Synaptics (简体中文)如果您使用笔记本,需要安装触摸板驱动。官方软件仓库中提供了 xf86-input-synaptics 软件包。安装后,/etc/X11/xorg.conf.d 目录会有 10-synaptics.conf 文件,可以安全的从 10-evdev.conf &InputClass& 行注释或删除 touchpad 有关的内容。键盘设置Xorg 可能会探测键盘失败,这可能是没有正确设置键盘布局(keyboard layout)和键盘模型(keyboard model)。想看键盘模型、布局、变型和可选件的的完整的列表, 请打开 /usr/share/X11/xkb/rules/xorg.lst想要为当前的 Xorg 会话设定键盘映射:# setxkbmap dvorak键盘重复延时和速度使用 xset r rate DELAY RATE 命令来设置它们。然后使用 xinitrc 使之持久化。Viewing Keyboard Settings$ setxkbmap -print -verbose 10 Setting verbose level to 10 locale is C Applied rules from evdev: model:
evdev layout:
us options:
terminate:ctrl_alt_bksp Trying to build keymap using the following components: keycodes:
evdev+aliases(qwerty) types:
complete compat:
complete symbols:
pc+us+inet(evdev)+terminate(ctrl_alt_bksp) geometry:
pc(pc104) xkb_keymap {
xkb_keycodes
{ include &evdev+aliases(qwerty)& };
{ include &complete&
xkb_compat
{ include &complete&
xkb_symbols
{ include &pc+us+inet(evdev)+terminate(ctrl_alt_bksp)&
xkb_geometry
{ include &pc(pc104)&
}; };Setting Keyboard Layout With Hot-PluggingTo permanently change your keyboard layout, add the following to xorg.conf:Section &InputClass&
Identifier
&Keyboard Defaults&
MatchIsKeyboard
&XkbLayout& &dvorak& EndSectionNote: This is in an InputClass Section and not the InputDevice section for the keyboard.Switching Between Keyboard LayoutsNote: You need to install xorg-xkbevd and add xkbevd to DAEMONS section of /etc/rc.conf.To be able to easily switch keyboard layouts, modify the Options used in either of the above two methods. For example, to switch between a US and a Swedish layout using the Caps Lock key, create a file /etc/X11/xorg.conf.d/01-keyboard-layout.conf with the following content:Section &InputClass&
Identifier &keyboard-layout&
MatchIsKeyboard
Option &XkbLayout&
Option &XkbOptions& &grp:caps_toggle& EndSectionYou can get a list of possible options for grp: in /usr/share/X11/xkb/rules/xorg.lst (they start about mid way in the file).As an alternative, you can add the following to your .xinitrc:setxkbmap -layout &us, se& -option &grp:caps_toggle&This is mainly useful if you run a Desktop Environment which does not take care of keyboard layouts for you.Enable pointerkeysMouse keys is now disabled by default and has to be manually enabled:/etc/X11/xorg.conf.d/20-enable-pointerkeys.confSection &InputClass&
Identifier
&Keyboard Defaults&
MatchIsKeyboard &yes&
&XkbOptions& &keypad:pointerkeys& EndSectionYou can also run:$ setxkbmap -option keypad:pointerkeysBoth will make the Shift+Num Lock shortcut toggle mouse keys.
图形驱动安装默认驱动为 Vesa (xf86-video-vesa),可以应用于大部分芯片组但没有任何 2d 或 3d 加速。要启动图形加速,需要安装显卡对应的驱动。首先,确定显卡:$ lspci | grep VGA然后安装对应驱动。可以通过如下命令查找:$ pacman -Ss xf86-video常用开源驱动:NVIDIA: xf86-video-nouveau (参见 Nouveau)Intel: xf86-video-intel(参见 Intel)ATI: xf86-video-ati (参见 ATI)常用专有驱动:NVIDIA: nvidia (参见 NVIDIA)ATI: catalyst (参见 ATI Catalyst)Xorg 不用闭源驱动也能正常工作。只有需要一些高级功能时才需要这些闭源驱动,例如游戏的快速 3D 加速、多屏幕和电视输出等。显示器设置开始注意: 这一步是可选的,除非你知道在做什么,否则不要进行这一步。但是如果你使用双监视器或者nouveau驱动,你必须执行这一步。参见Nouveau#Configuration。首先,创建一个新的配置文件,例如/etc/X11/xorg.conf.d/10-monitor.conf。将下列代码加入到上述配置文件中:Section &Monitor&
Identifier
&Monitor0& EndSection Section &Device&
Identifier
&vesa& #Choose the driver used for this monitor EndSection Section &Screen&
Identifier
#Collapse Monitor and Device section to Screen section
&Monitor0&
DefaultDepth
16 #Choose the depth (16||24)
SubSection &Display&
&.00& #Choose the resolution
EndSubSection EndSectionMultiple monitors/Dual screenNVIDIA请参见: NVIDIA#Multiple monitors.多于一个显卡你必须指定正确的驱动以使用你的显卡。Section &Device&
Identifier
&PCI:0:12:0& EndSection Section &Device&
Identifier
&PCI:1:0:0& EndSection为了获取你的BusID:$ lspci | grep VGA 01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9600M GT] (rev a1)这个示例的BusID是 1:0:0.切换笔记本内部/外部显示的脚本这个脚本可以用于键盘快捷键中。#!/bin/bash IN=&LVDS1& EXT=&VGA1& if (xrandr | grep &$EXT& | grep &+&)
xrandr --output $EXT --off --output $IN --auto
if (xrandr | grep &$EXT& | grep & connected&)
xrandr --output $IN --off --output $EXT --auto
fi fi为了获取内部/外部显示的名字,你可以输入:# xrandr -q如果你没有 xrandr, install xorg-xrandr 来获取它。Display Size and DPIThe DPI of the X server is determined in the following manner:The -dpi command line option has highest priority.If this is not used, the DisplaySize setting in the X config file is used to derive the DPI, given the screen resolution.If no DisplaySize is given, the monitor size values from DDC are used to derive the DPI, given the screen resolution.If DDC does not specify a size, 75 DPI is used by default.In order to get correct dots per inch (DPI) set, the display size must be recognized or set. Having the correct DPI is especially necessary where fine detail is required (like font rendering). Previously, manufacturers tried to create a standard for 96 DPI (a 10.3& diagonal monitor would be 800x600, a 13.2& monitor ). These days, screen DPIs vary and may not be equal horizontally and vertically. For example, a 19& widescreen LCD at
may have a DPI of 89x87. To be able to set the DPI, the Xorg server attempts to auto-detect your monitor's physical screen size through the graphic card with DDC. When the Xorg server knows the physical screen size, it will be able to set the correct DPI depending on resolution size.To see if your display size and DPI are detected/calculated correctly:$ xdpyinfo | grep -B2 resolutionCheck that the dimensions match your display size. If the Xorg server is not able to correctly calculate the screen size, it will default to 75x75 DPI and you will have to calculate it yourself.如果你对于屏幕显示的物理大小有要求,可以在 Xorg 配置文件中输入,这样显示尺寸就会设置为你所需要的DPI.在Monitor段中以毫米(mm)为单位设置显示大小:Section &Monitor&
Identifier &Monitor0&
DisplaySize 286 179
# In millimeters EndSectionIf you only want to enter the specification of your monitor without creating a full xorg.conf create a new config file. For example (/etc/X11/xorg.conf.d/90-monitor.conf):Section &Monitor&
Identifier &&default monitor&&
DisplaySize 286 179
# In millimeters EndSectionIf you do not have specifications for physical screen width and height (most specifications these days only list by diagonal size), you can use the monitor's native resolution (or aspect ratio) and diagonal length to calculate the horizontal and vertical physical dimensions. Using the Pythagorean theorem on a 13.3& diagonal length screen with a
native resolution (or 16:10 aspect ratio):echo 'scale=2;sqrt(^2)' | bc
# This will give the pixel diagonal length and with this value you can discover the physical horizontal and vertical lengths (and convert them to millimeters):echo 'scale=2;(13.3/*25.4' | bc
# 286.43072 echo 'scale=2;(13.3/.4'
# 179.01920Note: This calculation works for monitor however, there is the seldom monitor that may compress aspect ratio (e.g 16:10 aspect resolution to a 16:9 monitor). If this is the case, you should measure your screen size manually.Setting DPI manuallyDPI can be set manually if you only plan to use one resolution (DPI calculator):Section &Monitor&
Identifier &Monitor0&
&DPI& &96 x 96& EndSection如果你使用 nVidia 的显卡,你可以手动设置,添加下面两行到/etc/X11/xorg.conf.d/20-nvidia.conf的Device段中即可:Option &UseEdidDpi& &False& Option
&DPI& &96 x 96&For RandR compliant drivers, you can set it by:xrandr --dpi 96See Execute commands after X start to make it permanent.DPMSDPMS (Display Power Management Signaling) is a technology that allows power saving behaviour of monitors when the computer is not in use. This will allow you to have your monitors automatically go into standby after a predefined period of time. See: DPMSCompositeThe Composite extension for X causes an entire sub-tree of the window hierarchy to be rendered to an off-screen buffer. Applications can then take the contents of that buffer and do whatever they like. The off-screen buffer can be automatically merged into the parent window or merged by external programs, called compositing managers.The Composite extension can't be used simultaneously with Xinerama. However, it can be used simultaneously with Nvidia Twinview.Disabling the extensionThe composite extension is enabled by default. To disable it, add this to xorg.conf or a file in /etc/xorg.conf.d:Section &Extensions&
Option &Composite& &Disable& EndSectionThis may slightly improve your performance with some drivers.See alsoAIGLXCompiz -- The original composite/window manager from NovellXcompmgr -- A simple composite manager capable of drop shadows and primitive transparencyCairo Composite Manager -- A versatile and extensible composite manager which uses cairo for rendering.Wikipedia:Compositing window manager配置文件样例Anyone who has an xorg.conf file written up that works, go ahead and post a link to it here for others to look at. Please do not in-line the entir upload it somewhere else and link to it.请只贴热插拔示例否则注明配置未使用热插拔 (Xorg 1.8 = udev)示例1 : xorg.conf & /etc/X11/xorg.conf.d/10-evdev.conf这是 /etc/X11/xorg.conf.d/10-evdev.conf 配置键盘布局的示例:注意: &InputDevice& 部分已经注释掉,因为它们由 10-evdev.conf 负责。xorg.conf:
(KVM): 技巧和窍门调整 X 启动参数(/usr/bin/startx)参看X的选项:$ man Xserver以下的选项可以附加在/usr/bin/startx文件的&defaultserverargs&变量中.为16位字体使能延缓字形加载:-deferglyphs 16注意: 如果你用kdm启动x, 则不会执行startx脚本。上述这些选项必须加在/usr/share/config/kdm/kdmrc文件的&ServerArgsLocal&或者&ServerCmd&变量中. 缺省kdm的选项是ServerArgsLocal=-nolisten tcp ServerCmd=/usr/bin/XVirtual X sessionTo start another X session in, for example, Ctrl+Alt+F8, you need to type this on a console:xinit /path/to/wm -- :1Change &/path/to/wm& to your window manager start file or to your login manager like gdm, kdm, or slim.Nested X sessionTo run a nested session of another desktop environment:$ /usr/bin/Xnest :1 -geometry +0 -ac -name Windowmaker & wmaker -display :1This will launch a Window Maker session in a 1024 by 768 window within your current X session.This needs the package xorg-server-xnest to be installed.
故障和修复通用问题如果你在使用Xorg中遇到问题,无法启动或者黑屏,鼠标键盘不能正常工作,那么先进行以下步骤:查看log日志文件:cat /var/log/Xorg.0.log, 可以从 X 启动终端之外的虚拟控制台查看错误。注意所有以 (EE) 开头的行,EE 代表有错误。同时注意 (WW) 警告,可能预示着其他问题。需要安装输入驱动:(鼠标、键盘、触摸板等)最后,在ATI, Intel和NVIDIA等文章中搜索常见问题。如果还有问题,请到 Arch 论坛提问,请安装和使用wgetpaste:#pacman -S wgetpaste在论坛提问的帖子中,用 wgetpaste 提供如下文件的链接:~/.xinitrc/etc/X11/xorg.conf/var/log/Xorg.0.log/var/log/Xorg.0.log.oldwgetpaste 用法:$wgetpaste &/path/to/file&注意: 解决 X 相关问题时,请提供上面所说的内容的详细信息。Ctrl-Alt-Backspace无法退出XSystem-wideWithin /etc/X11/xorg.conf.d/10-evdev.conf, simply add the following:Section &InputClass&
Identifier
&Keyboard Defaults&
MatchIsKeyboard&yes&
&XkbOptions& &terminate:ctrl_alt_bksp& EndSection注意: 在KDE中,这种全局设置没有任何效果。恢复的方法是,通过Kickoff启动器 & 计算机 & 系统设置打开系统设置窗口。点击“输入设备”,在新窗口中选择“键盘”,然后点击“高级”标签页。点选“配置键盘选项”选框。展开“杀死X服务器的键盘序列”菜单,确定选中 Ctrl+Alt+Backspace ,点击“应用”按钮然后关闭系统设置窗口。Ctrl+Alt+Backspace 又回来啦。User-specific另外一种方法是加入以下内容到~/.xinitrc:setxkbmap -option terminate:ctrl_alt_bkspNote: This setting has no effect on Gnome 3.CTRL 右键无法与和oss keymap一起工作编辑 /usr/share/X11/xkb/symbols/fr,将:include &level5(rctrl_switch)&改成// include &level5(rctrl_switch)&然后重启 X 或者系统。Apple 的键盘问题参见 Apple Keyboard触摸板点击不正常参见: Synaptics额外的鼠标按键不工作参见:Get All Mouse Buttons Working无法用&su&以root身份启动X客户端如果你遇到&Client is not authorized to connect to server&,尝试将以下内容session
pam_xauth.so加入到/etc/pam.d/su文件中。pam_xauth 就可以正常设置环境变量以及处理 xauth 密钥了。无法加载'(null)'字体一些程序无法运行,提示无法加载`(null)'字体.这些软件包可能需要一些额外的字体。某些程序只能使用位图字体。 目前有两种主要的位图字体包:xorg-fonts-75dpi、xorg-fonts-100dpi。选择其中一个就可以了。通过下面这个命令查看显示设置:$ xdpyinfo | grep resolution根据显示信息选择合适dpi的字体即可(用75 或 100 代替XX):# pacman -S xorg-fonts-XXdpi无法运行在frambuffer模式下如果X启动失败,日志中有以下信息:(WW) Falling back to old probe method for fbdev (II) Loading sub module &fbdevhw& (II) LoadModule: &fbdevhw& (II) Loading /usr/lib/xorg/modules/linux//libfbdevhw.so (II) Module fbdevhw: vendor=&X.Org Foundation&
compiled for 1.6.1, module version = 0.0.2
ABI class: X.Org Video Driver, version 5.0 (II) FBDEV(1): using default device
Fatal server error: Cannot run in framebuffer mode. Please specify busIDs
for all framebuffer devices只需要卸载xf86-video-fbdev就可以了。Matrox显卡的DRI功能失效如果你使用的是Matrox显卡,在升级到Xorg7后它的DRI功能失效,试着在xorg.conf的显卡设备设置段Device section中加入下面一行:Option &OldDmaInit& &On&修复:在出现GUI登录界面之前,不启动Xorg如果Xorg设置为自动启动并且出于某些原因你不想让它出现在 登录/显示 管理器之前,有两种办法:将启动目标修改为 rescue.target. 参阅 systemd#Change default target to boot into.如果 X 无法启动,而且 GRUB 超时时间设置成了 0,无法进 Grub 禁止 Xorg boot. 可以使用 Arch CD 启动,然后挂载配置文件所在分区,可以以root用户使用命令# fdisk -l来查看你的全部分区。通常你所要的那个是形如 /dev/sda1 这样的东东。然后,使用命令# mount /dev/sda1 /mnt挂载该分区至 /mnt。 这样你的文件系统就挂载在了 /mnt 下。例如,可以删除 gdm 来阻止Xorg正常启动,或者做其他一些必需的改动。X failed to start : Keyboard initialization failedIf your hard disk is full, startx will fail. /var/log/Xorg.0.log will end with:(EE) Error compiling keymap (server-0) (EE) XKB: Couldn't compile keymap (EE) XKB: Failed to load keymap. Loading default keymap instead. (EE) Error compiling keymap (server-0) (EE) XKB: Couldn't compile keymap XKB: Failed to compile keymap Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. Fatal server error: Failed to activate core devices. Please consult the The X.Org Foundation support
help. Please also check the log file at &/var/log/Xorg.0.log& for additional information. (II) AIGLX: Suspending AIGLX clients for VT switch
pacman -S xorg-server xorg-server-utils xorg-xinit xorg-utils xf86-video-intel xfce4
pacman -S kde gnome gnome-extra xfce4 xfce4-goodies lxde
你们这些家伙怎么能这么快发文档?应该先拿出大屌
登录百度帐号推荐应用}

我要回帖

更多关于 黑魂3戒指 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信