Difference between revisions of "Background Wallpaper on XDM (简体中文)"

From ArchWiki
Jump to: navigation, search
(Template:i18n is deprecated, use interlanguage links, see Help talk:I18n#"Dummy" interlanguage links and deprecation of Template:i18n + merge request)
(Redirect to already merged part.)
 
Line 1: Line 1:
[[Category:简体中文]]
+
#REDIRECT [[XDM (简体中文)#设置墙纸]]
[[Category:Display managers (简体中文)]]
+
[[en:Background Wallpaper on XDM]]
+
{{Merge|XDM (简体中文)|note that [[:en:Background Wallpaper on XDM]] already redirects to [[XDM]].}}
+
这里有个小技巧可以让XDM漂亮些:
+
 
+
* 安装Quick Image Viewer:
+
 
+
  pacman -S qiv
+
 
+
* 创建一个目录用来存放背景图片。(例如<code>/root/backgrounds</code>)
+
 
+
* 把图片放到新目录里。如果没有的话可以到[http://www.digitalblasphemy.com/ 这里]找些。
+
 
+
*编辑<code>/etc/X11/xdm/Xsetup_0</code>,将<code>xconsole</code>的命令改为:
+
+
  /usr/bin/qiv -zr /root/backgrounds/*
+
 
+
* 编辑<code>/etc/X11/xdm/Xresources</code>。增加/替换如下内容:
+
 
+
  xlogin'''greetFont:  -adobe-helvetica-bold-o-normal--20-'''-'''-'''-'''-'''-iso8859-1
+
  xlogin'''font:      -adobe-helvetica-medium-r-normal--14-'''-'''-'''-'''-'''-iso8859-1
+
  xlogin'''promptFont: -adobe-helvetica-bold-r-normal--14-'''-'''-'''-'''-'''-iso8859-1
+
  xlogin'''failFont:  -adobe-helvetica-bold-r-normal--14-'''-'''-'''-'''-'''-iso8859-1
+
  xlogin*frameWidth: 1
+
  xlogin*innerFramesWidth: 1
+
  xlogin*logoPadding: 0
+
  xlogin*geometry:    300x175-0-0
+
 
+
注释掉logo定义:
+
 
+
  #xlogin*logoFileName: /usr/X11R6/lib/X11/xdm/pixmaps/xorg.xpm
+
  #xlogin*logoFileName: /usr/X11R6/lib/X11/xdm/pixmaps/xorg-bw.xpm
+
 
+
* 修改<code>pacman.conf</code>使得以上更改过的文件不会被升级时删除:
+
 
+
  ~NoUpgrade  = etc/X11/xdm/Xsetup_0 etc/X11/xdm/Xresources
+
 
+
现在登录的时候就会有随机的壁纸,而登录提示被移动到了屏幕右下方。
+

Latest revision as of 05:42, 16 August 2012