Developer's Blog

Customizable gestures in Sleipnir 2 and Sleipnir 3 for Windows Web browsers

Sleipnir 3 for Windows Web browser official banner and logo

The newly released Sleipnir 3 has been implemented with the innovative TouchPaging gestures.

Sleipnir 2 also has gestures, but unlike the smartphone-like gestures of Sleipnir 3, combinations are only limited to the 4 directional keys(Up, right, down left).
The main advantage of Sleipnir 2 gestures is that you can freely customize a wide range of functions to really improve and speed up your browsing experience.

Although this is a Sleipnir 2 feature, there is no need to go back to Sleipnir 2 to use it as there is an option in Sleipnir 3 to use it.

Turning on Sleipnir 2 gestures

Sleipnir 3 gestures are used as default, so the first thing you need to do to use Sleipnir 2 style gestures is to switch on the option.
You can do so by checking “Old Mouse gestures” in the following location:

Tools | Customize | Mouse | Mouse gestures |

▲ Customize option

▲ Mouse options in Customize window

▲ Select “Mouse gestures” from Mouse window

 ▲ Select “Old Mouse gestures”

Once you have checked this option you will find that gestures work in a completely different way.
If you have been using Sleipnir 3 for a while now it may be quite a big difference to get used to, so please give it a test run with the default gestures.

▲ Go forward gesture

▲ Gestures being performed can be seen at the bottom-left of the screen

Creating a Sleipnir 2 gesture

There are a number of default Sleipnir 2 gestures to use.
You can use these gestures to refresh pages, close pages, go back and forward and to perform many other functions.
As useful as they are, the functions of the default Sleipnir 2 gestures can be executed very effectively using Sleipnir 3 gestures and TouchPaging.
The real advantage of using Sleipnir 2 gestures is that you can create your own gestures.

You can access the create a gesture screen from the location you used to switch on Sleipnir 2 gestures:

Tools | Customize | Mouse | Mouse gestures |

▲ Sleipnir 2 compatible mouse gesture settings

▲ Mouse gesture options

Firstly click “Sleipnir 2 compatible mouse gesture settings…” from the location above.
Once you do that, the “Mouse alias” screen will be displayed.
Make sure “Enable mouse gesture” at the top left is checked.
Make sure the “Threshold” at the top right is a high enough number to accommodate all the gestures in the box below it.
Now you are ready to add a gesture.

Adding gestures can be performed using the “Add/Remove gestures” options.
On the left are 5 different buttons used for creating how to perform a gesture.

U = Up
R = Right
D = Down
L = Left
BS = Back Space (This is to delete one movement in a gesture.)

The combination you input will be displayed at the right of “Gesture:”.

If you input “DULR”, you will need to move the mouse down, up, left, then right, while holding the right-click button to perform it.

After inputting the “Gesture:”, the next option is “Category:”, but currently only “From action…” is available, so please go to the next option.

All the possible functions that a gesture can perform are listed in the drop-down box of “Item:”.
You may be overwhelmed by the sheer quantity of performable functions, some you may not even have heard of.
However, don’t worry, just look for functions you already know and start with that.
Once you have selected a function to perform, just click the “Add…” button below it to add the gesture.

▲ Add mouse gesture

▲ Your created mouse gesture. Here I create a gesture to save pages.

Finally, do not forget to click the “Apply” button or any modifications will not be applied.

You can also edit and delete gestures by clicking a gesture and adjusting the options or clicking the “delete” button.
Gestures are saved by the combination of directions so you can store multiple ways to perform the same function, but you can not use the same movement combinations.
If you do try to assign a gesture with a movement combination already being used a dialog box asking whether you want to overwrite the existing gesture will be displayed.
Also, please remember that default gestures can be overwritten, modifed or deleted.

So now you are done, trying giving your newly created gesture a go!

Useful examples

You probably have an idea of what gestures you want to create and use, but if you need a little help or inspiration, please check out some of the gestures I created.

Move between tabs:
The default gesture for “L” is go back, and for “R” is go forward. However with the advancement in tab usage, you may want to use these movements to move through tabs instead.
This can be easily performed by adding a gesture with “L” and selecting the “Previous Tab” action, and “R” with the “Next Tab” action.
Because the “L” and “R” actions are already in use, this will overwrite those gestures, so if you want to keep the “go back” and “go forward” gestures, then please edit the movement combinations.

▲ Previous tab gesture

Translate pages:
Another cool gesture I made is one to translate pages.
In the actions drop-down box there are options to translate selected text from English to Japanese, and Japanese to English.

“TranslateSelectedTextEngToJpn”
“TranslateSelectedTextJpnToEng”

▲ Translate page gesture

If you select some text and then perform the gesture, you can translate text in an instance.
This can really be a big help when learning languages or for translation work.

▲ Immediately translated using Excite.co.jp

Summary

So that’s the Sleipnir 2 gestures in Sleipnir 3.
As development for Sleipnir 3 progresses there will be many more advances in Sleipnir 3 gestures.
However, as shown today, existing functions should not be disregarded straight away.
There are many other useful gestures that can be created so please try making your own gestures!


Please follow us on Twitter!

Please join us on Facebook for Sleipnir for Windows!

Facebook Comments