Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to send paste entry to paste server." on Gnome 46 X-11 #21

Closed
aflip opened this issue Aug 7, 2024 · 5 comments
Closed

"Failed to send paste entry to paste server." on Gnome 46 X-11 #21

aflip opened this issue Aug 7, 2024 · 5 comments

Comments

@aflip
Copy link

aflip commented Aug 7, 2024

I am running Ubuntu 24.04 LTS with Gnome 46 with X11 and after following the instructions on the github page, I got the gui up using egui, but am unable to paste anything, this error shows up if I click on any item.


Screenshot from 2024-08-08 03-12-14

Error: an I/O error occurred Details: Core( Io { error: Os { code: 111, kind: ConnectionRefused, message: "Connection refused", }, context: "Failed to send paste entry to paste server.", }, }

@SUPERCILEX
Copy link
Owner

What outputs when you run systemctl --user status ringboard-x11? It's probably just not started.

@aflip
Copy link
Author

aflip commented Aug 7, 2024

What outputs when you run systemctl --user status ringboard-x11? It's probably just not started.

● ringboard-x11.service - X11 Ringboard clipboard listener
     Loaded: loaded (/home/XXXXXXX/.config/systemd/user/ringboard-x11.service; enabled; preset: enabled)
     Active: active (running) since Thu 2024-08-08 02:47:49 IST; 37min ago
       Docs: https://github.com/SUPERCILEX/clipboard-history
   Main PID: 57502 (ringboard-x11)
      Tasks: 1 (limit: 17675)
     Memory: 432.0K (peak: 1.5M)
        CPU: 41ms
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/ringboard-x11.service
             └─57502 ringboard-x11

Aug 08 03:23:21 XXXXXXX sh[57502]: [INFO  ringboard_x11] Selection notification received.
Aug 08 03:23:21 XXXXXXXX sh[57502]: [INFO  ringboard_x11] Promoting duplicate small selection to front.

@aflip aflip changed the title Gnome context: "Failed to send paste entry to paste server." on Gnome 46 X-11 Aug 7, 2024
@aflip aflip changed the title context: "Failed to send paste entry to paste server." on Gnome 46 X-11 "Failed to send paste entry to paste server." on Gnome 46 X-11 Aug 7, 2024
@SUPERCILEX
Copy link
Owner

Ah shoot, that looks like a configuration bug then. I just pushed an updated that will show the address it's trying to connect to in egui. You'll want to run cargo +nightly install clipboard-history-egui --no-default-features --features x11 to update (or just install https://github.com/nabijaczleweli/cargo-update and run cargo install-update -a to handle things automatically). Then open egui, try to paste, and now the error message should say which file it's trying to use. Then run ls /tmp/.ringboard and we'll see what file ringboard-x11 is using (it'll be something .paste).

@aflip
Copy link
Author

aflip commented Aug 8, 2024

ls /tmp/.ringboard

Confirming that this is solved. the ls command gives the following output
Username.ch Username.egui-sleep Username.paste

deeply appreciate your speedy response. This is the first time I'm installing and using a rust app and i'm still learning the lingo.

@aflip aflip closed this as completed Aug 8, 2024
@SUPERCILEX
Copy link
Owner

Great to hear!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants