maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   [Announce]: Diablo5 Theme (By Kroll} (https://talk.maemo.org/showthread.php?t=52285)

Mgamerz 2010-07-28 23:27

Re: [Announce]: Diablo5 Theme (By Kroll}
 
when the system tray has like 8 icons in it, (or 7 depending on the size), on any theme it will drop the final slot and give you a down arrow that opens up a second row. Sometimes that row never goes away and locks the home screen and the first row from use even if you try to click the arrow to make it go away.
I reflashed my tablet, and I'm sure GIMP can handle .ani files... it handles just about any image I throw at it. Once I get the theme installed and up I'll see if I can fix this killer 1 pixel bug.

cstryon 2010-07-29 02:26

Re: [Announce]: Diablo5 Theme (By Kroll}
 
@Kroll: Ok, I sent the fixed .ani files to you.

@mgamerz: I beat you too it :p. But if you want the fixed ones, let me know where to send it and I'll get them to you. It's nice to have multiple opinions.

I noticed the blue arrow thing not going away. But it's never locked up my desktop. But it's pretty rare that I ever have to many things in my status bar, to cause it to give me the blue arrow.

Mgamerz 2010-07-29 04:11

Re: [Announce]: Diablo5 Theme (By Kroll}
 
It's really common for me.
I have... lets see.

Always:
Wifi/Connections
Chat/rtcomm
Bluetooth (When in 'Online' Mode) (sometimes off) (I do use bluetooth a lot)
Advanced Power Monitor
Advanced Backlight-Volume
Application Menu
App Switcher (Because without notification of chat's and emails it sucks. This really needs a fix)
MiniGPSD (might remove... doesn't work with Navit)

Others:
Vagalume (Wish I could hide it to the tray)
Xchat (kind of annoying in the tray)

and since that is 8, I almost always have the arrow which has made me restart hildon-desktop... which apparently unmounted my sd cards, internal and external (only partition 2 of my cloned os on mmc2)
I'm not sure if it's version specific. Right now I just reflashed and am going to test out some software in extras-devel. Some software that I know, like advanced power and minigpsd. Not just random stuff. If it dies I can repartition and reclone the clean flash os i have on the original fs. I'm about to do the icon thing myself actually. I just installed ssh so I can get the .ani file. It'll be quicker and I'll suffer less =]

Edit: .ani files are linux apparently. .cur are for windows. I'm on windows and gimp doesn't read it, and the plugin for it that supports it is outdated and doesn't work with 2.6.8... so you should PM me a link to those spinners or upload them to like mediafire in a zip and lemme get them :]
ASAP!

giladmttw 2010-07-29 08:58

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Don't install advanced power, it's buggy.

Kroll 2010-07-29 18:37

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Now I know what blue arrow you are talking about. I had a freezed second "level" of status bar only twice. I suspect two things: application applet which is not supposed to be in statusbar ('cause it is from Task Navigator panel) or it is because of terrible statusbar's second level background, lol.
I thing it is because of applications applet.

Chris, thanks for .ani
I already sent it to Mitrandir.

By the way, IMO advanced power is not buggy at all.

Mgamerz 2010-07-29 19:05

Re: [Announce]: Diablo5 Theme (By Kroll}
 
I have noticed that when the battery gets low at like 15% it says it has .3%. And sometimes it doesn't seem to have the icon attach to the daemon so it says that the battery is dead but it doesn't have any connection, and sometimes stays red if the charger is connected and says 'charger_connected'. That's all. I'm going to be trying out some stuff from extras devel on my mmc2 installation. I just finished making a nice image on the rootfs so if stuff hits the fan I can just recopy that over the broken one (and all my stuff will be automagically installed already!)
If you could expand hildon's bar, that would be great. Although you might not be able to do that in a simple package.. but I would love more space for that. The bar is kinda useless except for the email program saying new emails.

Mitrandir 2010-08-05 07:55

Re: [Announce]: Diablo5 Theme (By Kroll}
 
1 Attachment(s)
I'll just leave it here... :)

(it required my custom build of libhildondesktop0)

giladmttw 2010-08-05 09:59

Re: [Announce]: Diablo5 Theme (By Kroll}
 
woooooooooooohoooooooooo !!!!!!
I waited so long for someone to hack that.
Mitrandir you are wizard, no guru has come before you to unleash the power of the ancient status bar. No one had the courage to fight the source of the mighty Hildon in the cave of Bora and resurrect the lost icons of matchbox ! Long live Mitrandir !

gazza_d 2010-08-05 12:32

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Mitrandir!!! One word - Genius!!!

That is a massive step forward. Can we have a quick deb knocked up so it can be tested.

I propose that once tested, that it is submitted for inclusion in any future community SSU. It is that big a deal.

Mitrandir 2010-08-05 13:57

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Oh, my great sires, it was not too hard. I just travelled to the far far away land to the Keeper of the ancient treasures of Repository and he had challenged me with the riddles. After the final riddle he gave to me the Golden Chest with TAR.GZ letters engraved on it. Then he pointed me to the Most High Mountain of SDK, which stands on the VMWare island, saying that on this only mountain the Prophecy shall come true. On the top of the Mountain i had called to the ancient spirit of Scratchbox The Almighty and for three days and three nights i was meditating on the ancient scrolls which were hidden in the Golden Chest for many years. And after this i had casted the powerful Spell of DPKG-BuildPackage and the Army of Souls of Brave Hackers appeared in front of me and the GCC The Wise gave me the Golden Key named DEB. And with this key i had unleached the ancient power of Statusbar which was captured in the cave of Bora by the mighty Hildon...

(sorry for my english guys :) )

cstryon 2010-08-05 14:37

Re: [Announce]: Diablo5 Theme (By Kroll}
 
I am glad I know such geeks.

giladmttw 2010-08-05 15:06

Re: [Announce]: Diablo5 Theme (By Kroll}
 
The magic of the status bar should be kept in village of the community ssu, and Mitrandir shall be the guardian of the holy package of debian.

I too have climbed the walls of VMware on the shores of puppy linux but lost my way in the sands of sandbox.

Mitrandir 2010-08-05 15:10

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Okay, now the small instruction for brave ones:
1. Make sure that you have libhildondesktop0, hildon-desktop and libhildonwm0 packages of exactly version 1:2.0.18-1fix1 and not, for example, 1:2.0.18-1fix1-1 or 1:2.0.18-1fix1-2. You can check it with this:
Code:

apt-cache policy libhildondesktop0 hildon-desktop libhildonwm0
It also seems that if you have installed patch for locking home applets from qwerty12, you must remove it and install regular version before.
2. Install this with “dpkg -i”: libhildondesktop0_2.0.18-1fix1-12applets_armel.deb. This package has 12 applets limit instead of 7.
3. You must also alter matchbox theme.xml to make space for more applets in statusbar. Below are my modifications of Echo theme, you can modify your one in the same manner. Statusbar should be increased to hold 5 more applets which equals to 5×40px = 200px.

/usr/share/themes/echo/matchbox/theme.xml:

Old:
Code:

<layer x="35" y="9" w="283" h="30"·
  type="label" color="osso-TitleTextColor" justify="left" font="osso-TitleFont" />

New:
Code:

<layer x="35" y="9" w="104" h="30"·
  type="label" color="osso-TitleTextColor" justify="left" font="osso-TitleFont" />

Old:
Code:

<button x="3" y="0" w="315" h="60" action="custom" options="inputonly,pressonly" />
New:
Code:

<button x="3" y="0" w="115" h="60" action="custom" options="inputonly,pressonly" />
Old:
Code:

<panel x="-372" y="0" w="280" h="50" />
New:
Code:

<panel x="-572" y="0" w="480" h="50" />
I have also changed background image in /usr/share/themes/echo/images/qgn_plat_application_status_bar_background.png to make window title “tab” narrower.

4. Reboot

Mitrandir 2010-08-05 15:28

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Before this can be suggested to Community SSU guys, we must find some convenient way to specify number of applets in some configuration file. This 12-applets version cannot be used with regular themes without modifications, because when user will select more than 7 applets, the dropdown arrow button will not be visible with usual theme. So, this parameter should be configurable. I have no idea at the moment, which config file is right for this option. Need to investigate it a bit more.

So, the magic of the Statusbar shall be strengthened and adorned by modest wanderer Mitrandir before he could give it to the elders of Community SSU village...

Btw, giladmttw, the ‘7’ digit was not in the place you have pointed a couple of pages ago. It was for Bora, but in Diablo the Seven was hidden in the bowels of the sources, and even not #defined! But thanks for your hint! :)

giladmttw 2010-08-05 16:36

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Yes indeee, I have witnessed the evil seven elsewhere too. Now wise Kroll must train his army of pixmaps for the battle of the twelve icons:

http://img683.imageshack.us/img683/6...eenshothlc.png

cstryon 2010-08-05 18:11

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Wow that looks great! Giladmttw, what app do you use for the clock in the status bar?

I'm not quite ready to try all those patches and setting changes, I've had to reflash my NIT these last few days for some things I screwed up. Is there any chance we can put all these together in one or two quick steps? And is it possible to reverse it in one or two?

gazza_d 2010-08-05 18:17

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Be careful if you are doing this the hard way, and not waiting until a package is released, cos I have now managed to drop my N810 into a reboot loop. I reckon it must be the theme.xml file I have managed to screw somehow.

Make sure you take a backup first!! I should know better!

Mitrandir 2010-08-05 18:40

Re: [Announce]: Diablo5 Theme (By Kroll}
 
giladmttw, great screenshot!

Guys, please don't try to follow the instructions UNLESS you're really know what you are doing. As usual, i'm not liable if the instruction will break your device, make it unusable or make it realize itself and run away from you.

We need to think about some good way for end users to get this updated hildon-desktop...
(of course updated hildon-desktop should include some more good patches, such as locking of home applets and allowing to override notifications)
Of course, we can append somethink like ‘-1’ to version of libhildondesktop0, publish it somewhere and make Diablo5 depend on it, so users will get patched version automagically. But 1) i'm not sure that maemo.org repository scripts will allow to add patched libhildondesktop0 to Extras or Extras-Devel; 2) if next iteration of Community SSU will choose the same suffix for it's hildon-desktop, users won't get hildon-desktop from SSU; 3) users who have osso-software-version-rxNN installed will have to remove it, because osso-software-version-rxNN depends on strict version numbers of built-in packages.
(It is possible to include patched /usr/lib/libhildondesktop0.so into diablo5 package and replace installed one with it, but it is terribly ugly way).

I think we should ask for advice one of Elders of Community SSU village. lma? Stskeeps?

giladmttw 2010-08-05 19:13

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Quote:

Originally Posted by cstryon (Post 776845)
Wow that looks great! Giladmttw, what app do you use for the clock in the status bar?

I'm not quite ready to try all those patches and setting changes, I've had to reflash my NIT these last few days for some things I screwed up. Is there any chance we can put all these together in one or two quick steps? And is it possible to reverse it in one or two?

The clock is large-status-bar-clock, it has a bug in its configuration if you tick "enable alarms" it will kill the desktop somtimes, otherwise it's stable. Don't do any changes yet, I've played with the theme before and know what do if it breaks. Any change to theme.xml that is not right can make the desktop in load/crash loop. I boot from SD so it's easy to take the card out, mount on PC and change back.
It might be possible to use matchbox-remote to change the theme, sleep and change back, but I haven't tried it.

Mitrandir 2010-08-05 19:20

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Quote:

Originally Posted by giladmttw
It might be possible to use matchbox-remote to change the theme, sleep and change back, but I haven't tried it.

Yes, it will work. Very fast, by the way :)

giladmttw 2010-08-05 19:32

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Portraite mode might introduce a problem with a big status bar. Here I put advanced-backlight out of reach:

http://img641.imageshack.us/img641/6...reenshotaj.png

Mitrandir 2010-08-05 19:36

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Ouch!

Why statusbar gets shifted to the right?.. Its strange...

Btw, applets are 40×50px. 12 applets × 40px = 480px = whole screen in portrait mode.

giladmttw 2010-08-05 20:20

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Quote:

Originally Posted by Mitrandir (Post 776940)
Ouch!

Why statusbar gets shifted to the right?.. Its strange...

Btw, applets are 40×50px. 12 applets × 40px = 480px = whole screen in portrait mode.

I reduced my plugins to 8 so now (12-8)*40=160 pixels to the left of my status bar, waiting to be filled by plugins as they enter the trey from the right.

Mitrandir 2010-08-06 03:51

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Okay, 12 seems to be too much. Anyway, this number must be configurable without reinstallation of libhildondesktop0. I will try to investigate the Sources of the Mighty Hildon to find some good way to load it from some config.

darrennewman@sky.com 2010-08-06 09:01

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Not sure if im being a bit slow here but I found you can put the Web Bookmarks from the old navigator panel on the status bar. You need to copy hildon-task-navigator-bookmarks.desktop from /usr/share/applications/hildon-navigator/ to /usr/share/applications/hildon-status-bar/. On the downside the icon is a bit big and the menu's background shows up as white in this theme, but its nice to be able to reach your bookmarks straight from the desktop. Its the only thing I missed since switching to this great theme.

Mitrandir 2010-08-06 09:04

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Yes, navigator applets and statusbar ones are compatible

maacruz 2010-08-06 18:50

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Quote:

Originally Posted by Mitrandir (Post 777334)
Okay, 12 seems to be too much. Anyway, this number must be configurable without reinstallation of libhildondesktop0. I will try to investigate the Sources of the Mighty Hildon to find some good way to load it from some config.

Mitrandir, have a look at this patch from qwerty12: http://qwerty12.qole.org/hildon-desk...-1fix1.diff.gz
It implements just that for the lock desktop applets patch, so it would be almost copy-paste to do the same for the statusbar applets

Kroll 2010-08-06 23:06

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Good news indeed.
Now I have to find PC with Photoshop to edit the backgrounds for statusbar.

Omicron-06 2010-08-06 23:38

Re: [Announce]: Diablo5 Theme (By Kroll}
 
I don't if this is related with project or not,:rolleyes: but I just saw this video youtube:
http://www.youtube.com/watch?v=RGf_4BUL3J8.
i was wondering are these two themes related.
Also wondering if you guys do know where i can find that theme, please tell cause i tried his but didn't work!:(

Kroll 2010-08-06 23:51

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Quote:

Originally Posted by Omicron-06 (Post 778364)
I don't if this is related with project or not,:rolleyes: but I just saw this video youtube:
http://www.youtube.com/watch?v=RGf_4BUL3J8.
i was wondering are these two themes related.
Also wondering if you guys do know where i can find that theme, please tell cause i tried his but didn't work!:(

That is my old video. And this is an old version of Diablo5.
Please look at the first post, there is as instructions how to install this theme.

Mitrandir 2010-08-07 09:50

Re: [Announce]: Diablo5 Theme (By Kroll}
 
maacruz
Sure, GConf! How could i forget!
I knew that qwerty12's patch is storing lock flag in gconf, but i have totally forget about this great place to store configuration of everything.
Thank you!

polycarbonate1 2010-08-09 00:47

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Quote:

Originally Posted by Jucato (Post 758740)
I'd just like to ask, are there any known issues with Diablo5+Telescope and power consumption? My battery seems to be getting drained a lot quicker these days ever since I reflashed + installed Diablo5 and Telescope and http://wiki.maemo.org/Rotation . But I'm actually not sure if it's the theme or the Rotation stuff that's draining the battery faster.

Losing the sidebar by using Diablo5 is really great, but my battery is suffering too. Monitoring CPU load shows the device is still doing basically nothing. This suggests to me that something may be happening along the lines of how VLC can prevent my laptop's CPU going into low power mode. Any possibility of this?

Telescope is cool an' all, but is there any way to get the original functionality back, mainly for the task switcher icon? I realise holding the task switcher hardware key works, but please, where did the ability to minimise windows go?

Mitrandir 2010-08-09 03:42

Re: [Announce]: Diablo5 Theme (By Kroll}
 
I don't think telescope could reduce battery life. When it is hidden it does nothing except handling X11 events. And here will not be any if other applications on the tablet do not do any drawing.
(To be honest: latest unstable release, 2.0~rc1, has a problem with D-Bus mainloop, which can affect power consumption (potentially, but i don't think this is a case). But it is only in 2.0~rc1 and will be fixed in final version.)

Anyway, you can remove telescope and check if you battery will feel better.

Native taskswitcher icon in bottom left corner of the screen is isn't affected by telescope in any way, it is still usable.
To make Hom hardware key to call native task switcher instead of telescope -- just remove telescope :)

To minimize all windows with telescope you can either press-and-hold Home key or press it shortly to call telescope and then tap on any empty place (background).

Mgamerz 2010-08-19 05:19

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Quote:

Originally Posted by giladmttw (Post 776917)
The clock is large-status-bar-clock, it has a bug in its configuration if you tick "enable alarms" it will kill the desktop somtimes, otherwise it's stable. Don't do any changes yet, I've played with the theme before and know what do if it breaks. Any change to theme.xml that is not right can make the desktop in load/crash loop. I boot from SD so it's easy to take the card out, mount on PC and change back.
It might be possible to use matchbox-remote to change the theme, sleep and change back, but I haven't tried it.

I think Console-Tools has a option in the pb command to chroot (or something to that effect) into a cloned partition. My internal flash is an image I can clone over thats stable and has what i want on it. my internal memory (810) houses my devels-ridden installation. I want to test your multiple icons extender, but am still too much of a linux noob (even though I have a mediatomb media server)...

Mgamerz 2010-08-19 06:13

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Quote:

Originally Posted by Mitrandir (Post 776638)
Okay, now the small instruction for brave ones:
1. Make sure that you have libhildondesktop0, hildon-desktop and libhildonwm0 packages of exactly version 1:2.0.18-1fix1 and not, for example, 1:2.0.18-1fix1-1 or 1:2.0.18-1fix1-2. You can check it with this:
Code:

apt-cache policy libhildondesktop0 hildon-desktop libhildonwm0
It also seems that if you have installed patch for locking home applets from qwerty12, you must remove it and install regular version before.
2. Install this with “dpkg -i”: libhildondesktop0_2.0.18-1fix1-12applets_armel.deb. This package has 12 applets limit instead of 7.
3. You must also alter matchbox theme.xml to make space for more applets in statusbar. Below are my modifications of Echo theme, you can modify your one in the same manner. Statusbar should be increased to hold 5 more applets which equals to 5×40px = 200px.

/usr/share/themes/echo/matchbox/theme.xml:

Old:
Code:

<layer x="35" y="9" w="283" h="30"·
  type="label" color="osso-TitleTextColor" justify="left" font="osso-TitleFont" />

New:
Code:

<layer x="35" y="9" w="104" h="30"·
  type="label" color="osso-TitleTextColor" justify="left" font="osso-TitleFont" />

Old:
Code:

<button x="3" y="0" w="315" h="60" action="custom" options="inputonly,pressonly" />
New:
Code:

<button x="3" y="0" w="115" h="60" action="custom" options="inputonly,pressonly" />
Old:
Code:

<panel x="-372" y="0" w="280" h="50" />
New:
Code:

<panel x="-572" y="0" w="480" h="50" />
I have also changed background image in /usr/share/themes/echo/images/qgn_plat_application_status_bar_background.png to make window title “tab” narrower.

4. Reboot

Sorry to double post.
But my leafpad isn't working and nano is segmentation faulting on me. I fear if I reboot my installation will die, as I installed the new hildon stuff in this post.... but its turning it back into the echo theme it looks like?
I can't find where in the theme.xml file your values are posted.
Guess i'll next try on a desktop from an SCP'ed copy and use it instead.
Update: Yeah I figured they would be different. However I am going to try some values based on mathematical calculations of difference for what has been posted for the echo theme to the Diablo5 theme. Also, I lost my osso-softwareversion-rsXX (or whatever it is called), so now I can't use SSU. Hope there isn't any great updates or I might have to reimage this.
Update: I completely forgot that in echo the buttons are on the left compared to Diablo5 being on the right, so now all my icons are gone. Also the hacked up files you posted seem to only work on the echo theme, either that or I just don't remember what Diablo5's normal home screen looked like.

Mitrandir 2010-08-19 06:49

Re: [Announce]: Diablo5 Theme (By Kroll}
 
libhildondesktop0 that i have posted works with any theme, but without tweaking matchbox's theme.xml file you will not see additional statusbar icons because they will probably be hidden by other desktop elements.

Also, Diablo5 theme may have totally different contents of theme.xml and it might not be so easy to guess what needs to be changed... Ask diablo5 users and may be someone could hint what to change. I'm personally not using diablo5.

Please notice that theme.xml should be accessed under root user.

Mgamerz 2010-08-19 14:55

Re: [Announce]: Diablo5 Theme (By Kroll}
 
The echo theme.xml and diablo5 theme.xml are different since the themes are different, however, they use the same layout template as nokias echo theme.

mfortner 2010-08-23 14:17

Re: [Announce]: Diablo5 Theme (By Kroll}
 
I admit I'm not as advanced as most of you, but I'm learning.

Looking at MalamiR's copy & paste fix I thought I'd apply the fix via sftp since thats more familiar to me. Long story short my edits did not restore copy and paste.

I changed X-Size-Width=0, X-Size-Height=0 (in [Tasknavigator] group change) in "desktop.conf" and "pre_diablo5 desktop.conf." I kept the old files by changing adding .bak to their names and added to edited ones. I rebooted via terminal. No copy and paste.







Quote:

Originally Posted by MalamiR (Post 709013)
Hello.
I found how to solve "copy/paste" virtual keyboard bug.
In Xterm go to /home/user/.osso/hildon-desktop/
run "cp desktop.conf desktop.conf.old"
run "cp desktop.conf.pre_diablo5 desktop.conf"
edit following in "desktop.conf"
in [Tasknavigator] group change
X-Size-Width=0
X-Size-Height=0
Save file and reboot tablet
Voala you have working vkb menu


Kroll 2010-08-23 17:26

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Yes, it is a simplest way to do it.
I already did all this changes, but Mitrandir found a way to increase quantity of applets in the statusbar so I wait for him... When he will find a way how to implement wide statusbar to the hildon I will make a new backgrounds and we will release next version.
Sorry for delay...

cstryon 2010-08-23 18:47

Re: [Announce]: Diablo5 Theme (By Kroll}
 
Eager to see the next release. I'm currently taking EMT classes so I don't have as much time as I used to. But now that I have a pretty good idea of high .ico and .ani files work, I can help in that aspect when time permits it. Let me know if there is anything I can do.


All times are GMT. The time now is 18:23.

vBulletin® Version 3.8.8