You are not logged in.

#1 2018-04-25 23:27:47

zegkljan
Member
Registered: 2017-12-30
Posts: 60

[SOLVED] JetBrains Toolbox does not want to start properly at login

I use gnome shell. I have installed the jetbrains-toolbox package from AUR. I can start it from gnome shell by just finding the app by name, it then starts properly - a window and a tray icon appears and it just works. However, when I set the toolbox to start at login (either via Startup Applications in Tweaks or via checking the Run at login checkbox in the toolbox's settings) and then log out and back in, the toolbox is not started properly - no window appears, which wouldn't itself be an issue, but the tray icon also does not appear. However, when I look at running processes, it seems it is running:

> ps -ef | grep -i toolbox
zegkljan 28999 28755 18 01:10 tty3     00:00:01 usr/share/jetbrains-toolbox/jetbrains-toolbox --disable-gpu --single-process --no-sandbox
zegkljan 29010     1 19 01:10 ?        00:00:01 /home/zegkljan/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox
zegkljan 29343 29121  0 01:10 pts/0    00:00:00 grep --color=auto -i toolbox

If I then start the toolbox manually by launching it from gnome shell, the window appears but no tray icon. If I close the window, the toolbox seems to shut down completely because there is no such process anymore after that:

> ps -ef | grep -i toolbox
zegkljan 29357 29121  0 01:10 pts/0    00:00:00 grep --color=auto -i toolbox

It seems like the toolbox manually launched from gnome shell "attached" itself to the already running toolbox from the startup. It is still missing the tray icon an that probably causes it to exit completely because there is nothing holding the process alive.d

If I start the toolbox manually again, it starts properly - both tray icon and window appear. But looking at the processes it looks exactly the same as just after login (except for PIDs of course):

> ps -ef | grep -i toolbox
zegkljan 29443 28793 34 01:10 tty3     00:00:01 usr/share/jetbrains-toolbox/jetbrains-toolbox --disable-gpu --single-process --no-sandbox
zegkljan 29448     1 38 01:10 ?        00:00:01 /home/zegkljan/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox
zegkljan 29525 29121  0 01:10 pts/0    00:00:00 grep --color=auto -i toolbox

Does anybody now what might be the issue?

Last edited by zegkljan (2018-04-27 21:54:09)

Offline

#2 2018-04-25 23:54:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] JetBrains Toolbox does not want to start properly at login

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-04-26 07:46:12

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: [SOLVED] JetBrains Toolbox does not want to start properly at login

jasonwryan wrote:

Moving to AUR Issues...

I just tried it without using the AUR package but from JetBrains site directly. The issue is the same and therefore not related to using AUR.

Offline

#4 2018-04-26 10:38:42

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] JetBrains Toolbox does not want to start properly at login

either via Startup Applications in Tweaks or via checking the Run at login checkbox in the toolbox's settings

I guess Tweaks is  a gnome tool and the run at login checkbox is internal to jetbrains ?

Does it work if you put the relevant .desktop file in XDG autostart standard locations ?
https://wiki.archlinux.org/index.php/XDG_Autostart


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2018-04-26 11:52:13

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: [SOLVED] JetBrains Toolbox does not want to start properly at login

Lone_Wolf wrote:

either via Startup Applications in Tweaks or via checking the Run at login checkbox in the toolbox's settings

I guess Tweaks is  a gnome tool and the run at login checkbox is internal to jetbrains ?

Does it work if you put the relevant .desktop file in XDG autostart standard locations ?
https://wiki.archlinux.org/index.php/XDG_Autostart

Both Tweaks and the "Run at login" put the .desktop file in `~/.config/autostart`.

Offline

#6 2018-04-27 11:03:44

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] JetBrains Toolbox does not want to start properly at login

That suggests the .desktop file is faulty or needs stuff that's not ready yet when autostart programs are executed.

Please post its contents.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2018-04-27 21:34:41

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: [SOLVED] JetBrains Toolbox does not want to start properly at login

Lone_Wolf wrote:

That suggests the .desktop file is faulty or needs stuff that's not ready yet when autostart programs are executed.

Please post its contents.

I tried to launch the toolbox (after making sure it is not running) with the launcher in autostart and it started flawlessly so I don't think the problem is with the launcher but rather with something about the system tray just after login. However, here is the content of the launcher file:

[Desktop Entry]
Type=Application
Name=JetBrains Toolbox
Exec=/home/zegkljan/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox --minimize
Icon=/home/zegkljan/.local/share/JetBrains/Toolbox/toolbox.svg
StartupNotify=false
Categories=Development;IDE;
Terminal=false
X-GNOME-Autostart-enabled=true
StartupWMClass=jetbrains-toolbox
MimeType=x-scheme-handler/jetbrains;

And also one detail I have not mentioned - I'm using the Topicons Plus extension.

Offline

#8 2018-04-27 21:53:37

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: [SOLVED] JetBrains Toolbox does not want to start properly at login

Ok, I'm an idiot. The problem was caused by TopIcons Plus. Turning that extension off and using just Topicons* solves the problem. I should have done it right away before asking questions.

Marking as solved.


* Topicons was, at a time, outdated and Topicons Plus was a fork of it with more options and, most importantly, it was up to date with the gnome shell version at the time. However, now it seems the situation is reversed, the Plus version is dead and the original one is up to date now.

Last edited by zegkljan (2018-04-27 21:53:53)

Offline

Board footer

Powered by FluxBB