kando icon indicating copy to clipboard operation
kando copied to clipboard

flatpak apps not working as items

Open iomari opened this issue 1 year ago • 10 comments

Short Summary

Greetings, When I have an item like "flatpak run org.gimp.GIMP//beta", the menu never executes them. No error, ti just does not execute flatpak apps. BTW, this happens with all flatpak apps that I try .

I'm using kubuntu 24.10 and kando 1.5.1

Steps to Reproduce the Issue

  1. Open the editor by using the tray icon
  2. Create a menu item with a flatpak app to execute
  3. call up kando menu and try to execute the item. ...

Kando Version

v1.5.1

Installation Method

Another method (specify in the comments below)

Desktop Environment

KDE on X11

Environment Version

Kubuntu 24.10

Additional Information

I installed kando 1.5.1 directly from the deb kando_1.5.1_amd64.deb file in kubuntu.

iomari avatar Nov 22 '24 16:11 iomari

Hi there! I cannot reproduce this on my end. Flatpaks just run fine for me. There used to be #552, but this is fixed now.

Have you tried running Kando from a terminal? Maybe some error is printed there?

Schneegans avatar Nov 22 '24 18:11 Schneegans

I ran it from the command line and thee's no error when I run a flatpak app. It just doesn't launch.

iomari avatar Nov 23 '24 14:11 iomari

I tried this now even with the beta GIMP build and it just works fine for me. So I think it's a configuration issue of your system which will be very hard to debug. I would suggest the following:

  1. Run env in the terminal where the command works, copy the output to somewhere.
  2. Add a Run Command item to Kando and make it open a terminal. For instance xterm.
  3. Execute this action to open the terminal.
  4. Try to run the flatpak from in there. It should fail.
  5. Run env in the new terminal and compare the output to the output from the first terminal. Figure out the exact details. If there's any path different, it could make the flatpak fail.

Schneegans avatar Nov 24 '24 04:11 Schneegans

OK, after much probing, it seems that it's not that the flatpak apps won't launch, they launch literally about 20 minutes after I click them.
The other day I was wondering why an app opened on my desktop for no reason. Only to discover that it was the app I tried to launch from kando 20 minutes ago.. Does this sound like something that can be resolved?

iomari avatar Nov 29 '24 17:11 iomari

That is... weird. Could you try what I outlined above? Maybe this gives a hint...

Schneegans avatar Nov 29 '24 19:11 Schneegans

greetings, this is getting stranger. When I run xterm -e "/usr/bin/flatpak run org.gimp.GIMP//beta" from the command line, xterm opens then it runs gimp. Bu when I use the same command in xando and execute it, xterm opens with to a black screen with the cursor flashing.

iomari avatar Dec 12 '24 08:12 iomari

Issue still there even after updating to 1.7. I do notice though that the app shows when I list processes but the it doesn't load it's interface.

iomari avatar Dec 29 '24 15:12 iomari

I am adding my findings here but this may be better served as a separate issue.

As previously mentioned I get the following error when trying to use the xdg portal commands:

Failed to execute action: /usr/bin/xdg-open: line 1045: www-browser: command not found
/usr/bin/xdg-open: line 1045: links2: command not found
/usr/bin/xdg-open: line 1045: elinks: command not found
/usr/bin/xdg-open: line 1045: links: command not found
/usr/bin/xdg-open: line 1045: lynx: command not found
/usr/bin/xdg-open: line 1045: w3m: command not found
xdg-open: no method available for opening '/home/blaire'

I am also unable to open most flatpak applications, but some still work (e.g. GIMP works, Zen Browser does not work). AppImages also do not open and I haven't found an AppImage that does open. I am able to issue other types of commands for example ptyxis successfully opens a terminal.

I have discovered that my laptop is able to run Kando just fine. My laptop and desktop are both running Universal Blue images that use Fedora + KDE Wayland, but the distros are different (desktop is Bazzite, laptop is AuroraDX). My laptop also has a couple differences inside of Flatseal. It has file access to xdg-config/gtk-4.0:ro and the environment variable USE_POINTER_VIEWPORT=1. Adding these manually to my desktop Kando does not resolve the issue.

As a result of this I have logged environment variables of both computers upon running a command to see what the differences are.

Desktop (Non-functional):

{
  SHELL: '/bin/sh',
  SESSION_MANAGER: 'local/unix:@/tmp/.ICE-unix/2802,unix/unix:/tmp/.ICE-unix/2802',
  __EGL_EXTERNAL_PLATFORM_CONFIG_DIRS: '/etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d',
  COLORTERM: 'truecolor',
  XDG_CONFIG_DIRS: '/app/etc/xdg:/etc/xdg',
  XDG_SESSION_PATH: '/org/freedesktop/DisplayManager/Session0',
  NVM_INC: '/home/blaire/.config/nvm/versions/node/v15.14.0/include/node',
  HISTCONTROL: 'ignoredups',
  XDG_MENU_PREFIX: 'plasma-',
  PTYXIS_PROFILE: '2871e8027773ae74d6c87a5f659bbc74',
  HOSTNAME: 'fedora',
  HISTSIZE: '1000',
  ICEAUTHORITY: '/run/user/1000/iceauth_eOhSow',
  LANGUAGE: 'en_US',
  SSH_AUTH_SOCK: '/run/user/1000/ssh-agent.socket',
  XDG_DATA_HOME: '/home/blaire/.var/app/menu.kando.Kando/data',
  XDG_CONFIG_HOME: '/home/blaire/.var/app/menu.kando.Kando/config',
  MEMORY_PRESSURE_WRITE: 'c29tZSAyMDAwMDAgMjAwMDAwMAA=',
  HOMEBREW_PREFIX: '/home/linuxbrew/.linuxbrew',
  DESKTOP_SESSION: 'plasma',
  GTK_RC_FILES: '/etc/gtk/gtkrc:/home/blaire/.gtkrc:/home/blaire/.config/gtkrc',
  GDK_CORE_DEVICE_EVENTS: '1',
  FLATPAK_ID: 'menu.kando.Kando',
  GPG_TTY: '/dev/pts/1',
  EDITOR: '/usr/bin/nano',
  XDG_SEAT: 'seat0',
  PWD: '/home/blaire',
  ALSA_CONFIG_PATH: '/usr/share/alsa/alsa-flatpak.conf',
  XDG_SESSION_DESKTOP: 'KDE',
  LOGNAME: 'blaire',
  XDG_SESSION_TYPE: 'wayland',
  SYSTEMD_EXEC_PID: '14245',
  XAUTHORITY: '/run/flatpak/Xauthority',
  SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS: '0',
  container: 'flatpak',
  XKB_DEFAULT_MODEL: 'pc105',
  GTK2_RC_FILES: '/home/blaire/.gtkrc-2.0-kde4',
  GI_TYPELIB_PATH: '/app/lib/girepository-1.0',
  HOME: '/home/blaire',
  SSH_ASKPASS: '/usr/bin/ksshaskpass',
  LANG: 'en_US.UTF-8',
  LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.7z=01;31:*.ace=01;31:*.alz=01;31:*.apk=01;31:*.arc=01;31:*.arj=01;31:*.bz=01;31:*.bz2=01;31:*.cab=01;31:*.cpio=01;31:*.crate=01;31:*.deb=01;31:*.drpm=01;31:*.dwm=01;31:*.dz=01;31:*.ear=01;31:*.egg=01;31:*.esd=01;31:*.gz=01;31:*.jar=01;31:*.lha=01;31:*.lrz=01;31:*.lz=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.lzo=01;31:*.pyz=01;31:*.rar=01;31:*.rpm=01;31:*.rz=01;31:*.sar=01;31:*.swm=01;31:*.t7z=01;31:*.tar=01;31:*.taz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tgz=01;31:*.tlz=01;31:*.txz=01;31:*.tz=01;31:*.tzo=01;31:*.tzst=01;31:*.udeb=01;31:*.war=01;31:*.whl=01;31:*.wim=01;31:*.xz=01;31:*.z=01;31:*.zip=01;31:*.zoo=01;31:*.zst=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:',
  XDG_CURRENT_DESKTOP: 'KDE',
  MEMORY_PRESSURE_WATCH: '/sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/dbus-:[email protected]/memory.pressure',
  VTE_VERSION: '7804',
  WAYLAND_DISPLAY: 'wayland-0',
  AT_SPI_BUS_ADDRESS: 'unix:path=/run/flatpak/at-spi-bus',
  XDG_SEAT_PATH: '/org/freedesktop/DisplayManager/Seat0',
  INVOCATION_ID: '4e09a2b9633d4994b38cdbaa109ceddd',
  MANAGERPID: '2169',
  STEAM_FRAME_FORCE_CLOSE: '1',
  KDE_SESSION_UID: '1000',
  XDG_CACHE_HOME: '/home/blaire/.var/app/menu.kando.Kando/cache',
  INFOPATH: '/home/linuxbrew/.linuxbrew/share/info:',
  NVM_DIR: '/home/blaire/.config/nvm',
  XKB_DEFAULT_LAYOUT: 'us',
  XDG_SESSION_CLASS: 'user',
  TERM: 'xterm-256color',
  LESSOPEN: '||/usr/bin/lesspipe.sh %s',
  USER: 'blaire',
  HOMEBREW_CELLAR: '/home/linuxbrew/.linuxbrew/Cellar',
  QT_WAYLAND_RECONNECT: '1',
  KDE_SESSION_VERSION: '6',
  SUDO_ASKPASS: '/usr/bin/ksshaskpass',
  DISPLAY: ':0',
  SHLVL: '1',
  NVM_CD_FLAGS: '',
  FLATPAK_SANDBOX_DIR: '/home/blaire/.var/app/menu.kando.Kando/sandbox',
  HOMEBREW_REPOSITORY: '/home/linuxbrew/.linuxbrew/Homebrew',
  XDG_VTNR: '1',
  XDG_SESSION_ID: '1',
  XDG_STATE_HOME: '/home/blaire/.var/app/menu.kando.Kando/.local/state',
  LD_LIBRARY_PATH: '',
  XDG_RUNTIME_DIR: '/run/user/1000',
  PYENV_ROOT: '/home/blaire/.pyenv',
  DEBUGINFOD_URLS: 'https://debuginfod.fedoraproject.org/ ',
  GST_PLUGIN_SYSTEM_PATH: '/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0',
  DEBUGINFOD_IMA_CERT_PATH: '/etc/keys/ima:',
  KDEDIRS: '/usr',
  QT_AUTO_SCREEN_SCALE_FACTOR: '0',
  JOURNAL_STREAM: '9:216734',
  XDG_DATA_DIRS: '/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share',
  KDE_FULL_SESSION: 'true',
  PATH: '/app/bin:/usr/bin',
  PYTHONUSERBASE: '/var/data/python',
  DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/flatpak/bus',
  KDE_APPLICATIONS_AS_SCOPE: '1',
  ALSA_CONFIG_DIR: '/usr/share/alsa',
  NVM_BIN: '/home/blaire/.config/nvm/versions/node/v15.14.0/bin',
  MAIL: '/var/spool/mail/blaire',
  PTYXIS_VERSION: '47.12',
  BREW_BASH_COMPLETION: '1',
  CHROME_DESKTOP: 'kando.desktop',
  ORIGINAL_XDG_CURRENT_DESKTOP: 'KDE',
  GDK_BACKEND: 'x11',
  NO_AT_BRIDGE: '1'
}

Laptop (functional):

{
  SHELL: '/bin/sh',
  SESSION_MANAGER: 'local/unix:@/tmp/.ICE-unix/2676,unix/unix:/tmp/.ICE-unix/2676',
  __EGL_EXTERNAL_PLATFORM_CONFIG_DIRS: '/etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d',
  COLORTERM: 'truecolor',
  XDG_CONFIG_DIRS: '/app/etc/xdg:/etc/xdg',
  XDG_SESSION_PATH: '/org/freedesktop/DisplayManager/Session2',
  HISTCONTROL: 'ignoredups',
  XDG_MENU_PREFIX: 'plasma-',
  PTYXIS_PROFILE: '2871e8027773ae74d6c87a5f659bbc74',
  HOSTNAME: 'aurora',
  HISTSIZE: '1000',
  ICEAUTHORITY: '/run/user/1000/iceauth_fKWxDK',
  GUESTFISH_OUTPUT: '\\e[0m',
  SSH_AUTH_SOCK: '/run/user/1000/ssh-agent.socket',
  XDG_DATA_HOME: '/home/blaire/.var/app/menu.kando.Kando/data',
  XDG_CONFIG_HOME: '/home/blaire/.var/app/menu.kando.Kando/config',
  MEMORY_PRESSURE_WRITE: 'c29tZSAyMDAwMDAgMjAwMDAwMAA=',
  HOMEBREW_PREFIX: '/home/linuxbrew/.linuxbrew',
  DESKTOP_SESSION: 'plasma',
  GTK_RC_FILES: '/etc/gtk/gtkrc:/home/blaire/.gtkrc:/home/blaire/.config/gtkrc',
  GDK_CORE_DEVICE_EVENTS: '1',
  FLATPAK_ID: 'menu.kando.Kando',
  GPG_TTY: '/dev/pts/2',
  EDITOR: '/usr/bin/nano',
  XDG_SEAT: 'seat0',
  PWD: '/home/blaire',
  ALSA_CONFIG_PATH: '/usr/share/alsa/alsa-flatpak.conf',
  XDG_SESSION_DESKTOP: 'KDE',
  LOGNAME: 'blaire',
  XDG_SESSION_TYPE: 'wayland',
  SYSTEMD_EXEC_PID: '3442',
  XAUTHORITY: '/run/flatpak/Xauthority',
  GUESTFISH_RESTORE: '\\e[0m',
  container: 'flatpak',
  XKB_DEFAULT_MODEL: 'pc105',
  GTK2_RC_FILES: '/home/blaire/.gtkrc-2.0-kde4',
  GI_TYPELIB_PATH: '/app/lib/girepository-1.0',
  HOME: '/home/blaire',
  SSH_ASKPASS: '/usr/bin/ksshaskpass',
  LANG: 'en_US.UTF-8',
  LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.7z=01;31:*.ace=01;31:*.alz=01;31:*.apk=01;31:*.arc=01;31:*.arj=01;31:*.bz=01;31:*.bz2=01;31:*.cab=01;31:*.cpio=01;31:*.crate=01;31:*.deb=01;31:*.drpm=01;31:*.dwm=01;31:*.dz=01;31:*.ear=01;31:*.egg=01;31:*.esd=01;31:*.gz=01;31:*.jar=01;31:*.lha=01;31:*.lrz=01;31:*.lz=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.lzo=01;31:*.pyz=01;31:*.rar=01;31:*.rpm=01;31:*.rz=01;31:*.sar=01;31:*.swm=01;31:*.t7z=01;31:*.tar=01;31:*.taz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tgz=01;31:*.tlz=01;31:*.txz=01;31:*.tz=01;31:*.tzo=01;31:*.tzst=01;31:*.udeb=01;31:*.war=01;31:*.whl=01;31:*.wim=01;31:*.xz=01;31:*.z=01;31:*.zip=01;31:*.zoo=01;31:*.zst=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:',
  XDG_CURRENT_DESKTOP: 'KDE',
  MEMORY_PRESSURE_WATCH: '/sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/dbus-:[email protected]/memory.pressure',
  STARSHIP_SHELL: 'bash',
  VTE_VERSION: '7804',
  WAYLAND_DISPLAY: 'wayland-0',
  AT_SPI_BUS_ADDRESS: 'unix:path=/run/flatpak/at-spi-bus',
  GUESTFISH_PS1: '\\[\\e[1;32m\\]><fs>\\[\\e[0;31m\\] ',
  XDG_SEAT_PATH: '/org/freedesktop/DisplayManager/Seat0',
  INVOCATION_ID: '572b9ff40a874cd9900a0f16ee093046',
  USE_POINTER_VIEWPORT: '1',
  MANAGERPID: '2216',
  STARSHIP_SESSION_KEY: '1896363822537231',
  KDE_SESSION_UID: '1000',
  XDG_CACHE_HOME: '/home/blaire/.var/app/menu.kando.Kando/cache',
  INFOPATH: '/home/linuxbrew/.linuxbrew/share/info:',
  XKB_DEFAULT_LAYOUT: 'us',
  XDG_SESSION_CLASS: 'user',
  TERM: 'xterm-256color',
  LESSOPEN: '||/usr/bin/lesspipe.sh %s',
  USER: 'blaire',
  HOMEBREW_CELLAR: '/home/linuxbrew/.linuxbrew/Cellar',
  QT_WAYLAND_RECONNECT: '1',
  KDE_SESSION_VERSION: '6',
  PAM_KWALLET5_LOGIN: '/run/user/1000/kwallet5.socket',
  SUDO_ASKPASS: '/usr/bin/ksshaskpass',
  DISPLAY: ':0',
  SHLVL: '1',
  FLATPAK_SANDBOX_DIR: '/home/blaire/.var/app/menu.kando.Kando/sandbox',
  GUESTFISH_INIT: '\\e[1;34m',
  HOMEBREW_REPOSITORY: '/home/linuxbrew/.linuxbrew/Homebrew',
  XDG_VTNR: '2',
  XDG_SESSION_ID: '2',
  XDG_STATE_HOME: '/home/blaire/.var/app/menu.kando.Kando/.local/state',
  LD_LIBRARY_PATH: '',
  XDG_RUNTIME_DIR: '/run/user/1000',
  DEBUGINFOD_URLS: 'https://debuginfod.fedoraproject.org/ ',
  GST_PLUGIN_SYSTEM_PATH: '/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0',
  DEBUGINFOD_IMA_CERT_PATH: '/etc/keys/ima:',
  KDEDIRS: '/usr',
  QT_AUTO_SCREEN_SCALE_FACTOR: '0',
  JOURNAL_STREAM: '9:34462',
  XDG_DATA_DIRS: '/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share',
  KDE_FULL_SESSION: 'true',
  PATH: '/app/bin:/usr/bin',
  PYTHONUSERBASE: '/var/data/python',
  DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/flatpak/bus',
  KDE_APPLICATIONS_AS_SCOPE: '1',
  ALSA_CONFIG_DIR: '/usr/share/alsa',
  MAIL: '/var/spool/mail/blaire',
  PTYXIS_VERSION: '47.12',
  SYSTEMD_SLEEP_FREEZE_USER_SESSIONS: '0',
  BREW_BASH_COMPLETION: '1',
  CHROME_DESKTOP: 'kando.desktop',
  ORIGINAL_XDG_CURRENT_DESKTOP: 'KDE',
  GDK_BACKEND: 'x11',
  NO_AT_BRIDGE: '1'
}

