AppImageLauncher icon indicating copy to clipboard operation
AppImageLauncher copied to clipboard

Can't change appimage location directory

Open xeruf opened this issue 4 years ago • 6 comments

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:

  1. Open AppImageLauncher settings
  2. Change Location for AppImages
  3. Click "Ok"
  4. Open AppImageLauncher settings again
  5. It displays old location

System, software and AppImage information KDE Neon AppImageLauncher version 2.1.3

xeruf avatar Jul 08 '20 10:07 xeruf

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.

TheAssassin avatar Sep 24 '20 22:09 TheAssassin

Installed via apt on Ubuntu 18:

appimagelauncher is already the newest version (2.1.3-travis975~7408819+bionic).

xeruf avatar Sep 25 '20 20:09 xeruf

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

xxzhai123 avatar Oct 17 '21 03:10 xxzhai123

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.

cipricus avatar Jan 13 '22 11:01 cipricus

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.

stysebae avatar Jan 25 '22 11:01 stysebae

workaround to save changes in settings: sudo chmod 0777 ~/.config/appimagelauncher.cfg

darko314 avatar Oct 26 '23 03:10 darko314