Add own short cut in Abrowser or Icecat?

20 Antworten [Letzter Beitrag]
GNUbahn
Offline
Beigetreten: 02/18/2016

Is it possible to add my own short cut key combination in Abrowser and/or Icecat? For instance I would like to have a short cut to this forum.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Not in Abrowser/IceCat but in GNOME. So, it will work even if the Web browser is not currently running. The "Keyboard" utility, in the "System Settings", has a tab named "Shortcuts". With the "+" button you can add a custom shortcut: choose a "name" (e.g., "Visit Trisquel forum") and specify 'abrowser trisquel.info/forum' as a "command". Then, on the row that has just been created, click on "Disabled" and press the keys you want to be associated with visiting the Trisquel forum. The utility will warn you if the key combination already is in use.

GNUbahn
Offline
Beigetreten: 02/18/2016

Thanks.

This is kind of stupid, but that's how learning works: I already created the short cut via keyboard settings. I just didn't think - and didn't check - that it works when using the browser as well.

Thanks aiding my learning.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

You are welcome. In this way, you can indeed bind the execution of any command to a keyboard shortcut.

GNUbahn
Offline
Beigetreten: 02/18/2016

This works fine, but there is an annoying issue that I hope to be (eventually!?) able to solve:

Using a short cut to open our forum works well, when I don't have an open instance of the forum. My short cut opens a new tab with the forum, even there is already a tab open with the forum. E.g. if I am at the bottom of a thread, pressing my short cut will not take me to the forum page in that tab, but rather leave the thread open and open a new tab with the forum.

Is there no way to come about this?

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

I do not think it is doable with a GNOME shortcut because there does not seem to be an option on the command line (I looked at 'man abrowser') to do that. But I found a free software add-on that apparently does what you want: https://addons.mozilla.org/en-US/firefox/addon/shortcutkey2url

See http://www.enjoyxstudy.com/firefox/extension/shortcutkey2url/index.en.html for instructions.

GNUbahn
Offline
Beigetreten: 02/18/2016

This is close to perfect and might gain popularity (from me) when I learn to use it further.

For the moment it solves my problem in a two step action: First I have to open a list of short cut, then choose the desired short cut.

Short cuts can open a given url or javascrpt (bookmarklet) in three diffeent ways:

In the tab you're in now, in a new tab or in any tab already at the given url/javascript.

Creating a list of short cut to the sites you most often visit will probably ease your browsing experience.

Thanks for the tip

GNUbahn
Offline
Beigetreten: 02/18/2016

This add-on works pretty well in order to create in-browser short-cuts. But since it is not on the fsf list of add-ons, can I trust it is foss?

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

The add-on is released under Mozilla Public License Version 1.1, which is a free software license: https://www.gnu.org/licenses/license-list.html#MPL

However, I could not find the source code online. You could contact the author and see if he or she gives it to you (he or she must, according to the license): http://www.enjoyxstudy.com/contact.html

GNUbahn
Offline
Beigetreten: 02/18/2016

Thanks to your earlier advice I have been using this addon for some time, and I like it. For unknown reasons I went to the mozilla addon site and saw the attached warning. Should I be alert or is this harmless:

ShortcutKey2URL-warning.png
Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

That message means the extension uses XUL or XPCOM, whereas Mozilla now pushes WebExtensions, a technology it shares with other Web browsers, what eases the work of extension developers. More importantly, WebExtensions' API does not expose Firefox's internals as much as XUL/XPCOM's. Ground-breaking changes of that core (e.g., a multi-process Firefox) become possible, whereas XUL/XPCOM extensions can break because they are tightly coupled with the core. For users of proprietary extensions, WebExtensions is somewhat better for their privacies: the user get to accept/deny the access the extension wants to some information.

See https://blog.mozilla.org/addons/2015/08/21/the-future-of-developing-firefox-add-ons/

It may be that defining keyboard shortcuts actually requires accesses to Firefox internals that WebExtensions does not provide anymore. If so, the extension will stop working when the transition to WebExtensions will be over...

GNUbahn
Offline
Beigetreten: 02/18/2016

Thanks. I don't understand any of the technical stuff discussed here and there but it seems that things are going a better way?

But my question is: Should I worry about the Shortcutkey2URL-app's level of access to the core of Firefox?

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

It is free software: you, and all its users, can study the source code, which probably does not do anything you would not want it to do (otherwise, the developer would not give you this freedom).

GNUbahn
Offline
Beigetreten: 02/18/2016

Still, in the world of the knowledgeable the ignorant holds no other currency than trust.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Trust in the knowledgeable users, not trust in the developers (like proprietary software imposes).

MD. SHAHIDUL ISLAM
Offline
Beigetreten: 10/14/2015

any version of icecat for windowx xp?

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

The current build is available only for GNU/Linux.

eliotime3000
Offline
Beigetreten: 06/05/2016

None Windows port runs on Windows XP due to limitation of cross-compiling of GNU IceCat since 31.5.0, even in the 38.8.0, GNU IceCat Windows port runs at minimal Vista and above (if you run the Windows port of GNU IceCat from Windows 8 and beyond, you gotta get better results).

Martins
Offline
Beigetreten: 04/24/2013

I was considering building the Gnu icecat 45.5.1 on my i386 Totatis system with gcc 4.6. What can I change there to stay with Toutatis? The newest icecat needs Belenos just as the needed gcc 4.7 to build it. I have tried Belenos before but I dislike its removed customizations for touchpad and freeze-up problems running it live, off-line on another, newer, AMD64 system. Essentially, I have tried but failed to disable an undocumented setting for abrowser's addons.update-checker for language packs which is annoying while I am working with bash terminal off-line. Changing the browser for another 'quiet' free version is my goal for now. I did try the Tor browser and it was 'quiet' and compatible with Toutatis, but it is not a realistic option considering the unwanted attention its usage garners.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

There is this PPA for newer versions of GCC: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test

What "removed customizations for touchpad"? In fact, I do not understand most of what you write... What is a "quiet" version for instance?

GNUbahn
Offline
Beigetreten: 02/18/2016

My humble suggestion is, that new topics are asked in a new thread.

Not least to make it easier to find good questions and answers later on