Questions tagged [.desktop]

A .desktop file is a launcher. When run, it executes a command, which usually launches an application. Use this tag if you are asking a question about using a .desktop file or about the .desktop file format in general.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Update Launcher Icon in the Application List after updating desktop file exec and icon

Let's create the following file: > $ cat ~/.local/share/applications/testing.desktop [Desktop Entry] Name=Test Type=Application Terminal=false Exec=firefox Icon=firefox After that, we will have a ...
SerVB's user avatar
  • 23
-3 votes
0 answers
19 views

.desktop file to launch shell script (ROS, kitty)

I have a large launchfile that does a variety of stuff. (fulllaunch.sh) It starts up multiple ROS launchfiles and roscore. But independent of its actual code, i want to be able to start any .sh with a ...
Florian Schneider's user avatar
0 votes
2 answers
38 views

Can I configure Ubuntu Desktop network using ip command?

I have Ubuntu 22.04.1 desktop installed. Can I change my network settings using the ip command while NetworkManager is running?
Hendré's user avatar
  • 689
1 vote
1 answer
39 views

.desktop files to launch shell scripts

I am trying to create two .desktop entries to launch shell scripts. the shell scripts fullLaunch.sh and tracepen.sh should be executed. Both run when launched from the terminal. They launch multiple ...
Florian Schneider's user avatar
0 votes
1 answer
24 views

Microsoft 365 app - double icon/installation (2023)

I installed the desktop web app of Microsoft 365 on Ubuntu 22.04 (I believe it's a brand new option) Somehow i must have done that twice, as i can see the 365 icon twice in the 'show applications' ...
Grig's user avatar
  • 1
0 votes
1 answer
29 views

Show Applications is different between accounts

Here are two screenshots of the "Show Applications" search function launched by the nine dot icon on the screen's lower left. Each screen shot is from a different account. There is the "...
Stephen's user avatar
  • 435
0 votes
0 answers
22 views

Error moving VLC to 22.04 desktop

I just updated to Ubuntu 22.04. I installed VLC and want a shortcut on my desktop. When trying to drag it from Files to Desktop, I got the error message that moving it into /home/frank/Desktop from /...
Frank P's user avatar
  • 390
0 votes
1 answer
55 views

Cannot make a . desktop file works

I want to create a desktop shortcut to a sh script, wha I did make a terminal blink and launch nothing : [Desktop Entry] Type=Application Terminal=true Name=Stable diffusion Exec=sh ~/AI/AUTOMATIC1111/...
Syl's user avatar
  • 175
0 votes
0 answers
24 views

Can I add a cloud service to Ubuntu Online Accounts?

Ubuntu offers connection and synchronisation to a very limited set of online cloud services, such as Google, Next cloud and a few others. My question is, can a new service be added to this predefined ...
Томица Кораћ's user avatar
0 votes
0 answers
25 views

Ubuntu Studo 22.10 Autostart not starting "desktop entries" and specifies opening executables with executables

In System Settings "Startup and Shutdown" Autostart "application properties" file type application /x-desktop the "Open With" field lists executables for opening desktop ...
LuigiWriter's user avatar
0 votes
0 answers
20 views

How to find the location of a specific app (or .desktop file) visible in launcher

Sometimes I find an application very easily in the native Launcher, or even a third-party one like Synapse; but locating the corresponding app (or at least its .desktop file, which contains the path ...
hsandt's user avatar
  • 220
0 votes
0 answers
32 views

Installing Progressive Web Apps (PWAs) for Google Chrome creates .desktop files on my desktop

I've installed several Progressive Web Apps (PWAs) using Google Chrome. It appears that Chrome creates a .desktop file in ~/Desktop for each installed PWA. I imagine that some desktop environments ...
Adam Sperry's user avatar
0 votes
0 answers
25 views

Default value if %U is empty in .desktop file

I'm trying to default open a couple of tabs in Brave on my work computer. I don't want these to open on my personal computer and since my account is synced, I can't use the built in default tabs in ...
Michiel's user avatar
0 votes
2 answers
54 views

File Association on Ubuntu 20.04 not working

I m trying to launch my application using xdg-open myFile.axsd. This is my StartupLinux.desktop file: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Terminal=true MimeType=application/x-...
Vipul Gupta's user avatar
2 votes
0 answers
49 views

The databases in /usr/share/applications cannot be updated

I m trying to perform File association to register my custom file extension for my application(ex: if I do xdg-open myFile.myExtension, it should launch my app). I m following this link to do it. I ...
Vipul Gupta's user avatar
0 votes
1 answer
47 views

How can I prevent folders in a user’s home directory from being displayed on his desktop?

After installing Xubuntu 22.04 on a laptop previously running with Xubuntu 18.04 (not altering its existing partition /home, I just designated its existing partition as /home during install), I had to ...
Adalbert Hanßen's user avatar
0 votes
0 answers
48 views

Get Roblox installed with wine out of my desktop

I installed Roblox with Wine on Ubuntu, but it went to my desktop with 2 .link files, and the Roblox Studio.desktop file and Roblox Player.desktop file. This is horribly disorganized, I tried moving ...
starlume's user avatar
1 vote
0 answers
294 views

Ubuntu 23.04 Window Focus

I just upgraded from 22.04 to 23.04. On 22.04 I could click on a window title and it would raise it and give focus. I'm not getting that on 23.04. I need to actually select with button 1 and move the ...
kmand's user avatar
  • 29
0 votes
0 answers
120 views

Installing Ubuntu 23.04 desktop on top of server takes forever

Because server installer can handle various disk situations (for example create md disk array and install on it) I always install server first and follow it with "apt install ubuntu-desktop")...
user2056213's user avatar
0 votes
0 answers
37 views

Start wine graphical application from .desktop file

Context I'm trying to start Ableton Live which I installed through wine (and is working perfectly might I add!) by simply clicking on an icon in the taskbar. Normal behavior If I run the command from ...
Hadron's user avatar
  • 111
1 vote
1 answer
503 views

Howto install Arduino IDE 2.0 from the ZIP version on Ubuntu 22? (without install.sh)

This question has been asked before on the Arduino.cc forum and is about the missing install.sh file in the .ZIP file of the current version (As of April 2023 it is 2.0.4). This "inconvenience&...
zx485's user avatar
  • 2,223
0 votes
0 answers
20 views

Simple .desktop shortcut available for Ctrl+Super+D to show/hide desktop/minimize windows?

Ctrl+Super+D to show desktop/minimize windows can't be used due to QNAP VM browser client on Windows because this shortcut creates a new Windows desktop on host instead. Because I'd like to keep my ...
ssssstut's user avatar
  • 479
0 votes
0 answers
32 views

I've disabled "Activate the window menu," shortcut but it STILL opens up the window menu when you press Super + Right-Click

When I'm viewing an application on Ubuntu 22.04, I keep getting a popup. To reproduce the problem: open any application, then hold down the super key and press right click on your mouse (super + right)...
ubuntuispainful's user avatar
1 vote
1 answer
46 views

Cant run curl with arguments from .desktop file

I've been trying to get a .desktop file to open a new full screen terminal, run "curl wttr.in" (wttr.in is a weather forecast service that works well with the terminal) , and leave the ...
BeeEss's user avatar
  • 21
0 votes
1 answer
48 views

Whats the command line for copy and paste in termimal?

So here is what I am trying to do, questions will be at the end. I'm being very pedantic I know, but its a good learning experience and a good bit of fun. I am creating a setup script, which includes ...
budryx's user avatar
  • 5
0 votes
1 answer
94 views

Run Python script from Desktop icon, ModuleNotFoundError

My Plan is to run a Python script which is a GUI trough clicking on an desktop icon. Im working on a Raspberry Pi 4B with Ubuntu 22.04. It works well with a basic GUI without further functionalities (...
lennart's user avatar
  • 13
0 votes
0 answers
70 views

Can't share desktop on Webex app in Ubuntu 20.04

I installed the Webex app in Ubuntu 20.04 according to this installation guide link and I don't have share desktop button on app, in my personal room meeting. This is how it looks: Results of ...
infamia's user avatar
  • 31
0 votes
1 answer
44 views

Formal format of .desktop files

I am looking for a formal definition of a .desktop file. I find plenty of tutorials that show examples, but nothing that defines it formally. Where I can find specifications for .desktop files?
Jonathan's user avatar
  • 1,250
0 votes
0 answers
53 views

Deleted /user/bin/X11 Directory by Mistaken

Earlier today, I had some difficulty locating virtualenv for Python ( as a short background), had some difficulty after spent quite some time, while searching for where virtualenv might have been ...
elysium's user avatar
  • 37
0 votes
0 answers
24 views

exo-desktop-item-edit parameters for command

I created a desktop launcher for exo-desktop-item-edit with this command: exo-desktop-item-edit --create-new ~/.local/share/applications However, when starting the launcher to create a new launcher, ...
Alexander Zeitler's user avatar
0 votes
0 answers
38 views

how to move or copy a folder from desktop

I have a folder on my desktop with some files inside. I wish to move or copy this folder into another folder as I do not want it on my desktop anymore. Ubuntu will not allow me to do this. Is this a ...
user3434591's user avatar
1 vote
1 answer
420 views

Missing desktop icons after upgrade to 22.04

While on 20.04, I had some *.desktop files in ~/Desktop. Those worked and properly displayed an icon on my desktop. After the upgrade to 22.04, the icons are gone. Google told me the files should be ...
Jorn's user avatar
  • 234
0 votes
0 answers
35 views

How to enable Dock to show custom app Actions?

For some pre-installed apps (e.g. Firefox) Dock icons, be it favorite or opened, are able to show additional Actions specified in their .desktop files (e.g. as [Desktop Action open-profiles] with Name=...
VELFR's user avatar
  • 101
2 votes
1 answer
132 views

How to test if .desktop file is working?

Background I have a script that changes the wallpaper on my Ubuntu 22 every 5 minutes: #!/bin/bash targetDir="/home/pedro/Pictures/Wallpapers" function get_next_photo() { # Returns a ...
Flame_Phoenix's user avatar
0 votes
0 answers
24 views

How to open a password dialog/GUI when mounting an encrypted volume?

How can I open a graphical dialog to enter the password when using gio mount -d=/dev/sdb1? Is there another way to issue a mount command from a script or desktop launcher?
jackson.c's user avatar
0 votes
1 answer
299 views

How to make a .desktop file work on Ubuntu 22.04 where the executable file has a dependency on a folder?

I tried to create a .desktop file for my 2D shooting game made with sdl2. the .desktop file looks like this [Desktop Entry] Version=1.0 Name=The Hunt For Red October Comment=2D shooting game Exec=/...
Mahmud Araf's user avatar
1 vote
1 answer
198 views

ubuntu 20.04.5 upgrade to 22.04.1 exit with error message failed to fetch unauthorized ip

Lenovo thinkcentre 510s i3-7100 CPU @ 3.90GHz × 4 8g ram When i try to upgrade my pc everything looks fine until the download is finished but as soon as the install are about to start i get the ...
trond hansen's user avatar
0 votes
1 answer
108 views

How to set keyboard shortcut to open desktop shortcut?

For example, I have desktop shortcut for Telegram with config file /usr/share/applications/telegram.desktop that has the following content: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application ...
Anton Samokat's user avatar
0 votes
0 answers
117 views

How to fix the window title for an application (Android Studio)?

I am running the latest Android Studio version on Ubuntu 22.04.1 (Wayland). The corresponding .desktop file in ~/.local/share/applications looks like this: [Desktop Entry] Version=1.0 Type=Application ...
JJD's user avatar
  • 832
0 votes
0 answers
36 views

How to add *dynamic* context menu entries in .desktop file (entries generated by script on each context menu reveal)

Desktop Environment: Gnome 42.5 I want to add a dynamic list of recently opened files to my VScode .desktop icon. I have a little script that can read the list of recently opened files and folders in ...
Tooster's user avatar
  • 388
0 votes
0 answers
55 views

What is the default Ubuntu launcher called and how is it configured?

I'm not after suggestions to use tweaks or alacarte. I'm running 18.04 but about to install 22.XX. Where are the .desktop files for the default launcher, how should they be manually edited and how ...
bitrat's user avatar
  • 1
0 votes
0 answers
76 views

Can't open FTP from .desktop file in Kubuntu 22.04

I've upgraded Kubuntu from 20.04 to 22.04 and now I can't open FTP link in Dolphin, instead Firefox is opening and it asks which program would I use to open this file. If I type address in Dolphin ...
Michael's user avatar
  • 195
0 votes
1 answer
264 views

I lost my Desktop after regular updated my Ubuntu 22.04

My Ubuntu 22.04 was regular updated again and after reboot I lost my Desktop. I get just a black screen and a login string. When I enter a name, the Password appears. Then I enter the password and ...
Elliot13's user avatar
  • 105
0 votes
1 answer
47 views

When desktop icon is deleted so is the .desktop file

I made this desktop file so I could add an appimage to my menu. I have it as a panel item, so I do not need a desktop icon. But if I delete the icon, the desktop file is deleted as well. How can I fix ...
fixit7's user avatar
  • 2,736
1 vote
0 answers
433 views

applications not listed in 'show application'

I have re-installed my Ubuntu 22.04 LTS after struggling with some issues. My original installation was Ubuntu 20 (I believe 20.04), which got updated to 22.04 before this re-installation attempt. My ...
hamagust's user avatar
  • 135
1 vote
0 answers
30 views

Firefox vanishes from apps menu unless I remove translations from .desktop file (MATE, non-snap FF)

Plain Ubuntu 22.04, removed snap, installed Firefox from Mozilla repository Firefox works well and shows up in apps menu Installed MATE 1.26.0 from the repositories, set it as default desktop Firefox ...
JCCyC's user avatar
  • 319
0 votes
0 answers
30 views

Problem with moving vertical scroll up and down or right and left cause flickering and blinking setting icon under dock

here the Gif image that explain the problem that include movemwnt of scroll with appearing, blinking and flickering in the left side
Pshtiwan Gharib Ali Abdalrahma's user avatar
0 votes
0 answers
167 views

IPv6 Tunnel For Ubuntu

Hi Dear Friend I Want Run IPv6 tunnel Between 2 Ubuntu and Forward Traffic ipv4 I test Gre tunnel Error: an IP address is expected rather than Gre in Ubuntu Donnot support ipv6 For local And Dst ...
Ramin Malekghasemi's user avatar
2 votes
1 answer
133 views

How to make the Tor desktop entry functional

I have downloaded Tor for Ubuntu 20.04, but the desktop entry: #!/usr/bin/env ./Browser/execdesktop [Desktop Entry] Type=Application Name=Tor Browser GenericName=Web Browser Comment=Tor Browser is +1 ...
Bilal's user avatar
  • 259
0 votes
1 answer
40 views

.desktop (Desktop Entry Specification) on optical media does not launch on 22.04

I have a .desktop file like this that I've used to distribute an internal tool to non-technical people to install on my ubuntu systems. The tool is delivered on CD/DVD. On 18.04, they'd insert the CD/...
ndtrek07's user avatar
  • 103

1
2 3 4 5
21