Creating KDM themes - A useful tip

KDM4 Themes

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

3
Become a Fan
6.5

Description:
If you are creating KDM themes (either for KDE3 or KDE4) you may find it very tiring of restarting the Xserver everytime that you change something in the xml file and want to see how it looks.

I recently came across a very nice way of checking your KDM theme from within the current session without having to restart the Xserver. It also allows you to easily take screenshots of your theme using the ksnapshot.

The following instructions originate from the user moonrise (see link below). I upload them here as well.

http://kubuntuforums.net/forums/index.php?topic=3089403.msg135907#msg135907


Here is what you have to do:

1. Install Xephyr... Either through Adept Manager or through konsole:
"sudo apt-get install xserver-xephyr"

2. Edit "/etc/kde4/kdm/kdmrc" with kate as root.
konsole: "kdesudo kate /etc/kde4/kdm/kdmrc"


Change: [Xdmcp]
Enable=false

to: [Xdmcp]
Enable=true

3. Edit "/etc/kde4/kdm/Xaccess" with kate as root.
konsole: "kdesudo kate /etc/kde4/kdm/Xaccess"

Change: #* #any host can get a login window

to: * #any host can get a login window

4. Reboot your system.

5. After rebooting. Log in. Start Konsole.
In konsole: "Xephyr -query localhost -screen 800x600 :1"

if the last command gives you a black sceen, try:

"Xephyr :1 -query 127.0.0.1 -screen 800x600"

6. This should bring up a screen @ the designated resolution of 800x600. You can play with the resolution to check if your theme looks fine under different resolutions.

7. You can also use "Ksnapshot" to make a screen shot of the resulting screen that appears.

8. If you are using KDE3 change the word "kde4" to "kde3".

Note that you do not have to install-uninstall your theme everytime you make a change in the xml file. Instead, edit directly your installed xml file (for example, the one in "/usr/share/apps/kdm/themes/your_theme") and then call Xephyr. You will see that the changes have taken place.

Ratings & Comments

4 Comments

bdheeman

Aye! you forget to mention a nice tool xnest(1), the same can also be achieved using Xnest server/client: Xnest :1 -query localhost I also second, that editing and modifying files in /usr/share/apps/kdm/themes/<whatever> is better option, though not the best.

bdheeman

Aye! you forget to mention a nice tool xnest(1), the same can also be achieved using Xnest server/client: Xnest :1 -query localhost I also second, that editing and modifying files in /usr/share/apps/kdm/themes/<whatever> is better option, though not the best.

nexxuz

This post is needed. That process is exactly what I do. Although I do wish there was an easier way still other than: edit file, tar it, uninstall old, install new, start xypher. And do that over and over and over.

linuxfever

No, what you will do is edit directly the xml file from /usr/share/apps/kdm/themes/"your_theme_name" and then load Xephyr. If you do not like what you see then continue editing the xml file in the above directory. You do NOT have to tar, untar etc.. :-)))

Pling
0 Affiliates
Details
license
version
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 3

More KDM4 Themes from linuxfever:

Organic
linuxfever
last update date: 15 years ago

Score 6.5

simply-linux
linuxfever
last update date: 16 years ago

Score 5.0

lzfy
linuxfever
last update date: 16 years ago

Score 7.6

Other KDM4 Themes:

Stearman C3B
starwolf
last update date: 15 years ago

Score 5.0

Amiga KDM 4 Theme
uwelauke
last update date: 14 years ago

Score 5.8

Windows 7 Login Screen Pack
feren-os-team
last update date: 9 years ago

Score 5.3

F.B.I theme
Morttis
last update date: 14 years ago

Score 5.1

Parma Fc
517everapexx
last update date: 15 years ago

Score 5.0

Earth_KDM
AsTheyWereDying
last update date: 16 years ago

Score 5.0



System Tags