Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hypervisor:base:lxde [2014/03/25 20:24]
admin [Setup Keyboard Layout Switching in LXDE]
hypervisor:base:lxde [2014/04/03 03:38] (current)
admin [Launch LXDE]
Line 1: Line 1:
-====== Install ​virt-manager ​======+====== Install ​LXDE ======
  
-===== Desktop environment ===== +In some situations, you'll want to install ​an X11 desktop ​in Dom0 (which can be used to run virt-manager ​or XCP-XAPI GUIs)
- +
-Install ​an X11 desktop (which ​we want just so that we can run virt-manager)+
 <​code>​ <​code>​
 > apt-get install xorg lxde > apt-get install xorg lxde
Line 9: Line 7:
  
 This will take a while - be patient! This will take a while - be patient!
 +==== Launch LXDE ====
  
 +Start the graphical environment:​
 +<​code>​
 +> service lightdm start
 +</​code>​
 +
 +You should now be able to login to the graphical environment as the "​user_name"​ user. You can get a shell window using Start > Accessories > LXTerminal.
 +
 +You can also switch between text and graphical consoles using Ctrl-Alt-F1 and Ctrl-Alt-F7 respectively.
 +
 +LXDE can be launched using GDM / KDM or LightDM, please refer to [[https://​wiki.debian.org/​LXDE]] for more on this.
 +
 +As you are working with a desktop install, disable "​Network Manager"​ (UNTESTED)
 +<​code>​
 +> stop network-manager
 +> gedit /​etc/​NetworkManager/​NetworkManager.conf
 +</​code>​
 +Now make sure the "​managed"​ line contains "​managed=false"​ Save and exit 
 ===== Setup Keyboard Layout Switching in LXDE ===== ===== Setup Keyboard Layout Switching in LXDE =====
-<WRAP center round todo 75%>+<wrap center round todo>
 This doesn'​t seem to work. When in the GUI keyboard keeps on US layout. This doesn'​t seem to work. When in the GUI keyboard keeps on US layout.
-</WRAP>+</wrap>
  
 First of all, you need to add the necessary keyboard layouts into the **/​etc/​default/​keyboard** config file (see also: [[https://​wiki.debian.org/​Keyboard|Keyboard in Debian Wiki]]). First of all, you need to add the necessary keyboard layouts into the **/​etc/​default/​keyboard** config file (see also: [[https://​wiki.debian.org/​Keyboard|Keyboard in Debian Wiki]]).
Line 22: Line 38:
 > service keyboard-setup restart > service keyboard-setup restart
 </​code>​ </​code>​
 +
 +=== Use XKB Configuration ===
 +[[http://​www.xfree86.org/​current/​XKB-Config.html]]
 +<wrap center round tip>
 +This works issuing the command line, still looking for a way to make it persistent.
 +</​wrap>​
 +
 +Issue the following command:
 +<​code>​
 +> setxkbmap -rules xfree86 -model pc104 -layout fr -option ""​
 +</​code>​
 +
 +=== Modify default keyboard ===
  
 Here is an example with 5 layouts (US English, Ukrainian, Russian, German and French) and <​Alt>​+<​Shift>​ as a layout changer key combination:​ Here is an example with 5 layouts (US English, Ukrainian, Russian, German and French) and <​Alt>​+<​Shift>​ as a layout changer key combination:​
Line 53: Line 82:
 > im-config > im-config
 </​code>​ </​code>​
 +
 +At this point, you need to restart your X session to get the config working, rebooting might also do the trick.
 ===== Install virt-manager GUI ===== ===== Install virt-manager GUI =====
 +<wrap important>​DO NOT INSTALL virt-manager if you plan on using XCP-XAPI</​wrap>​
 +
 <​code>​ <​code>​
 > apt-get install virt-manager > apt-get install virt-manager
Line 70: Line 103:
 </​code>​ </​code>​
  
-==== Use the GUI ==== 
  
-Start the graphical environment:​ +===== GUI Customization ===== 
-<​code>​ +==== Change wallpaper ==== 
-> service lightdm start +<WRAP center round todo 100%
-</code+TO BE DEFINED - complete theme with grub and login would be great 
- +</WRAP>
-You should now be able to login to the graphical environment as the "​user_name"​ user. You can get shell window using Start > Accessories > LXTerminal. +
- +
-You can also switch between text and graphical consoles using Ctrl-Alt-F1 and Ctrl-Alt-F7 respectively. +
- +
-LXDE can be launched using GDM KDM or LightDM, please refer to [[https://​wiki.debian.org/​LXDE]] for more on this.+
  
 +In the meantime, right-click on your desktop and select the image to use.