Use debug version for debug menu entry, desktop file now validates, add info...

Use debug version for debug menu entry, desktop file now validates, add info about menu entries to README
parent 179c617c
......@@ -107,6 +107,8 @@ you risk messing up preferences and extensions and also testing the wrong versio
If your desktop environment allows files in your Desktop directory to appear on the desktop (on Unity, this does not seem to work,
but on Xfce, it does), just double-click one of the two new files on your desktop to execute. Else navigate to the folder and double-click the file, or run it via terminal.
The script also creates a menu entry that you can find in the 'Graphics' category, next to your normal Inkscape installation. Some menus don't update on their own (e.g. the Xfce applications menu). In that case, you can still start the script manually, or you need to reload your desktop environment (or plain reboot).
#### Step 5a: Start Inkscape for using / general testing
If you just want to play around or judge performance, use the one whose name does not start with 'Db' (for 'debug'). Debugging slows Inkscape down, so this one has a better performance.
......@@ -137,4 +139,4 @@ To remove one of them, do:
sudo dpkg --remove package_name_from_the_list
```
Now you can also delete the corresponding 'start button' on your desktop, and the corresponding preferences directory in ~/.config/.
Now you can also delete the corresponding 'start button' on your desktop, and the corresponding preferences directory in ~/.config/, the build directory for the branch, and the desktop file in ~/.local/share/applications.
......@@ -60,13 +60,15 @@ function create_menu_entry () {
echo "[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=$1
Comment=$2
Exec=$3
Icon=application.png
Icon=inkscape
Terminal=$4
Categories=Graphics;
" > $MENU_ENTRIES_DIR/$5
xdg-desktop-menu install $MENU_ENTRIES_DIR/$5
}
......@@ -232,7 +234,7 @@ chmod +x $STARTER_FILE_DEBUG
create_menu_entry "Inkscape ($BRANCH)" "Inkscape Custom Build ($DATE, revision $REVISION)" $STARTER_FILE false inkscape-$BRANCH.desktop
create_menu_entry "Inkscape Debug ($BRANCH)" "Inkscape Custom Debug Build ($DATE, revision $REVISION)" $STARTER_FILE false inkscape-$BRANCH-debug.desktop
create_menu_entry "Inkscape Debug ($BRANCH)" "Inkscape Custom Debug Build ($DATE, revision $REVISION)" $STARTER_FILE_DEBUG false inkscape-$BRANCH-debug.desktop
echo "Start your Inkscape installation by executing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment