Advertisement
Guest User

.xinitrc recalbox

a guest
May 31st, 2018
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. matchbox-window-manager -use_titlebar no -use_desktop_mode no -use_lowlight no &
  4.  
  5. # set the keyboard
  6. systemsetting="python /usr/lib/python2.7/site-packages/configgen/settings/recalboxSettings.pyc"
  7. settings_lang="`$systemsetting -command load -key system.language`"
  8.  
  9. # not always true (en_US for us), but it's really better than always english
  10. map_name=$(echo $settings_lang | cut -c 1-2)
  11. setxkbmap "${map_name}"
  12.  
  13. # disable dpms to prevent screen to turns blank
  14. xset -dpms
  15. xset s off
  16.  
  17. # to disable a video output (multi-screen setup) and prevent ES to be stretcht on all screens,
  18. # uncomment the line below, and replace output_name by the output that you want disable on ES startup (ex: HDMI-0)
  19. # xrandr --output output_name --off
  20.  
  21. ##### Force Display Output 1280x720
  22. xrandr -s 1280x720
  23.  
  24. # auto hide cursor each 5 sec of inactivity
  25. hhpc -i 5 &
  26.  
  27. #
  28. export HOME=/recalbox/share/system
  29. export LC_ALL="${settings_lang}.UTF-8"
  30.  
  31. # without windowed, time must be sleeped to wait that matchbox ended to initialize :-(
  32. exec emulationstation --windowed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement