Score:-2

How do I make executable files on desktop launch when double clicked in 22.04

tw flag

This is very annoying. The files have been given the proper executable permissions. In the file manager I can navigate to the desktop and double click to execute the files. I just can't double click the files on the actual desktop to run them. There isn't even a right click menu "run" option. How do I fix this stupid behavior so I can execute executable files on the desktop from the desktop.

I am running Ubuntu 22.04 with the gnome flashback session.

Terrance avatar
id flag
It really all depends on what the file is. Script files need to run in a terminal if you are expecting output in a terminal window. Graphical applications you can probably get around. Look into creating desktop shortcuts instead: https://askubuntu.com/questions/1232612/how-to-make-a-desktop-shortcut-on-ubuntu-20-04 From `.desktop` files you can even tell it to run it in a terminal.
Stephen Hofstetter avatar
tw flag
Just to be clear. In the file manager you can navigate to any folder and double click any executable file. You can also right click on executable files and select "Run". This does not work on the actual Desktop. I have been a Linux user since 2002 and a Ubuntu user since 8.04. I'm not going to create a .desktop file for every fiddle farting script or appimage I want to launch from the desktop when the file manager has the capability. That's kind of the reason for putting them on the desktop in the first place. If I wanted the computer to protect me from myself I would be using windows.
Terrance avatar
id flag
It is probably an issue with GNOME Flashback then. What you want works fine for me in Xfce4. If it works in others fine, then you would need to file a bug against the GNOME Flashback to have that feature added.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.