Skip to content

Instantly share code, notes, and snippets.

@nazarewk
Created October 20, 2023 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nazarewk/939a55208b1edf44be681e8b101e1d9c to your computer and use it in GitHub Desktop.
Save nazarewk/939a55208b1edf44be681e8b101e1d9c to your computer and use it in GitHub Desktop.
a message on KDE describing issues

this seems like something fit for the channel, I'm getting coredumps whenever running (some) stuff under Plasma Wayland

kkdn@krul ~ [SIGABRT]> xdg-which org.kde.plasma.emojier.desktop
*** buffer overflow detected ***: terminated
fish: Job 1, 'xdg-which org.kde.plasma.emojie…' terminated by signal SIGABRT (Abort)
kdn@krul ~ [SIGABRT]> 

but not through SSH:

kdn@oams ~> xdg-which org.kde.plasma.emojier.desktop
/run/current-system/sw/share/applications/org.kde.plasma.emojier.desktop
kdn@oams ~> 

probably related to my issue with running that hotkey script with following results:

Oct 20 13:54:03 oams kwin_wayland_wrapper[30779]: kf.service.services: The desktop entry file "/nix/store/whzhsnqqgiyasihb3j8kjsfsb2fm91m2-xwayland-23.2.1/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but no Exec line
Oct 20 13:54:03 oams kwin_wayland_wrapper[30779]: kf.service.sycoca: Invalid Service :  "/nix/store/whzhsnqqgiyasihb3j8kjsfsb2fm91m2-xwayland-23.2.1/share/applications/org.freedesktop.Xwayland.desktop"
Oct 20 13:54:04 oams kwin_wayland_wrapper[30793]: wl-clipboard has been launched with a closed standard file descriptor. This is a bug in the software that has launched wl-clipboard. Aborting.
Oct 20 13:54:04 oams gpg-agent[10455]: scdaemon[10455]: detected reader 'Yubico YubiKey OTP+FIDO+CCID 00 00'
Oct 20 13:54:04 oams gpg-agent[10455]: scdaemon[10455]: detected reader 'Yubico YubiKey OTP+FIDO+CCID 00 00'
Oct 20 13:54:04 oams gpg-agent[10455]: scdaemon[10455]: app_decipher failed: No secret key
--
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit systemd-coredump@12-30794-0.service has successfully entered the 'dead' state.
Oct 20 13:54:08 oams kwin_wayland_wrapper[30791]: /etc/profiles/per-user/kdn/bin/get-kwallet-password: line 8: 30792 Done                    pass show kwallet
Oct 20 13:54:09 oams kwin_wayland_wrapper[30791]:      30793 Aborted                 (core dumped) | wl-copy -n

where the final script under hotkey is:

kdn@oams ~ [1]> cat -n '/etc/profiles/per-user/kdn/bin/get-kwallet-password'
     1  #!/nix/store/xdqlrixlspkks50m9b0mpvag65m3pf2w-bash-5.2-p15/bin/bash
     2  set -o errexit
     3  set -o nounset
     4  set -o pipefail
     5  
     6  export PATH="/nix/store/1zigv1mckxh82kvl5yv59aip26b8wf4g-password-store-1.7.4/bin:/nix/store/i6w7s8984awza7bmnrigk7wnl3sgdnvk-wl-clipboard-2.2.1/bin:/nix/store/hnpvxnx7gg87441jv645jsgfswba8sar-libnotify-0.8.2/bin:/nix/store/3lwrcxnxvfskh7m98fq0n5kqj2001ci7-jq-1.7-bin/bin:$PATH"
     7  
     8  pass show kwallet | wl-copy -n
     9  notify-send --expire-time=10000 --wait "KWallet password" "is available in clipboard until this notificaton closes"
    10  
    11  for i in {1..10} ; do
    12    echo "password cleared $i times" | wl-copy
    13  done
    14  wl-copy --clear
    15  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment