You are not logged in.

#1 2009-02-21 04:53:47

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

xvkbd -text "control + pageup"

I need the modifier for xvkbd that will allow me to send Ctrl+page up to the focused window.

I have this so far: xvkbd -text "\C"

That send control but I don't know how to get page up. Any ideas?

Offline

#2 2009-02-21 14:40:15

virtual
Member
From: Thesaloniki/Greece
Registered: 2006-10-17
Posts: 9

Re: xvkbd -text "control + pageup"

xdotool can do this , try something like

xdotool key ctrl+PageUp

The spelling may be Page_Up or pageup (or maybe all of these are accepted).

Offline

#3 2009-02-21 14:50:19

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: xvkbd -text "control + pageup"

I once tried to make a context sensitive wrapper for xdotool and xbindkeys, but it was really slow (I don't know how xvkbd would do though).

If you find that it's too slow it may be better to just bind an unused key to ctrl+pgup with xmodmap instead.

Offline

#4 2009-02-21 15:33:49

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: xvkbd -text "control + pageup"

Try:

"xvkbd  -text "\[Control]\[Prior]""

I spent the last hour tweaking my own xbindkeys.

The command

xbindkeys -k

Willtell you what the name for a given key is.

Last edited by Skripka (2009-02-21 15:35:21)

Offline

Board footer

Powered by FluxBB