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
Last revision Both sides next revision
hypervisor:base:lxde [2014/03/25 03:20]
admin [Setup Keyboard Layout Switching in LXDE]
hypervisor:base:lxde [2014/04/03 03:37]
admin [Install 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.
  
 ===== 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: 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]]).
  
 You can change your keyboard settings by: You can change your keyboard settings by:
Line 22: Line 32:
 > 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 46: Line 69:
 or to reboot the system. or to reboot the system.
  
-After that, you can add a "Keyboard Layout Switcher" ​applet onto the LXPanel and finally test it. +After that, you can add a **Keyboard Layout Switcher** applet onto the LXPanel and finally test it
 + 
 +Also you could add the **fcitx** package to enhance the Keyboard Layout Switcher possibilities,​ amongst other displaying of the selected keyboard layout. 
 +<​code>​ 
 +> sudo apt-get install fcitx 
 +> im-config 
 +</​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 64: Line 97:
 </​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.