Advertisement
Guest User

Untitled

a guest
Mar 7th, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. # This file is part of The RetroPie Project
  4. #
  5. # The RetroPie Project is the legal property of its developers, whose names are
  6. # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
  7. #
  8. # See the LICENSE.md file at the top-level directory of this distribution and
  9. # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
  10. #
  11.  
  12. rp_module_id="lxde"
  13. rp_module_desc="LXDE - Desktop Environment for the Raspberry Pi"
  14. rp_module_menus="4+"
  15. rp_module_flags="!x86 !mali"
  16.  
  17. function install_lxde() {
  18. aptInstall lxde xorg policykit-1 raspberrypi-ui-mods
  19. }
  20.  
  21. function configure_lxde() {
  22. addDirectLaunch "$md_id" "lxde" "startx"
  23. # addPort "$md_id" "lxde" "DESKTOP" "startx"
  24. # Enable Autostart into EmulationStation
  25. enable_autostart
  26. printMsgs "dialog" "If you get xsession permission errors you need to run dpkg-reconfigure x11-common and set it to anybody"
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement