Sunspot Home

Joggler menu

F11 from a mouse button 2 (press the mouse scroll button for full screen browser)

If you click F11 in a browser window to enter full screen display there is no way to return to a smaller window without a keyboard to press F11 again.

You can run the Joggler with just a USB mouse if you
make the centre scroll wheel press down click send an F11.

This follows :-
http://ubuntuforums.org/archive/index.php/t-1000324.html
(many thanks!)

On the GUI do this :-
System - Administration - Synaptic Package manager - add these :-
xbindkeys
xautomation
x11-utils

or in a terminal window do :-
apt-get install xbindkeys xautomation x11-utils

x11-utils contains xev

In a terminal on the Joggler type xev
Put the cursor in the window that pops up, hold the mouse still and press the button you want to program with F11
You get lots of text but in a block starting "ButtonRelease" event see the button number near the end.

My scroll wheel click down was button 2

In the Joggler terminal do
gedit ~/.xbindkeysrc

In the editor window that opens type :-
"/usr/bin/xte 'keydown F11' 'keyup F11' &"
m:0x0 + b:2

then save it.
The file is invisible in the GUI since it starts with a period

Run these two commands to test the configuration:
killall xbindkeys
xbindkeys

Open Google Chrome and see it work!

To make this permanent :-
Go System - Preferences - Startup Applications - Add :-
Name xbindkeys
Commands xbindkeys
Comment for F11 from mouse

Firefox and Flash fix

I use Firefox because it runs my on-line active graph creator "Canvas"
http://www.sunspot.co.uk/Projects/Solar/solar_web_page.html

Also, once you go full screen with F11 from the mouse, you can move up to the top of the page and down drops a menu bar with left arrow so you can go back a page.

I added the Flash plug-in to Firefox by using the plug-in menu in Firefox (BBC iPlayer asked me to load it).
I found it very unreliable - sometimes I could get it to run by playing a wav file using Sox - then (at times) the radio sound started playing.

I then discovered this fix on the Forum (it was for some other sound app that failed). (thanks).

This is supposed to disable pulse audio -
"comment out pulse.conf in /usr/share/alsa/alsa.conf "

I still see reference to "pulse audio" if I do ps aux in terminal . . . .
but it works anyway! - BBC radio sound in Firefox runs every time
- and you can run Sox at the same time (To play scripted alarms etc)


Sunspot Home

Joggler menu