Choose style:

Author Topic: assigning a keyboard shortcut to launch the default browser (SOLVED)  (Read 2083 times)

0 Members and 1 Guest are viewing this topic.

Offline damig

  • Member
  • ***
  • Posts: 126
  • Karma: 9
  • New Forum User
    • View Profile
  • Peppermint version(s): 5 (32), 7 (64)
I know u guys must think one should have it in the keyboard, but I dont. The only spare one is the `start` button with the Windows logo.
I went to `keyboard shortcuts`, add>input`Browser`>get key>I clicked it>it showed its code under `key` column>
Action>input `x-www-browser`>run action>apply but it didn't worked.
« Last Edit: April 28, 2014, 10:07:06 am by damig »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26126
  • Karma: 2845
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: assigning a keyboard shortcut to launch the default browser
« Reply #1 on: April 26, 2014, 11:17:04 am »
It's not a good idea to use the Win (aka. Super_L and Mod4) key on it's own as it's in use for other keyboard shortcuts

namely:-

Mod4+e = Open the PCManFM file manager

Mod4+r = the "Run" dialog
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline damig

  • Member
  • ***
  • Posts: 126
  • Karma: 9
  • New Forum User
    • View Profile
  • Peppermint version(s): 5 (32), 7 (64)
Re: assigning a keyboard shortcut to launch the default browser
« Reply #2 on: April 26, 2014, 11:26:12 am »
i tried F12 (F12 | m:0x0 + c:96) but it doesn't work either... is the
Code: [Select]
 x-www-browser
ok?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26126
  • Karma: 2845
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: assigning a keyboard shortcut to launch the default browser
« Reply #3 on: April 26, 2014, 11:54:44 am »
F12 is also used on it's own for quite a few things, including (but probably not limited to) starting the developer tools in web browsers.

You need to be careful in selecting keybindings



Yes
x-www-browser
should be fine, but you need to reload xbindkeys .. this "should" be done when you click Apply, but only as long as you stay in the shortcut editor .. if you want it to persist, you need to click "Apply Save and Exit"

if not, tell xbindkeys to poll the config file for changes with:
Code: [Select]
xbindkeys -p
run in a terminal.
THEN try your keybinding.

you could also use
chromium-browser
or
google-chrome
or
firefox
etc.
instead of
x-www-browser
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline damig

  • Member
  • ***
  • Posts: 126
  • Karma: 9
  • New Forum User
    • View Profile
  • Peppermint version(s): 5 (32), 7 (64)
Re: assigning a keyboard shortcut to launch the default browser
« Reply #4 on: April 26, 2014, 03:44:56 pm »
I'll mark this <SOLVED> for other novices to Peppermint OS, but I'll won't implement it myself (at the moment) coz its more hustle for me than using the mouse.
Thx PCNetSpec, you guys r scarry