LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2018, 04:21 PM   #1
kawedel
LQ Newbie
 
Registered: Jan 2016
Posts: 13

Rep: Reputation: Disabled
Command-line equivalent of arrow keys?


I am using the Epiphany browser in GNOME, and it forces me to hit the arrow key to navigate results that pop up under the search bar (unlike Firefox). I'd like to find a way to create a keyboard equivalent of the arrow keys, so I don't have to move my hand over to where the arrow keys are. I thought Alt+, for "up arrow" and Alt+. for "down arrow" might work. I've looked at GNOME's Keyboard tweak settings, but they need commands to execute and I haven't been able to figure out what the command equivalents would be.

Or is there a better way to do this?
 
Old 05-03-2018, 08:21 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Any key code has a control or alt then add in some three numbers. What you are wanting seems to be a way to re-map a keycode I think.

https://askubuntu.com/questions/6289...-be-shift-lock may provide a clue?
 
Old 05-04-2018, 08:55 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
would this not fall under software dependent? That being that you have to hook into the software to gain access to its controls in how it has the keyboard mapped to use whatever keys to do whatever within it.

point in case.
Window Maker Live, I had it installed, just for a few day here recently. and whenever I hit the ctrl arrow key to move my cursor in the terminal it would change desktops. very annoying. It was too customized to how they wanted it to be. not very well thought out really. menu didn't even update when I told it too by their setup means. nevertheless, the point being you're going to have to gain focus of the software then see if you can externally manipulate the keyboard.

all you need to do is find out what key words they GNOME uses to control the keyboard.

this might help
https://developer.gnome.org/gdk3/sta...-Handling.html
https://wiki.debian.org/Keyboard/MultimediaKeys
https://help.ubuntu.com/community/MultimediaKeys
 
Old 05-04-2018, 11:31 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
autokey perhaps?
 
Old 05-05-2018, 05:24 AM   #5
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,525

Rep: Reputation: Disabled
I don't know Epiphany, but perhaps the vi keys work(?). (hjkl)

https://help.gnome.org/users/epiphan...ortcut.html.en
https://elementaryos.stackexchange.c...s-for-epiphany

Last edited by fatmac; 05-05-2018 at 05:26 AM.
 
Old 05-05-2018, 12:21 PM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,153

Rep: Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315
As far as I know, you cannot customise shortcuts in Epiphany — unless you want to re-write the source code! I think the answer will be autokey.
 
Old 05-05-2018, 12:23 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
you could just install firefox and be done with it.
 
Old 05-08-2018, 01:05 AM   #8
kevinnovak
LQ Newbie
 
Registered: May 2018
Posts: 2

Rep: Reputation: Disabled
Try xmodmap

Have you tried using xmodmap? I use it to create a vim-style system. I've never replaced arrow keys with a combination (Alt + something) but I guess it is possible.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ubuntu 12.04 computer's arrow keys, page-up and page-down keys suddenly freeze julianvb Linux - Software 7 06-20-2014 06:33 AM
[SOLVED] Command line equivalent of Network Manager?? Ubunoob001 Linux - Newbie 7 09-23-2010 08:26 AM
Equivalent to this command line tygueirn Linux - Software 18 01-11-2010 08:56 AM
Shift-arrow and Alt-arrow keys don't work in xterm Aviv Hurvitz Linux - General 2 09-30-2006 03:43 PM
command line equivalent of mandrakeupdate? gw1500se Mandriva 1 04-25-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration