GithubHelp home page GithubHelp logo

Automatic pasting about clipster HOT 3 OPEN

hirowatari avatar hirowatari commented on July 24, 2024
Automatic pasting

from clipster.

Comments (3)

dicktyr avatar dicktyr commented on July 24, 2024 2

automated pasting is worth a separate tool!

I use shell scripts to paste or type to the active window

these scripts accept input from stdin or default to read the clipboard if stdin is not connected

I've experimented with two tools to send keystrokes: xdotool and xvkbd
(both send to the active window by default)

xdotool sleep 0.1 key --clearmodifiers "$t" sleep 0.1 keyup Meta_L Meta_R Alt_L Alt_R Super_L Super_R

xdotool has issues with --clearmodifiers hence the trailing keyup

xvkbd -no-jump-pointer -text "$t"

from clipster.

mrichar1 avatar mrichar1 commented on July 24, 2024

Hi,

Apologies for not replying sooner!

It would be nice to be able to do clipster -s; clipster -o

However, clipster -s simply tells the daemon to display the GUI, and then exits immediately. this means that the clipboard has not yet been updated with the new selection.

It would be possible to move GUI display to the client - but that would require the daemon to first hand the entire clipboard history to the client, which could be quite large.
There also isn't an easy way for the client to wait for the daemon to close the GUI.

I'll think about this issue, but there probably isn't an easy fix right now without a major overhaul of the code!

from clipster.

stale avatar stale commented on July 24, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from clipster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.