This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KMahJonng custom layouts

Tags: None
(comma "," separated)
User avatar
hpfeil
Registered Member
Posts
6
Karma
0
OS

KMahJonng custom layouts

Thu Oct 17, 2019 2:51 pm
Yuri Chornoivan sent me these instructions for adding custom layouts to the KMahJonng Config-Board Layouts. Please forward to the translation team for a new chapter in the KMahJonng Handbook.

1. Create a new directory ~/.local/share/kmahjonng/layouts.
2. Save your Board Editor layout into that directory.
3. Create a matching desktop file using the name of your layout.

For example:
Save new layout as ~/.local/share/kmahjonng/layouts/myNewLayout.layout
Open kate, add entries using an existing desktop file as a template and save it as ~/.local/share/kmahjonng/layouts/myNewLayout.desktop
myNewLayout will appear in Config-Board Layouts at the top of the list (restart KMahJonng, if necessary)

myNewLayout.desktop:
Code: Select all
[KMahjonggLayout]
Name=myNewLayout
Description=A new layout I created using  KMahJonng Board Editor
VersionFormat=1
Author=My Name
AuthorEmail=My Email Address
FileName=myNewLayout.desktop


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell