maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   Share your QtLockscreen configs! (https://talk.maemo.org/showthread.php?t=75187)

ricardo8 2011-08-17 04:10

Re: Share your QtLockscreen configs!
 
any landscape of the iphone lockscreen?

negus72 2011-08-17 04:46

Re: Share your QtLockscreen configs!
 
1 Attachment(s)
hi,

this is my first lockscreen.

don_falcone 2011-08-17 07:57

Re: Share your QtLockscreen configs!
 
Quote:

Originally Posted by B-RUNO (Post 1069948)
hello to all, may a suggest for those who have a bit of knowledge in pack deb file, to pack the unlock theme so it can be more easier to us swap between themes, placing only the ini. files in a different file so we just replace the ini.file to change the unlock theme, just a idea what do you think?

Just some 'thoughts" for better theme management / quality:

/opt/qtlockscreen/default/ is the default theme - i wouldn't use it to store your custom images / overwrite files in there etc.
-> better create a directory with your theme name under /opt/qtlockscreen/ and put everything there

Quote:

copy QtLockscreen.ini to /home/user/.config/sakya/
-> i include this file in /opt/qtlockscreen/<themename> too, and (currently) simply symlink it to /home/user/.config/sakya/QtLockscreen.ini so i do not have to overwrite settings every time; this enables theme switching
-> this file also uses 'ThemeName = <themename>' instead of "Default" internally

As for the backgrounds like all other customized images, i also include them in /opt/qtlockscreen/<themename> as backgroundL.* / backgroundP.*

So basically the lockscreen theme is self-contained and can be more easily distributed, and will not mess up your /home/user/MyDocs/.images too with several image files that are not used for desktop backgrounds.

A Debian package will only make the installation procedure easier, but will not 'fix' guys spreading files all over the place. You should avoid that. That's the main reason why i oppose doing so.

sakya 2011-08-17 08:05

Re: Share your QtLockscreen configs!
 
@don_falcone: Thanks, I was about to write something similar.
I plan to code a small app to choose from the themes stored in /opt/qtlockscreen (that's why I added the themename to the configuration file):
Code:

ThemeName="Default"

don_falcone 2011-08-17 08:45

Re: Share your QtLockscreen configs!
 
Merci beaucoup ;) I like it organized (i'm also not that kind of person that installs every application right in their "proposed" default location under Windows...)

laith.m.y 2011-08-17 10:33

Re: Share your QtLockscreen configs!
 
Quote:

Originally Posted by ricardo8 (Post 1071552)
any landscape of the iphone lockscreen?

I dont think so because images widgets appear in the both landscape and portrait , and they are small to fit portrait mod but they dont fit landscape mod

@ Sakya

can I load images in image widget only for portrait mod or only for landscape mod ??????? :confused:

lingling92 2011-08-17 11:53

Re: Share your QtLockscreen configs!
 
Quote:

Originally Posted by laith.m.y (Post 1071519)
I made some changes to the lockscreen , and you will like it :D

it become much more clear without stripes ;)

and I had an idea for mediaplayer widget , but if you want I will upload it without mediaplayer widget because I'm not sure I can make it tomorrow :rolleyes:

sounds good :)

if you want you could send me the lockscreen in a pm...

but i wouldn't release too much different lockscreens to keep the oversight...:)

just take as long time as you need

don_falcone 2011-08-17 13:46

Re: Share your QtLockscreen configs!
 
sakya,

can we user variables or local referencing?
i.e.,
$CURENT_THEME or the like to include images from hildon themes installed
BackGroundP="image_here.jpg" to include images from the same directory? Or is the fully qualified path needed?

sakya 2011-08-17 14:18

Re: Share your QtLockscreen configs!
 
Quote:

Originally Posted by don_falcone (Post 1071803)
Or is the fully qualified path needed?

The full path is needed.
But /etc/hildon/theme is a symlink to the current theme.

qw3rty 2011-08-17 14:28

Re: Share your QtLockscreen configs!
 
Quote:

Originally Posted by laith.m.y (Post 1071701)
I dont think so because images widgets appear in the both landscape and portrait , and they are small to fit portrait mod but they dont fit landscape mod

@ Sakya

can I load images in image widget only for portrait mod or only for landscape mod ??????? :confused:

Can't you just place the image off screen in landscape (say PosL="1000,1000" :P) or size 0? That's what I usually do with other widgets, I duplicate them and use one for portrait and one for landscape.


All times are GMT. The time now is 20:39.

vBulletin® Version 3.8.8