maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce / WIP] Theme Customizer (https://talk.maemo.org/showthread.php?t=62960)

d-iivil 2010-10-17 17:52

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by leetut (Post 843457)
latest update had killed me!
nothing in 'settings' will open
microb 'page loading bar' is now strange
cant see new sms input box
and my manualy applied font had changed to something with a tiny font

edit: removed app, settings now works, but phone font is still not the one i put in urs/share/fonts
nosnr.ttf
nosnb.ttf
nscnr.ttf
nosns.ttf

is there a link to the previous version anywhere?:)

You shouldn't mess with nos*.ttf files when using customizer.
My diagnose is:
- something went wrong when applying new settings and ****ed gtkrc -file
- uninstalling app restored original gtkrc file and made the device work again
- you still see wrong font since you have manually replaced Nokia fonts with something else and / or you haven't rebooted the device

Next time this happens; open up terminal and type (without root etc):
/sbin/launchcustomizer restorefilespushed

That will restore all original files. Then try to run customizer again.

I'll try to tweak the applying settings process more failproof in next release.

leetut 2010-10-17 18:33

Re: [Announce / WIP] Theme Customizer - customize your N900
 
working great again after simply reinstalling!
ive had the original nokia fonts changed since last year and have never edited any other font files, must have been just this update, all the others were fine, and i appreciate all the work you do on the updates, look forward to them actually! so cheers again dude

GaRy delaMEr 2010-10-17 21:08

Re: [Announce / WIP] Theme Customizer - customize your N900
 
1 Attachment(s)
Hi

French translation 0.9-24

AlMehdi 2010-10-17 23:03

Re: [Announce / WIP] Theme Customizer - customize your N900
 
I got leetuts problem too.. looks like when you use sudo. Like ui are missing the hildonization. I have never changed anything. will revert back as d-livi proposed.

edit: Everything went back to nornal after reverting the gtkrc :)

d-iivil 2010-10-18 04:42

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by AlMehdi (Post 843683)
I got leetuts problem too.. looks like when you use sudo. Like ui are missing the hildonization. I have never changed anything. will revert back as d-livi proposed.

edit: Everything went back to nornal after reverting the gtkrc :)

I think I found the bug. Will upload an update later today :)

d-iivil 2010-10-18 07:06

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Okay, version 0.9-25 is on it's way to devel. I hopefully got fully fixed the issues leetut and AlMehdi have faced.

After upgrading this version your theme files are no longer automaticly restored to the original ones. However the current 0.9-24 (and older) still has prerm -script that does that, if you don't want to revert back to defaults while upgrading to 0.9-25, run this @ terminal:
Code:

sudo gainroot
rm /var/lib/dpkg/info/theme-customizer.prerm

Complete changelog for this version is:
* uninstaller won't automaticly restore theme backups, user can restore original files anytime from the program itself
* added ability to set opacity of top menu bar at homescreen
* improved error handling when applying settings

thej80 2010-10-18 13:49

Re: [Announce / WIP] Theme Customizer - customize your N900
 
updated to 0.9-25. and tested some schemes and different settings, and i noticed that the statusbar opacity changer doesn't remember the value it was set earlier.

d-iivil 2010-10-18 14:50

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by thej80 (Post 844125)
updated to 0.9-25. and tested some schemes and different settings, and i noticed that the statusbar opacity changer doesn't remember the value it was set earlier.

That's weird, it works fine on my device. What setting it reverts to then?

thej80 2010-10-18 15:05

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by D-Iivil (Post 844174)
That's weird, it works fine on my device. What setting it reverts to then?

the bar is full, so 255 was it?

edit: yep. 255

d-iivil 2010-10-18 15:55

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by thej80 (Post 844190)
the bar is full, so 255 was it?

edit: yep. 255

Did you set it to zero and it didn't remember it? I just noticed that there's a tiny bug if you do so :P

thej80 2010-10-18 16:08

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by D-Iivil (Post 844228)
Did you set it to zero and it didn't remember it? I just noticed that there's a tiny bug if you do so :P

yes i set it to zero :)

d-iivil 2010-10-18 16:49

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by thej80 (Post 844238)
yes i set it to zero :)

Okay, good :D Then it's gonna be fixed in next release (which is coming later tonight, I finally got scratchbox running on my N900 so I can now compile stuff on the fly, which means sleepless nights for me from now on :P)

d-iivil 2010-10-18 18:14

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Version 0.9-26 uploaded with following changes:
* fixed bug where opacity set to zero wasn't properly saved as last used value
* changed background changer to crop too large images instead of breaking the aspect ratio

F2thaK 2010-10-19 01:22

Re: [Announce / WIP] Theme Customizer - customize your N900
 
dont know if you know this but "widget opacity" affects the shortcuts, not the widgets.........

d-iivil 2010-10-19 04:30

Re: [Announce / WIP] Theme Customizer - customize your N900
 
1 Attachment(s)
Quote:

Originally Posted by f2thak (Post 844645)
dont know if you know this but "widget opacity" affects the shortcuts, not the widgets.........

It affects all built in widgets that are themeable:
- calendar
- contacts frame
- web
- shortcuts
- media player
- rss widget
- ovi widget
- location widget

F2thaK 2010-10-19 06:45

Re: [Announce / WIP] Theme Customizer - customize your N900
 
okay, I thought shortcuts and widgets were different........ thanks

d-iivil 2010-10-19 07:15

Re: [Announce / WIP] Theme Customizer - customize your N900
 
I just uploaded these icon packs to devel:
http://maemo.org/packages/view/plastic-icon-pack/
http://maemo.org/packages/view/pleego-icon-pack/
http://maemo.org/packages/view/humanity-icon-pack/

These are just that users can now install just the icon packs and this is also for developers who want to create their own icon packs; just get the source of any of those packs and see how the package is made and then create your own and upload to repos :)

AlMehdi 2010-10-19 07:35

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Damn! I which i had more money so i could buy you more beer! ;)

d-iivil 2010-10-19 09:28

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by AlMehdi (Post 844823)
Damn! I which i had more money so i could buy you more beer! ;)

Heh, thanks for the support anyways :)

For those who don't know, sources for all free packages @ devel-repo can be found here:
http://repository.maemo.org/extras-d...e/free/source/
(browse by first letter of the package)

thej80 2010-10-19 11:16

Re: [Announce / WIP] Theme Customizer - customize your N900
 
2 Attachment(s)
could this be the from the image crop thing?

heres the "full picture"
Attachment 14817
and this is the same picture in mediaplayer
Attachment 14818

edit: tested with couple other images too.. and the same thing happends.

d-iivil 2010-10-19 11:48

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by thej80 (Post 844940)
could this be the from the image crop thing?

heres the "full picture"
Attachment 14817
and this is the same picture in mediaplayer
Attachment 14818

edit: tested with couple other images too.. and the same thing happends.

That's a bug with MediaPlayer app if the backgound image is even one pixel too big. Need to test out some more and maybe tune my app a bit.

d-iivil 2010-10-19 11:51

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by thej80 (Post 844940)
could this be the from the image crop thing?

heres the "full picture"
Attachment 14817
and this is the same picture in mediaplayer
Attachment 14818

edit: tested with couple other images too.. and the same thing happends.

Ok, it's my app that does the resizing wrong. Will fix asap :)

Edit: version 0.9-28 just uploaded to repos, will be available in 30mins to upgrade.

thej80 2010-10-19 12:24

Re: [Announce / WIP] Theme Customizer - customize your N900
 
after update it works fine :) thanks!

GaRy delaMEr 2010-10-19 20:54

Re: [Announce / WIP] Theme Customizer - customize your N900
 
1 Attachment(s)
Hi

French translation files for 0.9-28 version.

zvogt 2010-10-20 04:02

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by D-Iivil (Post 844811)
I just uploaded these icon packs to devel:
http://maemo.org/packages/view/plastic-icon-pack/
http://maemo.org/packages/view/pleego-icon-pack/
http://maemo.org/packages/view/humanity-icon-pack/

