Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Insert text in Ubuntu
#1
Hello.
Is there a way to insert text in current cursor position in ubuntu? I tried xdotool, program and lib for python, but both of them works bad for big texts and special characters.
Maybe there is the way to send 'X selection paste' command to system in current active window? Such opportunity could be used for my purpose. But I don't want to move the mouse and emulate middle button click... 'Clipboard paste' is acceptable, but I would prefer to use 'X selection' in this case.
Reply
#2
Have you tried xdotool in cunjunction with xsel or xclip as suggested here?
Reply
#3
(Jan-28-2018, 10:50 AM)Gribouillis Wrote: Have you tried xdotool in cunjunction with xsel or xclip as suggested here?

In the first place.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Insert using psycopg giving syntax error near "INSERT INTO" olgethorpe 4 15,636 Jul-21-2017, 07:39 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020