Page 1 of 1

At Fossapup startup, Geany now opens all .Desktop documents

Posted: Mon May 17, 2021 10:32 pm
by sonny

Hello,

For the first time ever, when I boot FossaPup64, Geany greets me by opening these files:
1. at-spi-dbus-bus.desktop
2. xorg-mousekeys.desktop
3. retrovol, netmon, etc

What caused that and how do I stop Geany from autostarting and autoopening those documents at startup?

Very much appreciated!


Re: At Fossapup startup, Geany now opens all .Desktop documents

Posted: Tue May 18, 2021 12:55 am
by OscarTalks

I can only offer a couple of pointers. Have a look in /root/.config/autostart
The files being displayed are probably the ones in there, but maybe something has been added or corrupted so that geany opens them as text rather than them just launching the programs that they are supposed to launch. Sometimes programs have a button or a facility to "Start this program at boot" which might involve creating a new .desktop file here which might not be doing what it should. Might be worth having a look under /root/.local as well. Always try to remember what you did or what changes you made just before the problem arose.


Re: At Fossapup startup, Geany now opens all .Desktop documents

Posted: Tue May 18, 2021 1:00 am
by bigpup

Look in these places for anything saying Geany and delete it if found.

/root/startup/

/root/Startup/autostart/
Maybe in here is geany.desktop file.

Was anything found in these locations?


Re: At Fossapup startup, Geany now opens all .Desktop documents

Posted: Tue May 18, 2021 4:34 am
by sonny
OscarTalks wrote: Tue May 18, 2021 12:55 am

I can only offer a couple of pointers. Have a look in /root/.config/autostart
The files being displayed are probably the ones in there, but maybe something has been added or corrupted so that geany opens them as text rather than them just launching the programs that they are supposed to launch. Sometimes programs have a button or a facility to "Start this program at boot" which might involve creating a new .desktop file here which might not be doing what it should. Might be worth having a look under /root/.local as well. Always try to remember what you did or what changes you made just before the problem arose.

Yes Oscar, I thought so cuz instead of launching the programs (retrovol, netmon, and so forth), something makes Geany open them as text.
I can confirm it happened right after I installed GIMP from Package Manager (even I did not save the session after restart).


Re: At Fossapup startup, Geany now opens all .Desktop documents

Posted: Tue May 18, 2021 4:36 am
by sonny
bigpup wrote: Tue May 18, 2021 1:00 am

Look in these places for anything saying Geany and delete it if found.

/root/startup/

/root/Startup/autostart/
Maybe in here is geany.desktop file.

Was anything found in these locations?

It happened right after I installed GIMP from Package Manager though I did not save the session (I did test it 2X!)


Re: At Fossapup startup, Geany now opens all .Desktop documents

Posted: Tue May 18, 2021 5:05 am
by dimkr

You need to restore the original /usr/bin/xdg-open. You can find it in /initrd/pup_ro2.

The fix for this issue will be in woof-CE soon:

https://github.com/puppylinux-woof-CE/w ... ssues/2267
https://github.com/puppylinux-woof-CE/woof-CE/pull/2270


Re: At Fossapup startup, Geany now opens all .Desktop documents

Posted: Tue May 18, 2021 6:15 am
by sonny

Restoring the "/usr/bin/xdg-open" with /initrd/pup_ro2/usr/local/bin/xdg-open FIXED the issue.
Right on target, dimkr! :thumbup2: :thumbup2: