Closed janeklb closed 7 years ago
What is this session parameter? Mabe related: #411
Lucky! I have 9 using a lot of CPU:
paul 3130 3071 54 22:58 ? 00:01:08 albert -session 2d2e8341d-76f6-4e8f-b9cb-9143e938b7fe_1490049553_895568
paul 3131 3071 21 22:58 ? 00:00:26 albert -session 2833328ec-3103-4a03-959b-f8a254fa107c_1490049553_895501
paul 3132 3071 59 22:58 ? 00:01:14 albert -session 2d04cdedb-6a49-425d-bf3d-caaa366e2ed0_1490049553_895401
paul 3133 3071 57 22:58 ? 00:01:12 albert -session 2c9483c00-9c2d-4141-825d-3f9f3cd72fa7_1490049553_895364
paul 3134 3071 59 22:58 ? 00:01:14 albert -session 212396a34-379e-4076-a99d-9d7be6146506_1490049553_896973
paul 3135 3071 58 22:58 ? 00:01:14 albert -session 2918f86a8-ade2-4eec-b164-99dec99698cd_1490049553_895271
paul 3136 3071 55 22:58 ? 00:01:09 albert -session 29829b8a6-7e0f-4cea-97b7-12018a00d6c9_1490049553_895243
paul 3137 3071 58 22:58 ? 00:01:13 albert -session 20b439f84-fb01-4b45-802d-de55cf15171e_1490049553_897229
paul 3184 3071 54 22:58 ? 00:01:07 albert
Version v0.10.0, also through the ppa. Xfce on Ubuntu 16.10.
@PaulBGD Do you use albert show
?
@janeklb I assume you have albert in your autostart, dont you?
Not in ~/.config/autostart/
-- is there another place it could be?
Not in?
Install Albert, restart os
How is albert started?
That's a great question.. I don't actually know. It doesn't appear in XFCE's "Session and Startup" settings dialog:
Well albert does not launch itself. https://albertlauncher.github.io/docs/faq/#how-can-i-autostart-albert
In that case it could be an xfce issue (or misconfiguration). Albert's parent pid belongs to xfce4-session
, so it seem like xfce is doing it automatically somehow.. I can't figure out how though.
@PaulBGD are you on xfce as well?
False alarm -- i can confirm that this was due to an xfce-session
misconfiguration.
In order to prevent these albert processes from starting up you must go to the "Session and Startup" config dialog, click on the "Session" tab, kill any running albert
processes and click "Clear Saved Sessions" and/or "Save Session" (i'm not sure which did the trick - i did both in order to get this result).
@dajare @PaulBGD same for you?
@ManuelSchneid3r Same for me as well, good find. Not sure why it only started happening with latest version though.
So after having this issue again, it seems that xfce is restarting albert since it was opened the last time my computer was booted up, but it also starts albert since it's in the autostart. For example I just had 23 instances of albert, I'm assuming since I've rebooted my computer 24 times since I fixed this last.
@ManuelSchneid3r @PaulBGD - Startup is behaving well for me. Only one instance running, and it appears in my Session and Startup > Application Autostart
list in the Xfce preferences dialog. Albert shows up in that dialog the same was as it does in janeklb's screenshot posted 22 March.
@PaulBGD version?
Albert launcher v0.11.1. For some reason xfce's session/startup keeps adding new albert instances to restart on bootup every time I shut down my computer.
@PaulBGD How do you determine that there are several processs?
This
@PaulBGD have you resd this thread? Especially janeklbs answer?
Yes, his answer works until you reboot.
Session saving and therefore his answer is all about reboot.
Environent
Steps to reproduce
Install Albert, restart os
Expected behaviour
To find a single Albert process
Actual behaviour
Seeing 4 Albert processes:
I'm able to kill 3/4 of them and albert continues to function (eg. I can bring it up via the shortcut key etc.), so I'm assuming that having 4
albert
processes is not intentional.. however, if it is, please ignore!