Författare:
Per Stenebo
Skapad:
2016-12-17 17:43:13
Ändrad:
2018-12-21 12:42:21
en

Display

Screen options and other GUI-related stuff in Raspbian Jessie on Rasperry Pi.

Default desktop environment is LXDE, with pi-specific tweaks it then become Pixel.
Openbox is the window manager.

 

Display settings

| config.txt |

Set HD resolution, edit /boot/config.txt:

sudo nano /boot/config.txt

hdmi_group=2
hdmi_mode=82

82: 1920x1080    60Hz    1080p
42: 1400x1050    60Hz
47: 1440x900    60Hz

Simulate hdmi to modify screen settings when connecting thru VNC, you can leave it at 1 even if real hdmi is connected:

hdmi_force_hotplug=1

 

VNC

RealVNC for Raspberry Pi | server docs | 

Start VNC server with raspi-config.

 

Keyboard shortcuts

Default system shortcuts are defined in /etc/xdg/openbox/rc.xml, search for "keybind".

Minimize all windows (show desktop): Ctrl + Alt + D

Open terminal: Ctrl + Alt + T

Custom user-specific shortcuts might be created in ~/.config/openbox/rc.xml
There are already a file ~/.config/openbox/lxde-pi-rc.xml that seems to hold user-specific settings.

Reload settings: openbox --reconfigure

 

Screensaver

Install screensaver to get screen locking and more (man page):

sudo apt install xscreensaver

Lock screen: sleep 2; xscreensaver-command -lock

 

Other

Disable boot splash screen, remove the word "splash" in /boot/cmdline.txt:

sudo cp /boot/cmdline.txt /boot/cmdline.txt.bak
sudo nano /boot/cmdline.txt

Desktop shortcuts: | raspberry-projects |

Kommentarer till sidan Display