These are just that users can now install just the icon packs and this is also for developers who want to create their own icon packs; just get the source of any of those packs and see how the package is made and then create your own and upload to repos :)

I wish I could thank you twice for this useful post because it's useful in more than one way :D

felipec 2010-10-20 10:53

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Why does it require ttf-droid? Shouldn't I be able to choose which fonts I want to use?

d-iivil 2010-10-20 10:58

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by felipec (Post 845955)
Why does it require ttf-droid? Shouldn't I be able to choose which fonts I want to use?

Well it doesn't actually NEED it, but I just decided to put it depend on it so that user gets automaticly few new working fonts they can choose from among the ones that are shipped with the device :) I can ofcourse remove this depency and let user to download the droid font if he feels so...

felipec 2010-10-20 11:04

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by D-Iivil (Post 845956)
Well it doesn't actually NEED it, but I just decided to put it depend on it so that user gets automaticly few new working fonts they can choose from among the ones that are shipped with the device :) I can ofcourse remove this depency and let user to download the droid font if he feels so...

That would be better. Also, debian has the option to put packages as "recommendations" rather than dependencies.

I'm trying the app right now, but I'm a bit worried since I'm modifying a system theme. I was expecting an option to save as a different theme rather than modifying the current one.

d-iivil 2010-10-20 11:07

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by felipec (Post 845961)
That would be better. Also, debian has the option to put packages as "recommendations" rather than dependencies.

I'm trying the app right now, but I'm a bit worried since I'm modifying a system theme. I was expecting an option to save as a different theme rather than modifying the current one.