I threw both of these into diffchecker and not much stands out to me, but maybe something jumps out to you? @Schneegans

nveeee avatar Mar 30 '25 21:03 nveeee

That's a great opportunity that you have two machines, one working and the other not. This can maybe help here!

However, as you pointed out, the environment looks very similar indeed. The only difference which I spotted is that one of your systems has LANGUAGE: 'en_US', set while the other doesn't. Could this make a difference?

Schneegans avatar Mar 31 '25 04:03 Schneegans

I manually added it with Flatseal and it did not change anything unfortunately. I will try raising the issue with the Bazzite devs/community and see if there is some quirk with desktop portals on their end

nveeee avatar Mar 31 '25 07:03 nveeee

I recently did some investigations into this direction. Flatpaks and and some other apps using desktop portals seem sometimes to behave very strangely when launched from Kando. I think they inherit something from the node process which they do not like. It doesn't seem to be the environment, more like something related to open file descriptors or so.

Trying to run the apps in a more detached manner, I stumbled across systemd-run, which fixes some issues for me. Could you try prefixing your commands with systemd-run --pty --user ... and see if this helps on your end as well?

Schneegans avatar Jun 03 '25 14:06 Schneegans

I added this as an option to the run-command items:

Image

So I think this should work in the upcoming version!

Schneegans avatar Jun 05 '25 03:06 Schneegans