TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2020-02-16 13:22:00
subject: Re: a .desktop shortcut c

On Sun, 16 Feb 2020 13:21:43 +0100, "R.Wieser" 
declaimed the following:

>Hello all,
>
>I just took a look into the "chromium-browser.desktop" file found in the
>"/user/share/applications" folder, and noticed that it contained multiple
>"Exec=...." lines, in as many chapters.
>
>According to information I found here
>http://lxlinux.com/pcmanfm-actions.html rightclicking .... I assume the
>shortcut should give a context menu as shown in the image top-right of the
>webpage.
>
>The problem is that I can't get that context menu to appear. :-(
>
>Left- or rightclick clicking the above .desktop file doesn't cause such a
>menu to appear.   Trying them in combination with SHIFT, CTRL or ALT doesn't
>work either.

 Probably because one is not supposed to click the .desktop file itself.
Those files are used to configure the menus for the named application data
types...

 Try http://lxlinux.com/index.html#2 (scroll down to "More Open With
...").

 A problem will be that, if you specify text/x-python in the MimeType
list, then that action will be available for ALL Python scripts. To limit
it to just one script will require not using ".py" for that script,
creating a new MimeType in whatever file/directory handles those, and
adding that MimeType to whatever .desktop files you need to handle it (the
desktop for you preferred editor, etc.).


--
 Wulfraed                 Dennis Lee Bieber         AF6VN
 wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.