Editing QtLockscreen

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.

Warning: This page is 35 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 332: Line 332:
'''Some guidelines for better theme quality and easier management:'''
'''Some guidelines for better theme quality and easier management:'''
-
 
-
A theme should be composed by:
 
-
- The configuration file (name it themeName.ini) in /opt/qtlockscreen
 
-
- A directory containing the images (name it /opt/qtlockscreen/themeName)
 
-
- Fonts (if needed) to be installed in /usr/share/fonts
 
'/opt/qtlockscreen/default/' is the default theme folder and should not be used to store your custom images or other files, so you should not overwrite or add / delete anything here. It is advised to create a directory that is named as your theme in directory '/opt/qtlockscreen/' and put everything there.
'/opt/qtlockscreen/default/' is the default theme folder and should not be used to store your custom images or other files, so you should not overwrite or add / delete anything here. It is advised to create a directory that is named as your theme in directory '/opt/qtlockscreen/' and put everything there.
-
Please set also 'ThemeName' and 'ThemeAuthor' in your themes - the configuration file has a section for both:
+
The configuration file has a section for the theme name:
-
 
+
<pre>ThemeName="Default"</pre>
<pre>ThemeName="Default"</pre>
Adapt this to reflect the theme namechange internally; so use the value from '<yourthemename>' here.
Adapt this to reflect the theme namechange internally; so use the value from '<yourthemename>' here.
-
The field for theme's author name:
+
Place your customized QtLockscreen.ini in /opt/qtlockscreen/<yourthemename> too, and simply symlink it to '/home/user/.config/sakya/QtLockscreen.ini' by issuing this command:
-
<pre>ThemeAuthor="sakya"</pre>
+
-
Fill both fields to support proper theme switching using the GUI application and follow the general scheme for your themes, so when the GUI utility will be released the themes will be in the correct place.
+
<pre>ln -s /opt/qtlockscreen/<yourthemename>QtLockscreen.ini /home/user/.config/sakya/QtLockscreen.ini</pre>
-
It will be supported to generate Debian packages to install themes in /opt/qtlockscreen and then set it as the active one with the configuration utility.
+
Doing so, you would not have to overwrite settings every time; this enables simple theme switching for now.
As for the backgrounds like all other customized images, it is suggested to include them in /opt/qtlockscreen/<yourthemename> as 'backgroundL.(jpg|png)' for landscape orientation and 'backgroundP.(jpg|png)' for portrait orientation.
As for the backgrounds like all other customized images, it is suggested to include them in /opt/qtlockscreen/<yourthemename> as 'backgroundL.(jpg|png)' for landscape orientation and 'backgroundP.(jpg|png)' for portrait orientation.

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)