SliTaz SliTaz Forum

You are not logged in.

#1 2013-01-07 22:50:10

oui
Member
Registered: 2012-09-05
Posts: 298

lyx

I did install Lyx

and I did find no entry in the menu

How to add a menu item without to disturb the menu generator?

kind rgds

Offline

#2 2013-01-08 08:58:08

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: lyx

Hi oui ...

make a new file named lyx.desktop in /usr/share/applications

open it and add:

[Desktop Entry]

Version=1.0

Type=Application

Name=LyX Document Processor

GenericName=Document Processor

Comment=High level LaTeX frontend

Exec=lyx %F

TryExec=lyx

Icon=lyx

StartupNotify=false

StartupWMClass=Lyx

Terminal=false

Categories=Office;WordProcessor;Qt;

MimeType=text/x-lyx;application/x-lyx

To show a icon, it require a icon named lyx.png stored in /usr/share/pixmaps

Offline

#3 2013-01-08 09:46:11

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: lyx

Well done, HMA!

Oui, you can try

[c]Icon=/usr/share/lyx/images/lyx.png[/c]

And you can put this file to ~/.local/share/applications instead of /usr/share/applications if you don't want to change system files with root access. This will install application launcher (.desktop) to only this user. Create hidden folder ".local" in your home folder if it not exists, and other needed subfolders.

http://damienradtke.org/linux-application-devel-3/

I think, we'll add this .desktop file to lyx package soon.

Offline

#4 2013-01-08 10:06:09

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: lyx

Hi Aleksej ...

... very interesting! I didn't know this.... very useful for individual user menus ....

thx for the hint! smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]