Re: Autostart issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2023/02/01 10:41 AM, Darrell Anderson via tde-devels wrote:
Hi All,

I am experiencing some autostart issues:

<snip..>


For the first issue, digging deeper indicates perhaps the Exec= directive in autostart desktop files is not parsed explicitly. Rather than execute the entire line in the Exec= entry, the code seems to be based on a presumption of only expecting traditional path strings. This means desktop files with 'Exec=/bin/sh -c' snippets fail to launch. I have a few such files and this took me a long time to identify.

For a long while I thought the files were being ignored. Instead they fail to launch. One clue was in the user .xsession-errors log that TDE was unable to parse the Exec= entries.

One work-around is convert the 'Exec=/bin/sh -c' snippets to shell script files. Doable but these snippets function as expected in other desktop environments. I suspect the code with other DEs is executing the entire Exec= line verbatim rather than trying to parse an executable from a presumed path. So this seems to be a TDE issue.

I'll file a bug report for this problem if I receive confirmation.

------------

I think the NotShowIn issue is caused by code that tries to remove duplicates in the collected list of autostart files. I addressed that issue in bug report 2297. Basically the user files are being removed as duplicates and never execute, creating the illusion of being ignored.

Thoughts?

Thanks for your time!


Hi Darrell,
I can confirm the problem with Exec string composed by multiple parts. Yes, please create an issue on TGW (gitea). If the fix is easy, it may get into R14.1.0, if it takes longer it may end up in R14.1.1 6 months later. I have taken note of those two bugs you mentioned. Definitely deleting files as described there is not the correct thing to do. I will look into them by R14.1.1.

Cheers
  Michele

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

____________________________________________________
tde-devels mailing list -- devels@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devels-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@xxxxxxxxxxxxxxxxxx

[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux