| Prev |   1     2   3   4     5   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   [Status Icon] Battery (https://talk.maemo.org/showthread.php?t=41035)

DaKing 2010-01-25 21:37

Re: [Status Icon] Battery
 
i see ok thanks alot man :)

Lacedaemon 2010-01-25 21:45

Re: [Status Icon] Battery
 
I just optimized the .png's so I advice you to re-download and re-install them if you like.
They are even lighter than the default .png's by half (4kb each and default ones are 8kb).

v13 2010-01-25 22:00

Re: [Status Icon] Battery
 
Quote:

Originally Posted by Lacedaemon (Post 478328)
As far as I know the only way to change an icon is by overwriting it. If you want to keep the default one simply do not ovewrite it with the custom one. I will also provide a zip with the stock pngs.

Also the default theme/icons can be re-installed from the repo if you mess up.
Right?

What you want is Debian's diversions. You can divert those icons and replace them with your own. When your package is removed you'll just have to restore the diversions. As a bonus, diversions work with upgrades too. This means that your icons will survive even after a system upgrade.

Have a look here.

romanianusa 2010-01-26 00:08

Re: [Status Icon] Battery
 
Hey Lacedaeman, when i put mv MyDocs/.documents/battery_scalable/* /usr/share/icons/hicolor/scalable/hildon/ in Xterminal, it says mv: cannot rename, no such file or directory. What is going on?? I did place the folder battery_scaleable in my Documents

Is there a program or manager where i can easily look into the root and move files i want in folders?

Lacedaemon 2010-01-26 00:13

Re: [Status Icon] Battery
 
Try the following and let me know:
Code:

mv home/user/MyDocs/.documents/battery_scalable/* /usr/share/icons/hicolor/scalable/hildon/

romanianusa 2010-01-26 00:26

Re: [Status Icon] Battery
 
Quote:

Originally Posted by Lacedaemon (Post 494648)
Try the following and let me know:
Code:

mv home/user/MyDocs/.documents/battery_scalable/* /usr/share/icons/hicolor/scalable/hildon/

I try that too...i think the problem is i use .share

Now it is asking me to overwrite the .png and i enter 'y' but permission is denied??

Lacedaemon 2010-01-26 00:32

Re: [Status Icon] Battery
 
sudo gainroot command then the other commands should work.

romanianusa 2010-01-26 00:33

Re: [Status Icon] Battery
 
Quote:

Originally Posted by Lacedaemon (Post 494674)
sudo gainroot command then the other commands should work.

I did type sudo gainroot to start it out. I also have sudser installed and use sudo -i too.

It says MyDocs/.documents/battery_scalable/statusarea_battery_full100.png: Permission denied.

even though i start out Xterminal by typing sudo gainroot.

I have root access with the sudo -i command because i installed sudser.

I got the battery_scalable working but not the 48x48

romanianusa 2010-01-26 01:25

Re: [Status Icon] Battery
 
I did this for the battery_48x48:

mv Mydocs/.documents/battery_48x48/* /usr/share/icons/hicolor/48x48/hildon/

mv: cannnot rename 'Mydocs/.documents/battery_48x48/*': No such file or directory

I did that after installing rootsh

What is going on anyway?

Laughing Man 2010-01-26 01:28

Re: [Status Icon] Battery
 
romanianusa

Retype that command as

mv MyDocs/.documents/battery_48x48/* /usr/share/icons/hicolor/48x48/hildon/

Linux is case sensitive so it will recognize a difference between Mydocs and MyDocs.


| Prev |   1     2   3   4     5   | Next | Last
All times are GMT. The time now is 10:44.

vBulletin® Version 3.8.8