Skip to main content

New answers tagged

0 votes

How to refresh .desktop files in ~/.local/share/applications?

See: https://askubuntu.com/a/946853/432270 sudo update-desktop-database
William Desportes's user avatar
0 votes

.desktop files on Red Hat desktop launches gedit ONLY from desktop shortcut

The Problem From what I understand: Your .desktop files (shortcuts) work fine on other RHEL systems Double-clicking them from the GUI opens them in gedit instead of launching the app The "Allow ...
chubblywarner's user avatar
-1 votes

Is `xdg-open`, `gtk-launch`, or `gio-launch` preferable for invoking `.desktop` files via the CLI?

Options xdg-open "$path" For me, the standard xdg-open abstraction doesn't execute the file (presumably by design). Instead, it invokes the file in the associated application for its MIME ...
RokeJulianLockhart's user avatar
2 votes

Is `xdg-open`, `gtk-launch`, or `gio-launch` preferable for invoking `.desktop` files via the CLI?

I would recommend xdg-open; this is a shell script that will try and work out the current desktop environment and use the appropriate command, which may include testing multiple alternatives (eg gio ...
Stephen Harris's user avatar
0 votes

Run .desktop file with its own icon in Icons Task Manager KDE Plasma Wayland

This is a known issue in Brave. Please upvote it if you'd like this to be fixed. Currently, it's tagged "Not scheduled. Don't anticipate work on this anytime soon."
aslamK's user avatar
  • 1
0 votes

Starting application with I/O redirection via *.desktop file

Apparently Thunar (or whatever tool parses the desktop files) doesn’t understand shell syntax like > and 2>&1.  So the standard solution is to explicitly invoke a shell to handle the command,...
G-Man Says 'Reinstate Monica''s user avatar

Top 50 recent answers are included