Rofi: writing to xclip causes rofi to freeze

Created on 6 May 2018  路  5Comments  路  Source: davatorium/rofi

Version

Version: 1.5.1-dirty (tags/1.5.1)

Configuration

https://gist.github.com/benjumanji/55e4f6fa28a2d0335b49c74c330cfc00

Launch Command

rofi -modi pw:$PWD/pw -show pw

Steps to reproduce

run the launch command and make a selection

What behaviour you see

Rofi is unresponsive, keyboard and mouse grabbed, have to kill rofi from other tty

What behaviour you expect to see

Rofi to exit, and for foo to in the clipboard.

All 5 comments

If the script is not exiting? how should rofi know what todo? maybe there is some output coming in the future to display.

maybe detach the part that calls xclip?

Ok, but in any other context cat foo | xclip -sel clip _does_ just exit. And if I get rid of the call to xclip, the above script works just fine, therefor I surmise that somehow it is the combination of the two. If you were investigating this, what would you try?

Ok, your comment has made me think a bit harder, and reading the xclip man pages has made me realise that I didn't _know_ how xclip actually works process wise, and I can see that _xclip_ isn't exiting. Sorry for the spurious report. Thanks for your time!

no problem.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

strogiyotec picture strogiyotec  路  4Comments

ghost picture ghost  路  3Comments

carnager picture carnager  路  5Comments

stefanberndtsson picture stefanberndtsson  路  3Comments

herrsimon picture herrsimon  路  5Comments