Score:0

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

de flag

In System Settings "Startup and Shutdown" Autostart "application properties" file type application /x-desktop the "Open With" field lists executables for opening desktop entries which are executables in themselves. Opening an executable with an executable is non-sensible to me.

I have spent several hours searching for any help or documentation. See [1] at end for detail. Any additional suggestions on where and what wording would be welcome.

For this procedure I am using KAlarm or DejaDupe (Flatpak) installed apps. However the Application section of the dialogue in question will be the same for Evolution, Getting Things GNOME!, LibreOffice or Notes as well.

To Reproduce

  1. Application Launcher [button on left of task bar] > Settings > System Settings > Startup and Shutdown > Autostart > Applications list > [+]
  2. Add KAlarm or DejaDupe (Flatpak)
    On KAlarm or DejaDupe entry click [Properties] (button at right; 4 horizontal lines)
    The Dialogue "Properties for kalarm.autostart.desktop" or "Properties for org.gnome.DejaDup" displays.
  3. If the [General] tab is not open, click it now.
    The first field will display "kalarm.autostart" or "org.gnome.DejaDup"
  4. In the field next to "Open With" note an <application (executable) name> and a [Change] button
  5. Click [Change] The "Edit File type application/x-desktop File Type Editor" dialogue displays.
  6. Note the following

Filename Patterns section:

- *.desktop  
- *.kdelink  
- *.od  

Description:

desktop entry

Application:

[note: all are executables]
Okular and possibly KWrite will be present if only Distro included apps are installed.
My list starts with Evolution as a default [2]
My present Application section list:

  • Evolution
  • Kate
  • Ancestral Quest 16 [WINE]
  • LibreOffice
  • Getting Things GNOME
  • KWrite
  • Okular
  • glogg
  • gedit

The options are move up, move down, add, edit or remove.

The Problem I see

One can run an executable but running an executable to execute or run another executable is what appears to be the case here.
KWrite can open a *.desktop file to edit it, but not run it.
This list are all executables. *.desktop files to function must be executables. This according to Hiks Gerganov's "Guide to Desktop Entry Files in Linux"[3]

The only app that opens automatically at log-in is Getting Things GNOME but how it is opened at log-in by Evolution [the default setting] which itself has to be opened manually after log-in only adds to the conundrum.

[1] I have spent several hours searching for any help or documentation on this particular field in this particular dialogue, using a variety questions and phrasing. The closest I have gotten in documentation is to how to add applications to the list, but nothing on the Properties dialogue or the file type edit dialogue within it. As far as filing a bug report I have had no luck identifying which launchpad Ubuntu package in which this set of dialogues exist which is now a must beforehand. System-Settings would make sense but searches for Autostart in that package turns up nothing.

[2] Since I did not purposely select Evolution for the file type .desktop in System Settings > Applications > File Associations I do not know how it became at the top of the following list in this Application section of the dialogue.

[3] Guide to Desktop Entry Files in Linux at https://www.baeldung.com/linux/desktop-entry-files where it states "To function correctly, desktop entry files must be executable."

mook765 avatar
cn flag
After reading all this, I still don't know what your question is.
vanadium avatar
cn flag
Not clear what the desktop environment is - presumably not the standard Ubuntu desktop.
LuigiWriter avatar
de flag
The desktop environment is the Ubuntu Studio 22.10 desktop. 1st question is "What do I pick to open a *.desktop file when all the choices are other executables?" 2nd question is what to pick, because the particular app would not open when Okular was at the top of the list in the Application Properties Open With choices dialogue General tab. The only work around so far is adding Dolphin to the list move it to the top which is using an executable to open an executable. 3rd question, Normal? 4th, If so why is not Nautilus automatically there and at the top of the list?
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.