ubuntu 9.10 更换登录界面的方法


众所周知,在ubuntu 9.10中还了新版本的gdm,所以不再像之前那样简单的更换登录界面

  在网上搜到几种方法,不知道是我的机器情况特殊还是说他们转来转去根本就不靠谱,反正我是没改成,结果还弄的不人不鬼

  最终,只是在这里:http://ubuntuforums.org/showpost.php?p=7576112&postcount=365 找到了更换方法,但仍有些东西不能生效,但总比之前找到那些靠谱

  具体方法参考上面连接,这里copy过来作为备忘录,免得以后连接 404 ……

  1. Change the gdm background picture

  The current settings

  sudo -u gdm gconftool-2 –get /desktop/gnome/background/picture_filename

  Set a new background picture

  sudo -u gdm gconftool-2 –set –type string –set /desktop/gnome/background/picture_filename /data/pictures/Grassy.jpg

  2. The gdm gtk theme

  The current settings

  sudo -u gdm gconftool-2 –get  /desktop/gnome/interface/gtk_theme

  Set a new gtk theme (you can find them in /usr/share/themes)

  sudo -u gdm gconftool-2 –set –type string –set /desktop/gnome/interface/gtk_theme Redmond

  3. The gdm icon theme (changes the look of the computer icon … icon above the hostname)

  The current settings

  sudo -u gdm gconftool-2 –get /desktop/gnome/interface/icon_theme

  Set a new icon theme (You can find them in /usr/share/icons)

  sudo -u gdm gconftool-2 –set –type string –set /desktop/gnome/interface/icon_theme Tangerine

  and you can edit the file

  /usr/share/gconf/schemas/gdm-simple-greeter.schemas

  if you don’t like the computer icon. Change the icon (<default>coputer</default>) in the section

  <schema>

  <key>/schemas/apps/gdm/simple-greeter/logo_icon_name</key>

  <applyto>/apps/gdm/simple-greeter/logo_icon_name</applyto>

  <owner>gdm-simple-greeter</owner>

  <type>string</type>

  <default>computer</default>

  <gettext_domain>gdm</gettext_domain>

  <locale name=”C”>

  <short>Icon name to use for greeter logo</short>

  <long>Set to the themed icon name to use for the greeter logo.</long>

  </locale>

  </schema>

  4. The gdm user icon

  This does not work

  sudo -u gdm gconftool-2 –get /schemas/apps/gdm/simple-greeter/logo_icon_name

  I haven’t found it yet … but at least we could overwrite

  /usr/share/icons/gnome/scalable/stock/generic/stock_person.svg

  but this icon may be important for other applications … so don’t do it.

  solved: you can set the user icon for your user with

  /usr/bin/gnome-about-me

众所周知,在ubuntu 9.10中还了新版本的gdm,所以不再像之前那样简单的更换登录界面

  在网上搜到几种方法,不知道是我的机器情况特殊还是说他们转来转去根本就不靠谱,反正我是没改成,结果还弄的不人不鬼

  最终,只是在这里:http://ubuntuforums.org/showpost.php?p=7576112&postcount=365 找到了更换方法,但仍有些东西不能生效,但总比之前找到那些靠谱

  具体方法参考上面连接,这里copy过来作为备忘录,免得以后连接 404 ……

  1. Change the gdm background picture

  The current settings

  sudo -u gdm gconftool-2 –get /desktop/gnome/background/picture_filename

  Set a new background picture

  sudo -u gdm gconftool-2 –set –type string –set /desktop/gnome/background/picture_filename /data/pictures/Grassy.jpg

  2. The gdm gtk theme

  The current settings

  sudo -u gdm gconftool-2 –get  /desktop/gnome/interface/gtk_theme

  Set a new gtk theme (you can find them in /usr/share/themes)

  sudo -u gdm gconftool-2 –set –type string –set /desktop/gnome/interface/gtk_theme Redmond

  3. The gdm icon theme (changes the look of the computer icon … icon above the hostname)

  The current settings

  sudo -u gdm gconftool-2 –get /desktop/gnome/interface/icon_theme

  Set a new icon theme (You can find them in /usr/share/icons)

  sudo -u gdm gconftool-2 –set –type string –set /desktop/gnome/interface/icon_theme Tangerine

  and you can edit the file

  /usr/share/gconf/schemas/gdm-simple-greeter.schemas

  if you don’t like the computer icon. Change the icon (<default>coputer</default>) in the section

  <schema>

  <key>/schemas/apps/gdm/simple-greeter/logo_icon_name</key>

  <applyto>/apps/gdm/simple-greeter/logo_icon_name</applyto>

  <owner>gdm-simple-greeter</owner>

  <type>string</type>

  <default>computer</default>

  <gettext_domain>gdm</gettext_domain>

  <locale name=”C”>

  <short>Icon name to use for greeter logo</short>

  <long>Set to the themed icon name to use for the greeter logo.</long>

  </locale>

  </schema>

  4. The gdm user icon

  This does not work

  sudo -u gdm gconftool-2 –get /schemas/apps/gdm/simple-greeter/logo_icon_name

  I haven’t found it yet … but at least we could overwrite

  /usr/share/icons/gnome/scalable/stock/generic/stock_person.svg

  but this icon may be important for other applications … so don’t do it.

  solved: you can set the user icon for your user with

  /usr/bin/gnome-about-me


« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3