All files are automaticly backed up before they are modified. You can restore all modified files from Theme Customizer's top menu -> restore files, or from terminal:
sudo gainroot
cp -rf /opt/theme-customizer/backups/* /

Thanks for the "recommendations" tip, will use that :)

Edit: and you can always re-install the theme you're messing up with in case nothing else works. Yes, even the built-in ones:
sudo gainroot
apt-get install --reinstall hildon-theme-alpha
apt-get install --reinstall hildon-theme-beta

felipec 2010-10-20 11:16

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by D-Iivil (Post 845964)
All files are automaticly backed up before they are modified. You can restore all modified files from Theme Customizer's top menu -> restore files, or from terminal:
sudo gainroot
cp -rf /opt/theme-customizer/backups/* /

Sure, but then I would loose all my modifications :)

I would be nice if people can save their modifications as different themes.

Also, what happens if I remove the theme customizer? Is the backup erased? Or maybe the user manually removes /opt/theme-customizer/ thinking it's just cruft. Would be nice to just go to the normal theme selection and select back the system one.

All that is needed is a "save as" option.

AlMehdi 2010-10-20 11:56

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by felipec (Post 845971)
Sure, but then I would loose all my modifications :)

I would be nice if people can save their modifications as different themes.

Also, what happens if I remove the theme customizer? Is the backup erased? Or maybe the user manually removes /opt/theme-customizer/ thinking it's just cruft. Would be nice to just go to the normal theme selection and select back the system one.

All that is needed is a "save as" option.

No, this is not needed.. it would only take up extra space. Would you remove the /usr/ folder and then expect the system to work? Also as D-livil said.. if something happens you could always reinstall the themes.

This would be good if you had an app.. let's say.. called Theme Maker.. then it would be more logical. But then it would hold a different feature set.

felipec 2010-10-20 12:03

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by AlMehdi (Post 846009)
No, this is not needed.. it would only take up extra space. Would you remove the /usr/ folder and then expect the system to work?

There is no app that lets you remove the /usr folder. And even if there was, I can always flash and restore everything back to normal, except my theme, which I need to customize again.

Quote:

Originally Posted by AlMehdi (Post 846009)
Also as D-livil said.. if something happens you could always reinstall the themes.

Not through any UI.

Quote:

Originally Posted by AlMehdi (Post 846009)
This would be good if you had an app.. let's say.. called Theme Maker.. then it would be more logical. But then it would hold a different feature set.

This makes as much sense as saying that an image editor should not have a "save as" option, because then it would be an "image maker".

d-iivil 2010-10-20 12:39

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by felipec (Post 845971)
Sure, but then I would loose all my modifications :)

I would be nice if people can save their modifications as different themes.

Also, what happens if I remove the theme customizer? Is the backup erased? Or maybe the user manually removes /opt/theme-customizer/ thinking it's just cruft. Would be nice to just go to the normal theme selection and select back the system one.

All that is needed is a "save as" option.

During uninstall the backups are still kept in case user needs / wants to restore files without using GUI of Theme Customizer.

About that save as -option; something I need to think through... not that impossible to implement (just need to ask user couple of questions; theme name and direcotory to save to), but then he would need to manually go and select that new theme to use after saving the theme with Theme Customizer. But maybe that would work as an option :)

AlMehdi 2010-10-20 14:14

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by felipec (Post 846011)
There is no app that lets you remove the /usr folder. And even if there was, I can always flash and restore everything back to normal, except my theme, which I need to customize again.


Which was little what i meant... if someone removes the theme-cistomizer folder. He shouldn't expect it to work. Was just using your example.

Quote:

Not through any UI.
True

Quote:

This makes as much sense as saying that an image editor should not have a "save as" option, because then it would be an "image maker".
True... i took it like you wanted it to save it automatically. Realizing now that it could be optional. So if you don't want it to make the extra space it wouldn't.

x-lette 2010-10-21 07:35

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by felipec (Post 845961)
Also, debian has the option to put packages as "recommendations" rather than dependencies.

This only makes sense if the user has the ability to browse and manually select recommended packages. Built in application manager doesn't show recommended dependencies at all (at least I've never seen any) and fapman shows dependencies but doesn't offer the ability to select recommended packages. Don't know if other application managers offer this functionality (I've read that aptitude is available, this app would offer the possibility to select recommended or proposed dependencies but is console-based therefore not a solution for the average user as well as apt-get or dpkg on commandline).

d-iivil 2010-10-21 08:11

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by x-lette (Post 846771)
This only makes sense if the user has the ability to browse and manually select recommended packages. Built in application manager doesn't show recommended dependencies at all (at least I've never seen any) and fapman shows dependencies but doesn't offer the ability to select recommended packages. Don't know if other application managers offer this functionality (I've read that aptitude is available, this app would offer the possibility to select recommended or proposed dependencies but is console-based therefore not a solution for the average user as well as apt-get or dpkg on commandline).

Well, never mind about this. I'll just remove the ttf-droid as depency since it's really NOT absolutely necessary for customizer to work :)

Saving new theme -function is now working, will upload new version soon :)

thej80 2010-10-21 08:29

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by D-Iivil (Post 846801)

Saving new theme -function is now working, will upload new version soon :)

if i change for example the lockslider images, will it save those to the theme also?

d-iivil 2010-10-21 09:00

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Quote:

Originally Posted by thej80 (Post 846809)
if i change for example the lockslider images, will it save those to the theme also?

Yep! It will :)

Edit: it will save everything you currently have in your active theme set up.

d-iivil 2010-10-21 09:22

Re: [Announce / WIP] Theme Customizer - customize your N900
 
Uploaded ver 0.9-30 with just small tuning to opacity changer mechanism. Previously the resulting opacity was relative to original image (ie. if you had almost fully transparent image to start with there was no way to get it zero transparent). So now it first makes the original image fully visible (no transparency) and then reduces the transparency to level user has set with GUI.

This way you really can have widgets that don't have any transparency (can't see wallpaper trough the image) or then fully transparent one or anything in between.

must4get 2010-10-21 14:50

Re: [Announce / WIP] Theme Customizer - customize your N900
 
This is a fantastic app. Works great.

Please check out my review with screen shots here

Thanks a lot for the time and efforts...!

:eek:


All times are GMT. The time now is 15:54.

vBulletin® Version 3.8.8