mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-03 23:40:14 +08:00
翻译完成
This commit is contained in:
parent
48d0b0d942
commit
8795166a98
@ -1,44 +0,0 @@
|
||||
翻译中 by Linux-pdz
|
||||
Daily Ubuntu Tips–Change The Logon Screen Background
|
||||
================================================================================
|
||||
Here’s a simple tip that shows you how to change Ubuntu logon screen background with custom images. Ubuntu logon screen is ok and maybe better than most Linux distributions, but if you want to show custom images like ones that remind you of special places and things, you may be able to change it using the steps below.
|
||||
|
||||
There are many ways to do this and this post is just one of many. The method below uses dconf-editor and lightdm user to accomplish to get the same results. To do it, change to the root user and give lightdm user access to the x-server. Next using lightdm user credentials, run dconf-editor and make the change.
|
||||
|
||||
After setting the custom logon image and restarting, you should see the picture everytime you start your machine. If image is one you love and brings back a log of memories, you should be delighted everytime you startup Ubuntu to logon.
|
||||
|
||||
This tutorial assumes you already have dconf-editor installed on your machine. If not, run the commands below to install dconf-editor.
|
||||
|
||||
sudo apt-get install dconf-editor
|
||||
|
||||
Next, choose the image you wish to use as your logon image. Then take notes of the location, including the image name. Next, run the commands below to change to the root user.
|
||||
|
||||
sudo –i
|
||||
|
||||
Next, run the commands below to give lightdm user access to the X-Server. Lightdm is the service that manages the logon background so if you need to make changes to the logon screen, it should be done as lightdm user.
|
||||
|
||||
xhost +SI:localuser:lightdm
|
||||
|
||||
Next, change to lightdm user by running the commands below.
|
||||
|
||||
su lightdm -s /bin/bash
|
||||
|
||||
Then run the commands below to start dconf-editor.
|
||||
|
||||
dconf-editor
|
||||
|
||||
When the tool opens, browse to **com –> canonical –> unity-greeter**. Then change the background value to the custom image. You may also want to disable draw-grid.
|
||||
|
||||
![](http://www.liberiangeek.net/wp-content/uploads/2013/09/logon-screen-background.png)
|
||||
|
||||
Restart your computer and enjoy your~
|
||||
|
||||
![](http://www.liberiangeek.net/wp-content/uploads/2013/09/logon-screen-background-1.png)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.liberiangeek.net/2013/09/daily-ubuntu-tipschange-logon-screen-background/
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
@ -0,0 +1,43 @@
|
||||
Ubuntu每日小技巧-改变登陆窗口背景
|
||||
================================================================================
|
||||
这儿给你提供了一下简单的小技巧,告诉你如何用你自己图片来替换登陆窗口的背景。Ubuntu的登陆窗口挺不错的,可能比大多数发行版的都要好,但是假如你要用一张你自己的图片,比如一张可以让你回忆起某个特定的地方或事情的图片,你就可以按照下面的步骤来更换上它。
|
||||
|
||||
有许多方法可以做到这一点,这篇博文介绍的只是其中一种。下面介绍的方法使用dconf-editor和lightdm用户来达到同样的效果。跟着我做,切换到root用户,给予lightdm用户访问x-server的权限。下一步使用lightdm用户组权限,运行dconf-editor,然后做出更改。
|
||||
|
||||
在设置完自定义图片并且重启后,你应该就能在你每次启动你的电脑时看到你设置的图片。若设置的图片是一张你非常喜欢的并且能给你带给你很多回忆的图片,那么你每次启动电脑登陆到Ubuntu时一定非常开心。
|
||||
|
||||
这个手册假设你已经在你的电脑上安装了dconf-editor。若没有,你可以运行以下命令来安装dconf-editor
|
||||
|
||||
sudo apt-get install dconf-editor
|
||||
|
||||
下一步,选择你要作为登陆背景的图片。然后,记下图片的位置以及图片的名字,运行以下命令切换到root用户。
|
||||
|
||||
sudo –i
|
||||
|
||||
下一步,运行以下命令给予lightdm用户访问X-server的权限。Lightdm是一个管理登陆窗口背景的服务程序,因此假如你要更换登陆窗口的背景图片,你就要改动lightdm用户。
|
||||
|
||||
xhost +SI:localuser:lightdm
|
||||
|
||||
下一步,运行以下命令切换到lightdm用户
|
||||
|
||||
su lightdm -s /bin/bash
|
||||
|
||||
然后,运行以下命令开启dconf-editor
|
||||
|
||||
dconf-editor
|
||||
|
||||
当工具打开后,浏览到**com->canonical->unity-greeter**。然后改变背景值为自定义的图盘。你可能需要勾掉draw-grid。
|
||||
|
||||
![](http://www.liberiangeek.net/wp-content/uploads/2013/09/logon-screen-background.png)
|
||||
|
||||
|
||||
重启你的电脑。玩的开心~
|
||||
![](http://www.liberiangeek.net/wp-content/uploads/2013/09/logon-screen-background-1.png)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.liberiangeek.net/2013/09/daily-ubuntu-tipschange-logon-screen-background/
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
译者:[Linux-pdz](https://github.com/Linux-pdz) 校对:[校对者ID](https://github.com/校对者ID)
|
Loading…
Reference in New Issue
Block a user