You are not logged in.
Hello to all of you.
When XFCE opens, Cairo-clock opens 3 times, Conky opens 4 times, GCstar opens 2 times, Leafpad opens 3 times. Thunar opens 1 time on my home directory while 2 different directories were open at shutdown.
Can someone help me to solve this problem?
Thank you.
Last edited by ignace72 (2022-10-08 17:27:44)
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
Hello and welcome.
You need to clear your saved session cache (delete the contents of ~/.cache/session while not logged into Xfce - log out and then Ctrl+Alt+F2)
...and if you don't want session saving, you should disable it (uncheck “Automatically save session on logout” in Settings Manager → Sessions and Startup, General tab).
If that doesn't solve the problem, review your autostart applications (Settings Manager → Sessions and Startup, Application Autostart tab) and make sure there isn't anything you don't want autostarting.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Good evening, ToZ.
Thank you for your reply.
I have followed your instructions but there is little change.
The only change is that Thunar opens the previously opened directories.
Jdownloader still does not open automatically and I still have programs that open in several times.
I have looked at Application Autostart tab and it does match the session I want but it is not applied when the session starts.
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
Can you post back the output of the following commands:
xfce4-about -V
ls -l ~/.cache/sessions
ls ~/.config/autostart
whoami
ps -ef | grep xfsettingsd
xfconf-query -c xfce4-session -lv
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Here it i:
xfce4-about -V
ls -l ~/.cache/sessions
ls ~/.config/autostart
whoami
ps -ef | grep xfsettingsd
xfconf-query -c xfce4-session -lv
xfce4-about 4.16.1 (Xfce 4.16)
Copyright (c) 2008-2019
L’équipe de développement Xfce. Tous droits réservés.
Veuillez signaler les bogues à <https://gitlab.xfce.org/xfce/libxfce4ui/-/issues>.
total 28
drwx------ 2 ignace ignace 4096 7 oct. 19:19 thumbs-ignace-pc:0
-rw-r--r-- 1 ignace ignace 180 7 oct. 19:23 Thunar-2d2f16fba-3284-478a-a3ba-e1ae1008db59
-rw-r--r-- 1 ignace ignace 5428 7 oct. 19:23 xfce4-session-ignace-pc:0
-rw-r--r-- 1 ignace ignace 4796 7 oct. 19:19 xfce4-session-ignace-pc:0.bak
-rw-r--r-- 1 ignace ignace 2869 7 oct. 19:23 xfwm4-2b3c9e9e1-afe8-47d3-a791-b93e4dc4558a.state
blueman.desktop
'Cairo Clock.desktop'
Conky.desktop
druide-agent-connectix-11-lancement-session.desktop
GCstar.desktop
geoclue-demo-agent.desktop
hp-systray.desktop
'JDownloader 2-0.desktop'
KNutClient.desktop
leafpad.desktop
light-locker.desktop
meteo-qt.desktop
msm_notifier.desktop
nm-applet.desktop
org.gnome.Evolution-alarm-notify.desktop
org.kde.kalendarac.desktop
org.kde.kdeconnect.daemon.desktop
org.kde.kgpg.desktop
org.keepassxc.KeePassXC.desktop
pamac-tray-budgie.desktop
pamac-tray.desktop
pam_kwallet_init.desktop
pasystray.desktop
pia-client.desktop
pulseaudio.desktop
QuiteRSS.desktop
remmina-applet.desktop
restore_kmix_volumes.desktop
snapshot-detect.desktop
snap-userd-autostart.desktop
Thunderbird.desktop
tracker-miner-fs-3.desktop
tracker-miner-rss-3.desktop
user-dirs-update-gtk.desktop
vboxclient.desktop
xapp-sn-watcher.desktop
xfce4-clipman-plugin-autostart.desktop
xfce4-notes-autostart.desktop
xfce4-notifyd.desktop
xfce4-power-manager.desktop
xfce4-settings-helper-autostart.desktop
xfce4-tips-autostart.desktop
xfce-panel-workaround.desktop
xfce-pbw.sh
xfce-polkit-gnome-authentication-agent-1.desktop
xfconf-migration-4.6.desktop
xfsettingsd.desktop
xiccd.desktop
z-displaycal-apply-profiles.desktop
ignace
ignace 3834549 1 0 oct.07 ? 00:00:14 xfsettingsd --replace
ignace 4135928 4135821 0 02:25 pts/1 00:00:00 grep xfsettingsd
/general/AutoSave true
/general/FailsafeSessionName Failsafe
/general/LockCommand
/general/SaveOnExit true
/general/SessionName Default
/security/EnableTcp true
/sessions/Failsafe/Client0_Command <<UNSUPPORTED>>
/sessions/Failsafe/Client0_PerScreen false
/sessions/Failsafe/Client0_Priority 15
/sessions/Failsafe/Client1_Command <<UNSUPPORTED>>
/sessions/Failsafe/Client1_PerScreen false
/sessions/Failsafe/Client1_Priority 20
/sessions/Failsafe/Client2_Command <<UNSUPPORTED>>
/sessions/Failsafe/Client2_PerScreen false
/sessions/Failsafe/Client2_Priority 25
/sessions/Failsafe/Client3_Command <<UNSUPPORTED>>
/sessions/Failsafe/Client3_PerScreen false
/sessions/Failsafe/Client3_Priority 30
/sessions/Failsafe/Client4_Command <<UNSUPPORTED>>
/sessions/Failsafe/Client4_PerScreen false
/sessions/Failsafe/Client4_Priority 35
/sessions/Failsafe/Count 5
/sessions/Failsafe/IsFailsafe true
/shutdown/LockScreen false
Thanks to you.
If it helps, I am under Manjaro Linux stable.
Last edited by ignace72 (2022-10-08 00:46:35)
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
Lets try the following:
Shutdown all your running applications
Go to Settings Manager > Session and Startup > Application Autostart, and confirm that the applications you want to autostart are clicked. Note that you have quite the list there
Go to Settings Manager > Session and Startup, and on the General tab, uncheck "Automatically save session on logout"
Using your file manager or a terminal window, delete the contents of ~/.cache/sessions
Run the following command to reboot your system:
xfce4-session-logout -r
When you log in again, lets see what applications autostart and report back.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Well, it's coming along.
No windows are duplicated.
I'm missing two Thunar windows on two different directories.
I'm also missing the JDownloader window and an XFCE terminal window.
Last edited by ignace72 (2022-10-08 02:09:58)
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
Well, it's coming along.
No windows are duplicated.
It was the "Automatically Save Session" setting that was tripping you up.
I'm missing two Thunar windows on two different directories.
I'm also missing the JDownloader window and an XFCE terminal window.
There are two options here:
Create 2 new Application Startup entries that start Thunar and point to the right directory. For example "thunar ~/Pictures" and "thunar ~/Music".
Start the Thunar windows and point them to the right directory. Go to Settings Manager > Session and Startup > Current Session. Make sure only the correct apps that you want restarted are listed there (I'm not sure if JDownloader will show up here. Click on "Save Session"
IF JDownloader doesn't automatically start up on restart, can you post back the contents of the file ~/.config/autostart/JDownloader 2-0.desktop?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I just made the changes.
JDownloader is not displayed in current session.
Here is the content of the JDownloader 2-0.desktop file:
[Desktop Entry]
Type=Application
Name=JDownloader 2
Exec=/bin/sh "/home/ignace/Downloads/JD2/jd2/JDownloader2"
Icon=/home/ignace/Downloads/JD2/jd2/.install4j/JDownloader2.png
Categories=Network;Application;
Hidden=false
RunHook=0
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
Does running this command in a terminal window start JDownloader?
/bin/sh "/home/ignace/Downloads/JD2/jd2/JDownloader2"
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Well, it was the path that was wrong.
I copied the launcher from the XFCE menu and now it's ok, everything works.
Thanks to you.
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
I just restarted and I still find myself with programs that are launched several times.
The two Thunar are duplicated.
Cairo-clock is launched three times like Conky.
GCstar is in duplicate.
KNutClient is also launched three times.
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
What is the output of:
xfconf-query -c xfce4-session -p /general/AutoSave
From post #8, which of the two options did you choose?
How do you logout/restart/shutdown? Which menu item dod you choose from which application?
Last edited by ToZ (2022-10-08 11:16:48)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
xfconf-query -c xfce4-session -p /general/AutoSave
false
From message 8, I chose to use two startup applications from Thunar with corresponding directories.
In the Applications Menu, I use Disconnect and I use either: Disconnect, Reboot or Shutdown.
I'm not sure I understand your last question: Which menu item do you choose from which application?
I use the Application Menu items and click and drop them into my /home/ignace/.config/autostart/ directory.
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
Sorry, I meant when you log off. Depending on the method you use, there may be a "Save session for future logins" option. If it does exist, make sure its unchecked.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks, I understand better.
I always use the same method to log out, shut down or restart.
Applications menu => Logout =>
Logout or Restart or Shutdown.
I don't use the physical button or special key on the keyboard or keyboard shortcuts.
There is no option. The action is done immediately.
I am surprised that there is no XFCE configuration file to manage the programs to launch at startup.
I miss the time when we always went through configuration files (even to create a custom application menu). It was longer but there were no surprises.
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
Good evening, KBar.
My configuration seems to be in accordance with what is said in the link.
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
Thanks, I understand better.
I always use the same method to log out, shut down or restart.
Applications menu => Logout =>
Logout or Restart or Shutdown.
I don't use the physical button or special key on the keyboard or keyboard shortcuts.
There is no option. The action is done immediately.
You don't see something like this (Save session for future logins checkbox):
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Sorry, I couldn't see the beam in my eye.
Indeed, there is this option.
I tried twice after checking that the option was unchecked and when I reconnect, I always have software that opens several times.
Up to four times for GCstar and Cairo-clock.
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
Repeat the actions from post #8, and whenever you log out, uncheck the option at the bottom (it should remember your previous choice).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Indeed, the check mark is now always unchecked but I always have the programs in multiple versions at the reconnection.
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
Lets try this instead. Reboot and before you log into Xfce, got to a virtual terminal (Ctrl+Alt+F2) and log in to the text session.
Once there, go to ~/.cache/sessions and delete everything in the directory. Then:
sudo chattr +i ~/.cache/sessions
...this set folder as immutable - can't be written to.
Then go back to your graphical login screen and log in again to see what happens.
After your logged in, post back the output of:
ls ~/.cache/sessions
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
It works. I don't have multiple windows anymore.
I lost my terminal but I created a launcher to open one in the right directory.
Thanks a lot to both of you.
Desktop PC
AMD Ryzen 3 1200 Quad-Core, 32 GB DDR4 Ram, Radeon HD 7750 fanless.
Manjaro stable XFce
Offline
[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 657.38 KiB (Peak: 690.22 KiB) ]