I'd like to introduce a user-defined menu to Kile.
This is new, early beta stuff that I want to put out for comments.
As there are so many different configurations, settings and a lot of options
to create really crazy-looking user-defined menus, I can't test them all by
myself. So I would feel happy about each bug report, suggestions or whatever
you think is important.
For compiling this version of Kile, I have attached some compilation
If you want to install a local version of Kile without affecting your current
installation, it is recommended to create a new directory, say 'kile-
usermenu'. Then download the source code by cloning Kile's repository and by
checking out the appropriate branch:
mkdir -p kile-usermenu/src
git clone git://anongit.kde.org/kile -b usermenu
Then create a build directory, configure the build system, compile and install
this version of Kile:
cmake ../src/kile -DCMAKE_INCLUDE_PATH=$HOME/kile-usermenu/install/include/ -
make install -j 2
Then, the following lines have to be copied to a file "$HOME/kile-
You have to set the correct permissions for the script "run.sh":
chmod +x $HOME/kile-usermenu/run.sh
and this local version of Kile can be started with:
If the source code was updated, you have to pull the new code
make -j 2
and copy the new executable file to its place
cp src/kile $HOME/kile-usermenu/install/bin
That' all. Run Kile and you will see that
- old user defined tags are transformed and then placed into this new usermenu.
- you can change existing or create new menus with a comfortable usermenu
wizard. Please take a look at the help button to get some more information.
- you can install different menus at runtime for different tasks. If you want an
example to understand action parameter, install 'example.xml' menu file and use
the usermenu wizard to see, how it was implemented.
I'm looking forward to reading your comments.