Closed pivusan closed 7 months ago
@pivusan are you using wayland? It only works for me under xorg.
From the little reading I've done, it may not be possible to set the clipboard contents (under wayland) unless your application window has focus. Since radiotray-ng doesn't have one there may be no way to make this work.
thank you for answer. i do not know. i use standard preference. wayland default in ubuntu 22.04 is there the possibility add to radiotray-ng the functionality internet radio with icon "Copy"?:
Radiotray v0.2.8-2-g7fe8c4a
Operating System: TUXEDO OS 2 (Ubuntu 22.04.2 jammy) https://www.tuxedocomputers.com/en/TUXEDO-OS_1.tuxedo# KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 Kernel Version: 6.2.0-10007-tuxedo (64-bit)
It would be a wish of me too that it would be possible to copy song title and artist to clipboard with a simple mouse click.
Radiotray is still my favorite app to stream radio from internet.
I know this isn't a fix, but you could write a script and assign it to a hotkey that runs this command:
wl-copy $(rtng-dbus get_player_state | jq -r '[.title,.artist] | @csv')
ubuntu 22.04 radiotray-ng_0.2.8_ubuntu_22.04_amd64.deb installed