Question

I have just installed xkeycaps and modify a key in my keyboard layout. So after saving it, xkeycaps says that i should modify the login script adding:

xmodmap ~/.xmodmap-`uname-n`

but when i run that line I get this:

xmodmap ~/.xmodmap-`uname-n`
uname-n: command not found
xmodmap:  unable to open file '/home/tirengarfio/.xmodmap-' for reading

Any idea why that error?

Was it helpful?

Solution

You want

xmodmap ~/.xmodmap-`uname -n`

Note the extra space between uname and -n.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top