SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-06-23 14:37:14

pepys
Member
Registered: 2013-06-23
Posts: 12

Symbol shortcuts

Hi all,

First time posting here. I've been distro-hopping on and off for years but think I might finally have found my Linux home, thankfully. There is something very liberating about Crunchbang, especially when compared to the oversized and mammoth distros like Ubuntu, which try to be all things to all people.

Anyhow, I do have a question regarding keyboard shortcuts. My laptop, an HP ProBook 4510s has a few broken keys, notably the row of numbers which is above the qwerty line. This isn't a problem when it comes to numbers, as the keyboard also comes with a numpad on the side - but it is an issue if i want to type an exclamation mark, quotation mark, pound sterling sign, dollar sign.....you get the picture. smile

So, how would I go about making a shortcut so that, for example, SHIFT + F1 would give me a ! symbol?

Thanks in advance.

Sam.

Offline

Help fund CrunchBang, donate to the project!

#2 2013-06-23 15:47:38

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Symbol shortcuts


VSIDO | Words That Build Or Destroy

We do not run from challenges, they become new innovations within VSIDO!

Offline

#3 2013-06-23 15:50:23

pepys
Member
Registered: 2013-06-23
Posts: 12

Re: Symbol shortcuts

Thanks for your reply.  smile

I've read all three of those links as I did some Googling before posting here. What none of them seem to explain is how to get a key combination to merely insert a symbol as opposed to executing a more sophisticated command so they were unable to guide me further.

Offline

#4 2013-06-23 16:03:27

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Symbol shortcuts

How about xdotool?  That looks like a similar issue

Full explanation and examples here


VSIDO | Words That Build Or Destroy

We do not run from challenges, they become new innovations within VSIDO!

Offline

#5 2013-06-29 16:34:14

pepys
Member
Registered: 2013-06-23
Posts: 12

Re: Symbol shortcuts

Thanks awfully!

This is what I used:

xmodmap -e 'keycode 67 = exclam'
xmodmap -e 'keycode 68 = quotedbl'

It works splendidly but reverts at restart. At least I can now write properly again.  smile

Offline

#6 2013-06-29 16:47:30

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: Symbol shortcuts

Are you sure you set the correct keyboard when you installed. I usually set '105 key international' & all my (normal) keys just work.
(Presently using a HP G62.)

Edit: If you need to run those commands, I think you would put them into rc.local.

Last edited by fatmac (2013-06-29 16:50:08)


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

#7 2013-06-29 16:49:24

pepys
Member
Registered: 2013-06-23
Posts: 12

Re: Symbol shortcuts

fatmac wrote:

Are you sure you set the correct keyboard when you installed. I usually set '105 key international' & all my (normal) keys just work.
(Presently using a HP G62.)

It's a hardware problem, sadly - they actual keys themselves are damaged and don't work with any OS.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo