User Tools

Site Tools


raspberry-pi:linphone

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
raspberry-pi:linphone [2019/05/01 16:08] – created Wulf Rajekraspberry-pi:linphone [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 https://www.raspberrypi.org/forums/viewtopic.php?p=890408#p890408 https://www.raspberrypi.org/forums/viewtopic.php?p=890408#p890408
- 
-This next part focuses on installing a GUI on top of Raspbian Lite. In order to have a GUI, we need these 4 things: 
-1. Display Server 
-2. Desktop Environment 
-3. Window Manager 
-4. Login Manager 
- 
-1. Xorg Display Server 
-2. Raspberry Pi Desktop (RPD) or Lightweight X11 Desktop Environment (LXDE) or XFCE Desktop Environment (XFCE) or MATE Desktop Environment (MATE) 
-3. Openbox Window Manager (RPD/LXDE) or XFWM Window Manager (XFCE) or Marco Window Manager (MATE) 
-4. LightDM Login Manager 
  
 <code> <code>
 sudo apt-get install --no-install-recommends xserver-xorg xserver-xorg-legacy sudo apt-get install --no-install-recommends xserver-xorg xserver-xorg-legacy
-#When not using login manager, install xinit: 
 sudo apt-get install --no-install-recommends xinit sudo apt-get install --no-install-recommends xinit
  
-Stripped down version of RPD (Raspberry Pi Desktop): +#Disable avahi 
-sudo apt-get install --no-install-recommends raspberrypi-ui-mods lxsession+#The Pi is going to use simple uni-cast DNS multi-cast DNS support is not required. 
 +sudo systemctl disable avahi-daemon 
 +sudo systemctl stop avahi-daemon
  
-optional: +#Disable TriggerHappy 
-pi-greeter : The Raspberry Pi LightDM login theme +#The Pi isn't being used with button. Disable the TriggerHappy daemon (not that it is a init.d service) 
-rpd-icons : The Raspberry Pi Desktop icon theme +sudo systemctl disable triggerhappy 
-gtk2-engines-clearlookspix : GTK Theme Engine (used to render Raspberry Pi LightDM login/desktop theme properly)+sudo systemctl stop triggerhappy 
  
-Openbox WM is installed by default when using RPD.+#When not using nfs remove: 
 +sudo apt-get remove –purge nfs-common
  
-with xinit, system starts in command line. When required, use startx to start GUI +#When not using bluetooth: 
-</code>+sudo vi /boot/config.txt 
 +dtoverlay=pi3-disable-bt 
 + 
 +sudo vi /boot/cmdline.txt 
 +change console=tty1 to console=tty3 
 +add at the end of the line: loglevel=3 quiet logo.nologo
  
-Single application setup: 
-<code> 
 sudo apt-get install --no-install-recommends xserver-xorg sudo apt-get install --no-install-recommends xserver-xorg
 +# sudo apt-get install xserver-xorg-input-evdev
 sudo apt-get install --no-install-recommends xinit sudo apt-get install --no-install-recommends xinit
-sudo apt-get install openbox lxterminal +# required for xset command 
-#sudo apt-get install lightdm +sudo apt-get install x11-xserver-utils
-echo "exec openbox-session" | tee ~/.xinitrc +
 sudo apt-get install linphone sudo apt-get install linphone
-</code>+echo "# Disable any form of screen saver screen blanking / power management 
 +xset s off 
 +xset s noblank 
 +xset -dpms 
 +# Allow quitting the X server with CTRL-ATL-Backspace 
 +setxkbmap -option terminate:ctrl_alt_bksp 
 +exec /usr/bin/linphone" | tee ~/.xinitrc
  
-<code>sudo dpkg-reconfigure xserver-xorg-legacy</code> +sudo dpkg-reconfigure xserver-xorg-legacy</code> 
-set anybody+#set anybody
  
-<code>sudo vi /etc/X11/Xwrapper.config</code> +<code> 
-<code>allowed_users=anybody +echo "allowed_users=anybody 
-needs_root_rights=yes</code>+needs_root_rights=yes"sudo tee /etc/X11/Xwrapper.config
  
-<code>sudo usermod -a -G audio,tty,video,users pi</code>+sudo usermod -a -G audio,tty,video,users pi</code>
  
-<code>sudo vi /etc/xdg/openbox/autostart</code> 
-<code>/usr/bin/linphone & #set the program to start</code> 
- 
-<code> 
-#disable right-mousebutton in openbox:  
-sudo vi /etc/xdg/openbox/rc.xml 
-</code> 
-<code> 
-#comment out these lines using <!-- and --> 
- 
-<!--  
-#    <mousebind button="Right" action="Press"> 
-#      <action name="Focus"/> 
-#      <action name="Raise"/> 
-#      <action name="ShowMenu"><menu>client-menu</menu></action> 
-#    </mousebind> 
---> 
-</code> 
  
 +Autostart X on boot-up:
 <code> <code>
 sudo vi /etc/systemd/system/kiosk.service sudo vi /etc/systemd/system/kiosk.service
Line 89: Line 71:
 sudo systemctl enable kiosk sudo systemctl enable kiosk
 sudo systemctl start kiosk sudo systemctl start kiosk
- 
 </code> </code>
raspberry-pi/linphone.1556723283.txt.gz · Last modified: 2023/05/29 11:53 (external edit)