特殊:Badtitle/NS100:Upower

来自Ubuntu中文
Oneleaf留言 | 贡献2007年5月13日 (日) 11:33的版本 (New page: {{From|https://help.ubuntu.com/community/Upower}} {{Languages|php5}} == NOTE == Upower is no longer being developed. The last version which was compatible with Ubuntu version 5.10 (Breezy...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航跳到搜索

{{#ifexist: :Upower/zh | | {{#ifexist: Upower/zh | | {{#ifeq: {{#titleparts:Upower|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Upower|1|-1|}} | zh | | }}

NOTE

Upower is no longer being developed. The last version which was compatible with Ubuntu version 5.10 (Breezy Badger) will no longer be updated. The developer of Upower, Vincenzo Ampolo, was originally working on another boot splash project called Splashy. A fork in development led to Upower being a separate boot splash application. Upower's developer has decided to stop work on the project and re-merge with Splashy. More info on this in Vincenzo's own words can be found here.

Splashy works with Ubuntu 6.06 (Dapper Drake) and will continue to be developed. Info on installing Splashy with Ubuntu can be found here.

It is recommended that Ubuntu users migrate to Ubuntu Dapper and Splashy if they want a user-space boot splash application.


The below instructions still work for Upower and Ubuntu version 5.10 (Breezy Badger) as Upower is still in the Badger repositories. It is unknown whether it will still work for PPC users.

Upower

Upower is a bootsplash for linux systems. It needs no patches and it's installed like a normal package, make your boot process eye-candy with Upower!

It displays a graphical image instead of the console verbatim text during the boot, reboot, and shutdown sequences.

Installation

Here's how you properly install Upower: (Not for PPC users. Look ahead.)

1. Remove uSplash

If you know that uSplash is not installed on your system, you can skip this part.

First of all, we need to completely remove the uSplash bootsplash that comes with Ubuntu, and recreate the Linux kernel image so that it is really removed. (uSplash writes the bootsplash into the initrd image, so just removing the package isn't enough.)

Open up a terminal, and enter this to remove uSplash: (This will also remove the 'ubuntu-desktop' package, that's okay.)

sudo apt-get --purge remove usplash


Then recreate the Linux image:
sudo dpkg-reconfigure linux-image-`uname -r`


uSplash should now be properly removed.

2. Install Upower

Add the following repository (see AddingRepositoriesHowto): x86:
deb http://repo.nanofreesoft.org/ubuntu breezy main


PPC:
The repository doesn't have PPC binaries. Use this instead for the source.
deb-src http://repo.nanofreesoft.org breezy main



Update your package list:
sudo apt-get update


And install Upower (and the Ubuntu Upower theme):

x86:
sudo apt-get install upower upower-theme-ubuntu


Done! Now reboot your x86 PC to see your cool new bootsplash!

PPC:
mkdir uPower
cd uPower
sudo apt-get source upower upower-theme-ubuntu
cd upower-<version>
sh ./configure


That leads to:
checking for upower... configure: error: Package requirements (++dfb libxml++-2.6 ) were not met.

Finding libxml++-2.6 was easy (via apt-get). However, I,(PKoch), couldn't find a ++dfb package anywhere. Warn me if you have some info here.


Configuration

No configuration is necessary to make Upower run intially. After your install you should be up and running. The first thing you will probably want to adjust is the actual images you see at boot and shutdown. To do this: Change directories to the /etc/upower directory. You will see folders within this directory which contain the themes that Upower uses. You can either: 1. Insert your own image files into an existing theme folder and simply change the names. Upower looks for "background" as the filename to use for the boot splash and "shutdown" as the filename to use for the shutdown splash. You can also add a file named "error" to use for an error screen, although this is not required. 2. Or you can create a new folder in the upower directory and name it whatever you want your theme name to be. Copy the config.xml file over from an existing theme into your new folder. Then ensure that you have "background" and "shutdown" image files as noted above. Inside of config.xml you can tweak various options, for example the color of the progress bar. You will also need to add your theme name into the global_config.xml file so that Upower knows to use your theme.

Resources

Ubuntu, Kubuntu & Debian Theme Ubuntu Wallpaper GNOME-look.org for pictures

Troubleshooting

When Ubuntu scans the HD for errors, you'll see Upower stopped at 0% because it's not displayed by Upower, even though the HD indicator will be lit up continuously. To get back to the boot text, you can press F2. Credits: http://members.shaw.ca/Limulus/ubuntu.html http://www.yogarine.com/

Questions

How can this be made to work in Dapper? With regard to Upower working in Dapper (Ubuntu version 6.06), see the very top of this page.
CategoryDocumentation CategoryCleanup