[QUESTION] Terminal command for insert word into the clipboard ?[answered]
Hi to all
Can someone tell me what the terminal command for insert specific word from specific text file into the clipboard in SailfishOS, that can be paste in the other app (note etc...)?
Thanks
EDIT: We can use "pbcopy" from warehouse. Thanks to @V10lator for link.
like in terminal: top right - drag mode 'select' -> select text
rudi ( 2015-07-03 20:40:16 +0200 )edittop right 'copy' ?
I asked about command to insert specific word from specific text file into clipboard. Not from terminal app. Please read question.. ;)
Schturman ( 2015-07-03 20:57:17 +0200 )edithow do you open the text file? how do you identify the word you are searching for?
rudi ( 2015-07-03 21:23:31 +0200 )editplease specify your question ;-)
and there is this question
https://together.jolla.com/question/17195/question-how-to-access-clipboard-from-the-command-line/
I mean for example sed, cat or grep command from specific text file and the output insert into clipboard that can be paste in another app. P.S. I will check your link.. thanks
Schturman ( 2015-07-03 21:59:02 +0200 )edit@schturman I think I know what you mean, like sending a dbus message with data "some_text" and having that text replace the current content in the clipboard. Pretty neat thing.
Should be quite doable with some tweak I guess.
juiceme ( 2015-07-03 22:31:35 +0200 )edit