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:''' | ||
- | |||
- | |||
- | |||
- | |||
- | |||
'/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. | ||
- | + | 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. | ||
- | + | 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>ln -s /opt/qtlockscreen/<yourthemename>QtLockscreen.ini /home/user/.config/sakya/QtLockscreen.ini</pre> | |
- | + | 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.