Sending keyboard commands to Ubuntu through Python. Remote for my Blackberry
        Posted  
        
            by 
                Rudi Strydom
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by Rudi Strydom
        
        
        
        Published on 2012-11-17T14:14:28Z
        Indexed on 
            2012/11/18
            11:26 UTC
        
        
        Read the original article
        Hit count: 427
        
I am trying to build a remote control application to control media on my Ubuntu. Does anyone know a way in order to accomplish this. The media keys in particular.
Thank you.
EDIT 1:
I have tried using XTE, but is seems python in truncating the input or there is a limit or something which means that you can't do Ctrl + Key key presses, which wont suit my needs.
I also tried uinput, but alas you need to run it as root, which also will not quite my needs.
Now I am looking at EVDEV which seems promicing, that is if I can get it working.
© Ask Ubuntu or respective owner