user-none / KDocker

Dock most applications to the system tray
GNU General Public License v2.0
301 stars 22 forks source link

kdocker is not saving settings. #99

Closed Venegrad closed 1 month ago

Venegrad commented 2 years ago

Ubuntu 21. After app pinned by kdocker closed, after reopen app is not minimize to tray

extract commented 2 years ago

Hey @Venegrad, you can follow this guide meanwhile.

https://robbinespu.github.io/eng/2018/03/17/Minimize_spotify_linux.html

Venegrad commented 2 years ago

@extract Not working

(spotify:17058): Gtk-WARNING **: 12:34:15.037: cannot open display: :0
root@venegrad:/home/venegrad# kdocker -q -o -l -i /usr/share/icons/Papirus/64x64/apps/spotify.svg -n Spotify spotify %U
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
mkdir: cannot create directory '/run/user/0': Permission denied
No protocol specified
No protocol specified
Unable to init server: Could not connect: Connection refused
Daxx commented 2 years ago

Ubuntu 21. After app pinned by kdocker closed, after reopen app is not minimize to tray

Setting are not saved automatically. You need to go through the context menus: Options -> Save Settings -> [app] only

Due to an optimisation (bug) in Qt, the initial appearance of each sub-menu might be off the screen. Just slide your pointer to another menu entry, then back to the one you want and Qt will present it correctly.

https://github.com/user-none/KDocker/issues/81#issuecomment-791772059

Nandru86 commented 2 years ago

@Daxx Even after explicitly save settings, they aren't actually saved. I also tried to manually edit the config file adding the IconifyMinimized=true setting, it doesn't get picked up at launch

pnchinmay commented 2 years ago

Hey @Venegrad, you can follow this guide meanwhile.

https://robbinespu.github.io/eng/2018/03/17/Minimize_spotify_linux.html

The said blog worked for me in case of spotify. Thanks

pnchinmay commented 2 years ago

@Daxx Even after explicitly save settings, they aren't actually saved. I also tried to manually edit the config file adding the IconifyMinimized=true setting, it doesn't get picked up at launch

@emmandyar Where can we find the config file where Launch on Startup settings are saved ?