rofi-gpaste icon indicating copy to clipboard operation
rofi-gpaste copied to clipboard

Issues with i3 shortcuts

Open landorg opened this issue 4 months ago • 8 comments

Hi I'm having problems to run this from an i3 shortcut. While it works fine from the command line it hangs from the shortcut

bindsym --release $alt+ctrl+h exec "/bin/rofi-gpaste --debug &> /tmp/out"

/tmp/out

+ export SHELLOPTS
+ exec /bin/rofi-gpaste
+ Kb_Clear=Alt+c
+ Kb_Toggle=Alt+p
+ Kb_Delete=Alt+d
+ Kb_Edit=Alt+e
+ Kb_Archive=Alt+s
+ Kb_Hist=Alt+h
+ Kb_Paste=Alt+Return
+ Kb_QR=Alt+q
+ Kb_Save=Alt+o
+ Kb_Backup=Alt+B
+ Kb_Switch_Main=Alt+1
+ Kb_Switch_Archive=Alt+2
+ Kb_LaunchGUI=F1
+ Editor=xdg-open
+ ImageViewer=xdg-open
+ PromptPrefix=' '
+ ConfigFile=/home/roland/.config/rofi-gpaste.conf
+ '[' -f /home/roland/.config/rofi-gpaste.conf ']'
+ Script=rofi-gpaste
+ GpasteDir=/home/roland/.local/share/gpaste
+ pidof -q gpaste-daemon
+ case $1 in
+ menu
++ gpaste-client get-history

It always hangs on the gpaste-client get-history command. Also directly using that command makes it hang:

❯ pgrep -a gpaste
34408 /usr/lib/gpaste/gpaste-daemon
72155 /bin/bash /bin/rofi-gpaste
72158 gpaste-client get-history

Any idea what might be missing there?

landorg avatar Feb 15 '24 01:02 landorg