[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: combine key to output char with xmodmap



On Thu, 11 Jun 2015 00:09:00 +0200
Emanuel Berg <embe8573@student.uu.se> wrote:

> Sven Arvidsson <sa@whiz.se> writes:
> 
> >> How can I change this line
> >> 
> >>     xmodmap -e 'keycode 66=0xe2' # rebind key: CAPS (66) -> â
> >> (0xe2)
> >> 
> >> so that doesn't happen on CAPS alone (66), but
> >> instead (and only) on M-CAPS (here, M == Alt_L)?
> >> 
> >> xev tells me M/Alt_L has has keycode 64.
> >
> > I'm not sure that's possible with xmodmap.
> > Maybe try xmacro?
> 
> Good idea, but I didn't get it t work.
> 
> With this in ~/keys:
> 
>     Delay 1
>     String 0xe2

A guess:

	String "0xe2"

?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."

Attachment: pgprlV02rH2oN.pgp
Description: OpenPGP digital signature


Reply to: