[GH-ISSUE #195] Not working in tty #96

Closed
opened 2026-02-28 14:47:00 +03:00 by kerem · 3 comments
Owner

Originally created by @jzbor on GitHub (Dec 16, 2019).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/195

I would really like running spt in the tty. Unfortunately I get
Error: ErrorMessage { msg: "failed to intialize clipboard context: XCB connection error: ClosedParseErr" }
when I try to run it from tty.
Is the application itself dependent on the X server? If so would it be considerable to change that?

Thanks though for your great work so far :)

Originally created by @jzbor on GitHub (Dec 16, 2019). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/195 I would really like running spt in the tty. Unfortunately I get `Error: ErrorMessage { msg: "failed to intialize clipboard context: XCB connection error: ClosedParseErr" }` when I try to run it from tty. Is the application itself dependent on the X server? If so would it be considerable to change that? Thanks though for your great work so far :)
kerem closed this issue 2026-02-28 14:47:00 +03:00
Author
Owner

@Rigellute commented on GitHub (Dec 23, 2019):

Ah sorry to hear this! I think we need a way of disabling the clipboard via the config to avoid errors like this.

X server is required for clipboard support on Linux.

There are some X server install instructions here if you'd like to get it working for now.

<!-- gh-comment-id:568449743 --> @Rigellute commented on GitHub (Dec 23, 2019): Ah sorry to hear this! I think we need a way of disabling the clipboard via the config to avoid errors like this. X server is required for clipboard support on Linux. There are some X server install instructions [here](https://github.com/aweinstock314/rust-clipboard#prerequisites) if you'd like to get it working for now.
Author
Owner

@jzbor commented on GitHub (Dec 28, 2019):

Thank you. I have X already installed - I just wanted to suggest it as a kind of "feature" for further development... :)

<!-- gh-comment-id:569411125 --> @jzbor commented on GitHub (Dec 28, 2019): Thank you. I have X already installed - I just wanted to suggest it as a kind of "feature" for further development... :)
Author
Owner

@telmotrooper commented on GitHub (Jan 9, 2020):

Just started using the tool today and faced the same issue. I wonder if you can check if you're outside a X session to automatically disable the clipboard.

<!-- gh-comment-id:572579289 --> @telmotrooper commented on GitHub (Jan 9, 2020): Just started using the tool today and faced the same issue. I wonder if you can check if you're outside a X session to automatically disable the clipboard.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#96
No description provided.