outline-apps icon indicating copy to clipboard operation
outline-apps copied to clipboard

Linux client adds itself to autostart on every launch, with no way to disable this behavior

Open iliazeus opened this issue 2 years ago • 8 comments

Describe the bug Every time the linux client is launched, it adds itself to XDG autostart (~/.config/autostart) with no ability to disable this from inside the client itself.

To Reproduce Launch the linux appimage.

Expected behavior Either of: only add to autostart on first launch, prompt the user before doing so, or add an option to disable this

Client System (please complete the following information):

  • Outline Client Version: Linux 1.8.1
  • Your Operating System: Arch Linux

iliazeus avatar Nov 10 '22 09:11 iliazeus

Same issue with 1.9.0 on Ubuntu.

UPD:

.desktop file is created every time on server connect, but it couldn't be removed for some reason on disconnect (teardown function doesn't work properly I guess). Root cause might be in auto-launch package which seems to be abandoned for a several years.

jekatigr avatar Jan 26 '23 14:01 jekatigr

**Опишите ошибку ** Каждый раз, когда клиент Linux запускается, он добавляет себя в автозапуск XDG ( ~/.config/autostart) без возможности отключить это внутри самого клиента.

**Воспроизвести ** Запустите приложение Linux.

**Ожидаемое поведение ** Любой из вариантов: добавить в автозапуск только при первом запуске, запросить пользователя перед этим или добавить параметр для отключения этого

**Клиентская система (пожалуйста, заполните следующую информацию): **

  • Версия клиента Outline: Linux 1.8.1
  • Ваша операционная система: ArchLinux.

already version 1.10, but the autorun settings have not been done, although this setting must be in the vpn client

NektoNektovich avatar Mar 27 '23 11:03 NektoNektovich

after each use of the outline client, closing it from the tray does not help, turn off its autorun with the operating system, you have to go to the list of applications in autorun to remove it from there. Due to the lack of autorun settings, I don’t even want to use the outline client 😫

NektoNektovich avatar Mar 27 '23 11:03 NektoNektovich

can we do something with this please? really annoying

marat-y avatar Jun 20 '23 11:06 marat-y

My workaround on Linux, for the time being, is this:

I replaced the contents of ~/.config/autostart/Outline-Client.AppImage.desktop with this:

[Desktop Entry]
Type=Application
Version=1.0
Name=Outline-Client.AppImage (disabled)
Comment=Outline-Client.AppImage startup script (disabled)
#Exec=/home/iliazeus/AppImages/Outline-Client.AppImage
Exec=/bin/true
StartupNotify=false
Terminal=false

Then I made it read-only with chmod a-w ~/.config/autostart/Outline-Client.AppImage.desktop.

This way, on startup /bin/true is launched instead of Outline, and just exits immediately. And since it's read-only, Outline can't "correct" it to start itself.

iliazeus avatar Jun 26 '23 08:06 iliazeus

Brilliant workaround, @iliazeus thanks a lot! That non-obvious behavior with autostart really pissed me off.

a13xk avatar Jul 12 '23 08:07 a13xk

Я перешёл на вариант получше, чем outline, у которого гораздо больше протоколов шифрования и подключения. Nekoray для десктопа и nekobox для андроид. https://github.com/MatsuriDayo

NektoNektovich avatar Jul 24 '23 14:07 NektoNektovich

My workaround on Linux, for the time being, is this:

I replaced the contents of ~/.config/autostart/Outline-Client.AppImage.desktop with this:

[Desktop Entry]
Type=Application
Version=1.0
Name=Outline-Client.AppImage (disabled)
Comment=Outline-Client.AppImage startup script (disabled)
#Exec=/home/iliazeus/AppImages/Outline-Client.AppImage
Exec=/bin/true
StartupNotify=false
Terminal=false

Then I made it read-only with chmod a-w ~/.config/autostart/Outline-Client.AppImage.desktop.

This way, on startup /bin/true is launched instead of Outline, and just exits immediately. And since it's read-only, Outline can't "correct" it to start itself.

thanks a lot for this precise response

NaomiCode avatar Feb 14 '24 23:02 NaomiCode