cammos-rpi-displays
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
cammos-rpi-displays [2015/04/09 17:23] – snarg | cammos-rpi-displays [2015/06/09 11:02] – [VNC instructions] snarg | ||
---|---|---|---|
Line 9: | Line 9: | ||
==== Change default password ==== | ==== Change default password ==== | ||
The default password for the " | The default password for the " | ||
+ | |||
+ | ==== Change keyboard layout to US ==== | ||
+ | - Type this:< | ||
+ | - Then find where it says< | ||
+ | - Change to< | ||
+ | - Save and exit. | ||
==== Static IP instructions==== | ==== Static IP instructions==== | ||
Line 20: | Line 26: | ||
iface eth0 inet static | iface eth0 inet static | ||
- | address 10.106.228.231 | + | #(Change to the IP you require) |
+ | address 10.106.228.231 | ||
gateway 10.106.224.250 | gateway 10.106.224.250 | ||
netmask 255.255.248.0 | netmask 255.255.248.0 | ||
network 10.106.228.0 | network 10.106.228.0 | ||
- | broadcast 10.106.228.255</ | + | broadcast 10.106.231.255</ |
- Save and exit nano. | - Save and exit nano. | ||
- | - Restart new network configuration by typing the following:< | + | - Restart new network configuration by typing the following:< |
==== SAMBA instructions: | ==== SAMBA instructions: | ||
Line 88: | Line 95: | ||
==== Alternative to tab mix plus tab slideshow ==== | ==== Alternative to tab mix plus tab slideshow ==== | ||
This method for rotating the tabs gives more flexibility to script PGDOWN keystrokes etc to scroll multiple PDF pages. Do this *instead* of the above CTRL+F9 method. | This method for rotating the tabs gives more flexibility to script PGDOWN keystrokes etc to scroll multiple PDF pages. Do this *instead* of the above CTRL+F9 method. | ||
- | | + | Note: we use xte from xautomation package for keystroke events on RPI debian wheezy instead of xtotool, because xtotool on latest Raspbian seems to have a 100% cpu openbox bug. We use xtotool only to activate focus on the correct window. |
+ | | ||
- Create a script with:< | - Create a script with:< | ||
- Paste the following commands into the script:< | - Paste the following commands into the script:< | ||
Line 107: | Line 115: | ||
xdotool windowactivate --sync $WID | xdotool windowactivate --sync $WID | ||
#Page down | #Page down | ||
- | | + | |
#delay for reading the page | #delay for reading the page | ||
Line 115: | Line 124: | ||
xdotool windowactivate --sync $WID | xdotool windowactivate --sync $WID | ||
#Home to go back to top of current tab | #Home to go back to top of current tab | ||
- | | + | |
#ctrl+tab to go to next tab | #ctrl+tab to go to next tab | ||
- | | + | |
+ | xte 'key Tab' | ||
+ | xte 'keyup Control_L' | ||
done</ | done</ | ||
- Make the script executable with:< | - Make the script executable with:< | ||
Line 133: | Line 144: | ||
- Enter password twice, enter to store in default location, then CTRL+C to quit x11vnc after its fired up. | - Enter password twice, enter to store in default location, then CTRL+C to quit x11vnc after its fired up. | ||
- Type the following to edit the autostart file (make sure the directory exists first)< | - Type the following to edit the autostart file (make sure the directory exists first)< | ||
- | - Add the line:< | + | - Add the line:< |
- Save and exit. | - Save and exit. | ||
- Reboot and test. | - Reboot and test. |
cammos-rpi-displays.txt · Last modified: 2015/06/22 11:57 by snarg