AppImageLauncher
AppImageLauncher copied to clipboard
Can't change appimage location directory
Describe the bug When I configure a new appimage location in the settings dialog, then click okay and open the settings again, it shows the old path - and the daemon still uses the old path as well.
Expected behavior Changing the appimage location in the GUI would automatically be persisted
To Reproduce Steps to reproduce the behavior:
- Open AppImageLauncher settings
- Change Location for AppImages
- Click "Ok"
- Open AppImageLauncher settings again
- It displays old location
System, software and AppImage information KDE Neon AppImageLauncher version 2.1.3
Please provide screenshots or a short video. Sounds very strange to me.
How did you install AppImageLauncher? You forgot to mention this very important detail.
Installed via apt on Ubuntu 18:
appimagelauncher is already the newest version (2.1.3-travis975~7408819+bionic).
I had the same problem. I solved it by manually writting directory info into the config.
I run /usr/bin/AppImageLauncherSettings
and changed directory with GUI, it failed but got the path to config.
[AppImageLauncher] Warning: can't find fallback icon for namedialog-ok
[AppImageLauncher] Warning: can't find fallback icon for namedialog-cancel
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2980, resource id: 14684706, major code: 40 (TranslateCoords), minor code: 0
QIODevice::write (QFile, "/home/seeyou/.config/appimagelauncher.cfg"): device not open
Then
sudo vim /home/seeyou/.config/appimagelauncher.cfg
sudo vim /home/seeyou/.config/appimagelauncher.cfg
The same problem here with appimagelauncher-lite-2.2.0-travis995-0f91801-x86_64.AppImage in Kubuntu 20.04.
This solution worked for me.
Editing in vim required sudo, editing and saving it in in Kate requires root password, so that seems to be the problem: as the GUI setting doesn't require password, it cannot edit that file.
I encountered the same issue on Ubuntu 20.04 (solved with the solution proposed by @xxzhai123). As @cipricus said, it seems to be a permission problem: appimagelauncher.cfg
is owned by root:root
, thus the GUI cannot edit that file without root privileges.
workaround to save changes in settings:
sudo chmod 0777 ~/.config/appimagelauncher.cfg