summaryrefslogtreecommitdiff
path: root/roles/lxde/files/config_files
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-02 17:03:49 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-02 17:03:49 +0100
commit397c4fed757d201af627636822981e85e84ea572 (patch)
treed6733d4022bf04784be84581f6c16e96a1b229e8 /roles/lxde/files/config_files
downloadAnsible-397c4fed757d201af627636822981e85e84ea572.tar.gz
Ansible-397c4fed757d201af627636822981e85e84ea572.tar.zst
Ansible-397c4fed757d201af627636822981e85e84ea572.zip
Validation initiale
Diffstat (limited to 'roles/lxde/files/config_files')
-rw-r--r--roles/lxde/files/config_files/libfm/libfm.conf44
-rw-r--r--roles/lxde/files/config_files/lxpanel/LXDE/config2
-rw-r--r--roles/lxde/files/config_files/lxpanel/LXDE/panels/panel165
-rw-r--r--roles/lxde/files/config_files/lxpanel/launchtaskbar.cfg4
-rw-r--r--roles/lxde/files/config_files/lxsession-default-apps/settings.conf45
-rwxr-xr-xroles/lxde/files/config_files/lxsession/LXDE/autostart3
-rw-r--r--roles/lxde/files/config_files/lxsession/LXDE/desktop.conf54
-rw-r--r--roles/lxde/files/config_files/lxterminal/lxterminal.conf53
-rw-r--r--roles/lxde/files/config_files/openbox/lxde-rc.xml696
-rw-r--r--roles/lxde/files/config_files/pcmanfm/LXDE/desktop-items-0.conf15
-rw-r--r--roles/lxde/files/config_files/pcmanfm/LXDE/pcmanfm.conf27
-rw-r--r--roles/lxde/files/config_files/xinitrc15
12 files changed, 1123 insertions, 0 deletions
diff --git a/roles/lxde/files/config_files/libfm/libfm.conf b/roles/lxde/files/config_files/libfm/libfm.conf
new file mode 100644
index 0000000..0d79919
--- /dev/null
+++ b/roles/lxde/files/config_files/libfm/libfm.conf
@@ -0,0 +1,44 @@
1# Configuration file for the libfm version 1.3.0.2.
2# Autogenerated file, don't edit, your changes will be overwritten.
3
4[config]
5single_click=0
6use_trash=1
7confirm_del=1
8confirm_trash=1
9advanced_mode=0
10si_unit=0
11force_startup_notify=1
12backup_as_hidden=1
13no_usb_trash=1
14no_child_non_expandable=0
15show_full_names=1
16only_user_templates=0
17template_run_app=0
18template_type_once=0
19auto_selection_delay=600
20drop_default_action=auto
21defer_content_test=0
22quick_exec=0
23terminal=lxterminal
24thumbnail_local=1
25thumbnail_max=2048
26smart_desktop_autodrop=1
27
28[ui]
29big_icon_size=48
30small_icon_size=24
31pane_icon_size=24
32thumbnail_size=128
33show_thumbnail=1
34shadow_hidden=1
35
36[places]
37places_home=1
38places_desktop=1
39places_root=1
40places_computer=1
41places_trash=1
42places_applications=1
43places_network=1
44places_unmounted=1
diff --git a/roles/lxde/files/config_files/lxpanel/LXDE/config b/roles/lxde/files/config_files/lxpanel/LXDE/config
new file mode 100644
index 0000000..76228e2
--- /dev/null
+++ b/roles/lxde/files/config_files/lxpanel/LXDE/config
@@ -0,0 +1,2 @@
1[Command]
2Logout=lxde-logout
diff --git a/roles/lxde/files/config_files/lxpanel/LXDE/panels/panel b/roles/lxde/files/config_files/lxpanel/LXDE/panels/panel
new file mode 100644
index 0000000..34c978d
--- /dev/null
+++ b/roles/lxde/files/config_files/lxpanel/LXDE/panels/panel
@@ -0,0 +1,165 @@
1# lxpanel <profile> config file. Manually editing is not recommended.
2# Use preference dialog in lxpanel to adjust config when you can.
3
4Global {
5 edge=bottom
6 align=left
7 margin=0
8 widthtype=percent
9 width=100
10 height=26
11 transparent=0
12 tintcolor=#000000
13 alpha=0
14 setdocktype=1
15 setpartialstrut=1
16 autohide=0
17 heightwhenhidden=0
18 usefontcolor=1
19 fontcolor=#ffffff
20 background=1
21 backgroundfile=/usr/share/lxpanel/images/background.png
22}
23Plugin {
24 type=space
25 Config {
26 Size=2
27 }
28}
29Plugin {
30 type=menu
31 Config {
32 image=/usr/share/lxde/images/lxde-icon.png
33 system {
34 }
35 separator {
36 }
37 item {
38 command=run
39 }
40 separator {
41 }
42 item {
43 image=gnome-logout
44 command=logout
45 }
46 }
47}
48Plugin {
49 type=launchbar
50 Config {
51 Button {
52 id=pcmanfm.desktop
53 }
54 Button {
55 id=firefox.desktop
56 }
57 }
58}
59Plugin {
60 type=space
61 Config {
62 Size=4
63 }
64}
65Plugin {
66 type=wincmd
67 Config {
68 Button1=iconify
69 Button2=shade
70 }
71}
72Plugin {
73 type=space
74 Config {
75 Size=4
76 }
77}
78Plugin {
79 type=pager
80 Config {
81 }
82}
83Plugin {
84 type=space
85 Config {
86 Size=4
87 }
88}
89Plugin {
90 type=taskbar
91 expand=1
92 Config {
93 tooltips=1
94 IconsOnly=0
95 AcceptSkipPager=1
96 ShowIconified=1
97 ShowMapped=1
98 ShowAllDesks=0
99 UseMouseWheel=1
100 UseUrgencyHint=1
101 FlatButton=0
102 MaxTaskWidth=150
103 spacing=1
104 }
105}
106Plugin {
107 type=monitors
108 Config {
109 DisplayCPU=1
110 DisplayRAM=1
111 CPUColor=#0000FF
112 RAMColor=#FF0000
113 }
114}
115Plugin {
116 type=volume
117 Config {
118 }
119}
120Plugin {
121 type=tray
122 Config {
123 }
124}
125Plugin {
126 type=dclock
127 Config {
128 ClockFmt=%F %R
129 TooltipFmt=%A %x
130 BoldFont=0
131 IconOnly=0
132 CenterText=0
133 }
134}
135Plugin {
136 type=netstatus
137 Config {
138 iface=enp0s31f6
139 configtool=nm-connection-editor
140 }
141}
142Plugin {
143 type=netstatus
144 Config {
145 iface=wlp2s0
146 configtool=nm-connection-editor
147 }
148}
149Plugin {
150 type=batt
151 Config {
152 BackgroundColor=black
153 ChargingColor1=#28f200
154 ChargingColor2=#22cc00
155 DischargingColor1=#ffee00
156 DischargingColor2=#d9ca00
157 HideIfNoBattery=0
158 AlarmCommand=notify-send "Batterie faible" --icon=battery-caution
159 AlarmTime=5
160 BorderWidth=0
161 Size=1
162 ShowExtendedInformation=0
163 BatteryNumber=0
164 }
165}
diff --git a/roles/lxde/files/config_files/lxpanel/launchtaskbar.cfg b/roles/lxde/files/config_files/lxpanel/launchtaskbar.cfg
new file mode 100644
index 0000000..a3d0e52
--- /dev/null
+++ b/roles/lxde/files/config_files/lxpanel/launchtaskbar.cfg
@@ -0,0 +1,4 @@
1[special_cases]
2synaptic=synaptic-pkexec
3soffice.bin=libreoffice
4x-terminal-emulator=lxterminal
diff --git a/roles/lxde/files/config_files/lxsession-default-apps/settings.conf b/roles/lxde/files/config_files/lxsession-default-apps/settings.conf
new file mode 100644
index 0000000..62314cf
--- /dev/null
+++ b/roles/lxde/files/config_files/lxsession-default-apps/settings.conf
@@ -0,0 +1,45 @@
1[Mime]
2webbrowser/available=
3email/available=
4file_manager/available=
5screensaver/available=
6composite_manager/available=
7desktop_manager/available=
8power_manager/available=
9polkit/available=
10im/available=
11widget/available=
12terminal_manager/available=
13audio_player/available=
14video_player/available=
15pdf_reader/available=
16image_display/available=
17text_editor/available=
18archive/available=
19spreadsheet/available=
20bittorent/available=
21document/available=
22burn/available=
23tasks/available=
24webbrowser/installed=Firefox,/usr/lib/firefox/firefox,firefox,/usr/share/applications/firefox.desktop,;
25email/installed=
26file_manager/installed=Gestionnaire de fichiers PCManFM,pcmanfm,system-file-manager,/usr/share/applications/pcmanfm.desktop,;
27screensaver/installed=
28composite_manager/installed=
29desktop_manager/installed=Personnaliser l'apparence,lxappearance,preferences-desktop-theme,/usr/share/applications/lxappearance.desktop,;Paramètres de la session de bureau,lxsession-edit,preferences-desktop,/usr/share/applications/lxsession-edit.desktop,;Applications préférées,libfm-pref-apps,preferences-desktop,/usr/share/applications/libfm-pref-apps.desktop,;Setup Hot Keys,lxhotkey,preferences-desktop-keyboard,/usr/share/applications/lxhotkey-gtk.desktop,;Préférences du bureau,pcmanfm,user-desktop,/usr/share/applications/pcmanfm-desktop-pref.desktop,;Applications par défaut pour LXSession,lxsession-default-apps,preferences-desktop,/usr/share/applications/lxsession-default-apps.desktop,;
30power_manager/installed=
31polkit/installed=
32im/installed=
33widget/installed=
34terminal_manager/installed=LXTerminal,lxterminal,lxterminal,/usr/share/applications/lxterminal.desktop,;
35audio_player/installed=Lecteur multimédia VLC,/usr/bin/vlc,vlc,/usr/share/applications/vlc.desktop,;LXMusic simple music player,lxmusic,lxmusic,/usr/share/applications/lxmusic.desktop,;Qt V4L2 test Utility,qv4l2,qv4l2,/usr/share/applications/qv4l2.desktop,;MPlayer Media Player,mplayer,mplayer,/usr/share/applications/mplayer.desktop,;Contrôle du volume PulseAudio,pavucontrol,multimedia-volume-control,/usr/share/applications/pavucontrol.desktop,;GTK Youtube Viewer,gtk-youtube-viewer,gtk-youtube-viewer,/usr/share/applications/gtk-youtube-viewer.desktop,;
36video_player/installed=Lecteur multimédia VLC,/usr/bin/vlc,vlc,/usr/share/applications/vlc.desktop,;LXMusic simple music player,lxmusic,lxmusic,/usr/share/applications/lxmusic.desktop,;Qt V4L2 test Utility,qv4l2,qv4l2,/usr/share/applications/qv4l2.desktop,;MPlayer Media Player,mplayer,mplayer,/usr/share/applications/mplayer.desktop,;Contrôle du volume PulseAudio,pavucontrol,multimedia-volume-control,/usr/share/applications/pavucontrol.desktop,;GTK Youtube Viewer,gtk-youtube-viewer,gtk-youtube-viewer,/usr/share/applications/gtk-youtube-viewer.desktop,;
37pdf_reader/installed=Visionneur d'images,gpicview,gpicview,/usr/share/applications/gpicview.desktop,;Visionneur de documents,evince,org.gnome.Evince,/usr/share/applications/org.gnome.Evince.desktop,;Aperçu avant impression,evince-previewer,document-print-preview,/usr/share/applications/org.gnome.Evince-previewer.desktop,;
38image_display/installed=Visionneur d'images,gpicview,gpicview,/usr/share/applications/gpicview.desktop,;Visionneur de documents,evince,org.gnome.Evince,/usr/share/applications/org.gnome.Evince.desktop,;Aperçu avant impression,evince-previewer,document-print-preview,/usr/share/applications/org.gnome.Evince-previewer.desktop,;
39text_editor/installed=Vim,vim,gvim,/usr/share/applications/vim.desktop,;
40archive/installed=
41spreadsheet/installed=
42bittorent/installed=
43document/installed=
44burn/installed=
45tasks/installed=Gestionnaire des tâches,lxtask,utilities-system-monitor,/usr/share/applications/lxtask.desktop,;
diff --git a/roles/lxde/files/config_files/lxsession/LXDE/autostart b/roles/lxde/files/config_files/lxsession/LXDE/autostart
new file mode 100755
index 0000000..d8f2e23
--- /dev/null
+++ b/roles/lxde/files/config_files/lxsession/LXDE/autostart
@@ -0,0 +1,3 @@
1@lxpanel --profile LXDE
2@pcmanfm --desktop --profile LXDE
3@xscreensaver -no-splash
diff --git a/roles/lxde/files/config_files/lxsession/LXDE/desktop.conf b/roles/lxde/files/config_files/lxsession/LXDE/desktop.conf
new file mode 100644
index 0000000..171f6b4
--- /dev/null
+++ b/roles/lxde/files/config_files/lxsession/LXDE/desktop.conf
@@ -0,0 +1,54 @@
1[Session]
2window_manager=openbox-lxde
3disable_autostart=no
4polkit/command=lxpolkit
5clipboard/command=lxclipboard
6xsettings_manager/command=build-in
7proxy_manager/command=build-in
8keyring/command=
9quit_manager/command=lxsession-logout
10lock_manager/command=lxlock
11terminal_manager/command=lxterminal
12quit_manager/image=/usr/share/lxde/images/logout-banner.png
13quit_manager/layout=top
14webbrowser/command=/usr/lib/firefox/firefox
15tasks/command=lxtask
16pdf_reader/command=evince
17text_editor/command=vim
18
19[GTK]
20sNet/ThemeName=Adwaita
21sNet/IconThemeName=nuoveXT2
22sGtk/FontName=Sans 10
23iGtk/ToolbarStyle=3
24iGtk/ButtonImages=1
25iGtk/MenuImages=1
26iGtk/CursorThemeSize=18
27iXft/Antialias=1
28iXft/Hinting=1
29sXft/HintStyle=hintslight
30sXft/RGBA=rgb
31iNet/EnableEventSounds=1
32iNet/EnableInputFeedbackSounds=1
33sGtk/ColorScheme=
34iGtk/ToolbarIconSize=3
35sGtk/CursorThemeName=DMZ-White
36
37[Mouse]
38AccFactor=20
39AccThreshold=10
40LeftHanded=0
41
42[Keyboard]
43Delay=500
44Interval=30
45Beep=1
46
47[State]
48guess_default=true
49
50[Dbus]
51lxde=true
52
53[Environment]
54menu_prefix=lxde-
diff --git a/roles/lxde/files/config_files/lxterminal/lxterminal.conf b/roles/lxde/files/config_files/lxterminal/lxterminal.conf
new file mode 100644
index 0000000..e572e20
--- /dev/null
+++ b/roles/lxde/files/config_files/lxterminal/lxterminal.conf
@@ -0,0 +1,53 @@
1[general]
2fontname=Monospace 10
3selchars=-A-Za-z0-9,./?%&#:_
4scrollback=1000
5bgcolor=rgb(0,0,0)
6fgcolor=rgb(170,170,170)
7palette_color_0=rgb(0,0,0)
8palette_color_1=rgb(170,0,0)
9palette_color_2=rgb(0,170,0)
10palette_color_3=rgb(170,85,0)
11palette_color_4=rgb(0,0,170)
12palette_color_5=rgb(170,0,170)
13palette_color_6=rgb(0,170,170)
14palette_color_7=rgb(170,170,170)
15palette_color_8=rgb(85,85,85)
16palette_color_9=rgb(255,85,85)
17palette_color_10=rgb(85,255,85)
18palette_color_11=rgb(255,255,85)
19palette_color_12=rgb(85,85,255)
20palette_color_13=rgb(255,85,255)
21palette_color_14=rgb(85,255,255)
22palette_color_15=rgb(255,255,255)
23color_preset=VGA
24disallowbold=false
25cursorblinks=false
26cursorunderline=false
27audiblebell=false
28tabpos=top
29geometry_columns=80
30geometry_rows=24
31hidescrollbar=true
32hidemenubar=false
33hideclosebutton=false
34hidepointer=false
35disablef10=true
36disablealt=true
37disableconfirm=false
38
39[shortcut]
40new_window_accel=<Primary><Shift>n
41new_tab_accel=<Primary><Shift>t
42close_tab_accel=<Primary><Shift>w
43close_window_accel=<Primary><Shift>q
44copy_accel=<Primary><Shift>c
45paste_accel=<Primary><Shift>v
46name_tab_accel=<Primary><Shift>i
47previous_tab_accel=<Primary>Page_Up
48next_tab_accel=<Primary>Page_Down
49move_tab_left_accel=<Primary><Shift>Page_Up
50move_tab_right_accel=<Primary><Shift>Page_Down
51zoom_in_accel=<Primary><Shift>plus
52zoom_out_accel=<Primary><Shift>underscore
53zoom_reset_accel=<Primary><Shift>parenright
diff --git a/roles/lxde/files/config_files/openbox/lxde-rc.xml b/roles/lxde/files/config_files/openbox/lxde-rc.xml
new file mode 100644
index 0000000..5003f15
--- /dev/null
+++ b/roles/lxde/files/config_files/openbox/lxde-rc.xml
@@ -0,0 +1,696 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Do not edit this file, it will be overwritten on install.
3 Copy the file to $HOME/.config/openbox/ instead. -->
4<openbox_config xmlns='http://openbox.org/3.4/rc'>
5 <resistance>
6 <strength>10</strength>
7 <screen_edge_strength>20</screen_edge_strength>
8 </resistance>
9 <focus>
10 <focusNew>yes</focusNew>
11 <!-- always try to focus new windows when they appear. other rules do
12 apply -->
13 <followMouse>no</followMouse>
14 <!-- move focus to a window when you move the mouse into it -->
15 <focusLast>yes</focusLast>
16 <!-- focus the last used window when changing desktops, instead of the one
17 under the mouse pointer. when followMouse is enabled -->
18 <underMouse>no</underMouse>
19 <!-- move focus under the mouse, even when the mouse is not moving -->
20 <focusDelay>200</focusDelay>
21 <!-- when followMouse is enabled, the mouse must be inside the window for
22 this many milliseconds (1000 = 1 sec) before moving focus to it -->
23 <raiseOnFocus>no</raiseOnFocus>
24 </focus>
25 <!-- when followMouse is enabled, and a window is given focus by moving the
26 mouse into it, also raise the window -->
27 <placement>
28 <policy>Smart</policy>
29 <!-- 'Smart' or 'UnderMouse' -->
30 <center>yes</center>
31 <!-- whether to place windows in the center of the free area found or
32 the top left corner -->
33 <monitor>Any</monitor>
34 </placement>
35 <!-- with Smart placement on a multi-monitor system, try to place new windows
36 on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
37 the active window is -->
38 <theme>
39 <name>Onyx</name>
40 <titleLayout>NLIMC</titleLayout>
41 <!-- available characters are NDSLIMC, each can occur at most once.
42 N: window icon
43 L: window label (AKA title).
44 I: iconify
45 M: maximize
46 C: close
47 S: shade (roll up/down)
48 D: omnipresent (on all desktops).
49 -->
50 <keepBorder>yes</keepBorder>
51 <animateIconify>yes</animateIconify>
52 <font place='ActiveWindow'>
53 <name>sans</name>
54 <size>10</size>
55 <!-- font size in points -->
56 <weight>bold</weight>
57 <!-- 'bold' or 'normal' -->
58 <slant>normal</slant>
59 </font>
60 <!-- 'italic' or 'normal' -->
61 <font place='InactiveWindow'>
62 <name>sans</name>
63 <size>10</size>
64 <!-- font size in points -->
65 <weight>bold</weight>
66 <!-- 'bold' or 'normal' -->
67 <slant>normal</slant>
68 </font>
69 <!-- 'italic' or 'normal' -->
70 <font place='MenuHeader'>
71 <name>sans</name>
72 <size>10</size>
73 <!-- font size in points -->
74 <weight>normal</weight>
75 <!-- 'bold' or 'normal' -->
76 <slant>normal</slant>
77 </font>
78 <!-- 'italic' or 'normal' -->
79 <font place='MenuItem'>
80 <name>sans</name>
81 <size>10</size>
82 <!-- font size in points -->
83 <weight>normal</weight>
84 <!-- 'bold' or 'normal' -->
85 <slant>normal</slant>
86 </font>
87 <!-- 'italic' or 'normal' -->
88 <font place='OnScreenDisplay'>
89 <name>sans</name>
90 <size>10</size>
91 <!-- font size in points -->
92 <weight>bold</weight>
93 <!-- 'bold' or 'normal' -->
94 <slant>normal</slant>
95 </font>
96 </theme>
97 <!-- 'italic' or 'normal' -->
98 <desktops>
99 <!-- this stuff is only used at startup, pagers allow you to change them
100 during a session
101
102 these are default values to use when other ones are not already set
103 by other applications, or saved in your session
104
105 use obconf if you want to change these without having to log out
106 and back in -->
107 <number>2</number>
108 <firstdesk>1</firstdesk>
109 <names/>
110 <!-- set names up here if you want to, like this:
111 <name>desktop 1</name>
112 <name>desktop 2</name>
113 -->
114 <popupTime>875</popupTime>
115 </desktops>
116 <!-- The number of milliseconds to show the popup for when switching
117 desktops. Set this to 0 to disable the popup. -->
118 <resize>
119 <drawContents>yes</drawContents>
120 <popupShow>Nonpixel</popupShow>
121 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
122 <popupPosition>Center</popupPosition>
123 <!-- 'Center', 'Top', or 'Fixed' -->
124 <popupFixedPosition>
125 <!-- these are used if popupPosition is set to 'Fixed' -->
126 <x>10</x>
127 <!-- positive number for distance from left edge, negative number for
128 distance from right edge, or 'Center' -->
129 <y>10</y>
130 </popupFixedPosition>
131 </resize>
132 <!-- You can reserve a portion of your screen where windows will not cover when
133 they are maximized, or when they are initially placed.
134 Many programs reserve space automatically, but you can use this in other
135 cases. -->
136 <margins>
137 <top>0</top>
138 <bottom>0</bottom>
139 <left>0</left>
140 <right>0</right>
141 </margins>
142 <dock>
143 <position>TopLeft</position>
144 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
145 <floatingX>0</floatingX>
146 <floatingY>0</floatingY>
147 <noStrut>no</noStrut>
148 <stacking>Above</stacking>
149 <!-- 'Above', 'Normal', or 'Below' -->
150 <direction>Vertical</direction>
151 <!-- 'Vertical' or 'Horizontal' -->
152 <autoHide>no</autoHide>
153 <hideDelay>300</hideDelay>
154 <!-- in milliseconds (1000 = 1 second) -->
155 <showDelay>300</showDelay>
156 <!-- in milliseconds (1000 = 1 second) -->
157 <moveButton>Middle</moveButton>
158 </dock>
159 <!-- 'Left', 'Middle', 'Right' -->
160 <keyboard>
161 <chainQuitKey>C-g</chainQuitKey>
162 <!-- Keybindings for desktop switching -->
163 <keybind key='C-A-Left'>
164 <action name='DesktopLeft'>
165 <dialog>no</dialog>
166 <wrap>no</wrap>
167 </action>
168 </keybind>
169 <keybind key='C-A-Right'>
170 <action name='DesktopRight'>
171 <dialog>no</dialog>
172 <wrap>no</wrap>
173 </action>
174 </keybind>
175 <keybind key='C-A-Up'>
176 <action name='DesktopUp'>
177 <dialog>no</dialog>
178 <wrap>no</wrap>
179 </action>
180 </keybind>
181 <keybind key='C-A-Down'>
182 <action name='DesktopDown'>
183 <dialog>no</dialog>
184 <wrap>no</wrap>
185 </action>
186 </keybind>
187 <keybind key='S-A-Left'>
188 <action name='SendToDesktopLeft'>
189 <dialog>no</dialog>
190 <wrap>no</wrap>
191 </action>
192 </keybind>
193 <keybind key='S-A-Right'>
194 <action name='SendToDesktopRight'>
195 <dialog>no</dialog>
196 <wrap>no</wrap>
197 </action>
198 </keybind>
199 <keybind key='S-A-Up'>
200 <action name='SendToDesktopUp'>
201 <dialog>no</dialog>
202 <wrap>no</wrap>
203 </action>
204 </keybind>
205 <keybind key='S-A-Down'>
206 <action name='SendToDesktopDown'>
207 <dialog>no</dialog>
208 <wrap>no</wrap>
209 </action>
210 </keybind>
211 <keybind key='W-F1'>
212 <action name='Desktop'>
213 <desktop>1</desktop>
214 </action>
215 </keybind>
216 <keybind key='W-F2'>
217 <action name='Desktop'>
218 <desktop>2</desktop>
219 </action>
220 </keybind>
221 <keybind key='W-F3'>
222 <action name='Desktop'>
223 <desktop>3</desktop>
224 </action>
225 </keybind>
226 <keybind key='W-F4'>
227 <action name='Desktop'>
228 <desktop>4</desktop>
229 </action>
230 </keybind>
231 <keybind key='W-d'>
232 <action name='ToggleShowDesktop'/>
233 </keybind>
234 <keybind key='C-A-d'>
235 <action name='ToggleShowDesktop'/>
236 </keybind>
237 <!-- Keybindings for windows -->
238 <keybind key='A-F4'>
239 <action name='Close'/>
240 </keybind>
241 <keybind key='A-Escape'>
242 <action name='Lower'/>
243 <action name='FocusToBottom'/>
244 <action name='Unfocus'/>
245 </keybind>
246 <keybind key='A-space'>
247 <action name='ShowMenu'>
248 <menu>client-menu</menu>
249 </action>
250 </keybind>
251 <!-- Keybindings for window switching -->
252 <keybind key='A-Tab'>
253 <action name='NextWindow'/>
254 </keybind>
255 <keybind key='A-S-Tab'>
256 <action name='PreviousWindow'/>
257 </keybind>
258 <keybind key='C-A-Tab'>
259 <action name='NextWindow'>
260 <panels>yes</panels>
261 <desktop>yes</desktop>
262 </action>
263 </keybind>
264 <!-- Keybindings for running applications -->
265 <keybind key='W-e'>
266 <action name='Execute'>
267 <startupnotify>
268 <enabled>true</enabled>
269 <name>PCManFM</name>
270 </startupnotify>
271 <command>pcmanfm</command>
272 </action>
273 </keybind>
274 <!-- Keybindings for finding files -->
275 <keybind key='W-f'>
276 <action name='Execute'>
277 <command>pcmanfm --find-files</command>
278 </action>
279 </keybind>
280 <!-- eybindings for LXPanel -->
281 <keybind key='W-p'>
282 <action name='Execute'>
283 <command>lxpanelctl run</command>
284 </action>
285 </keybind>
286 <keybind key='A-F11'>
287 <action name='ToggleFullscreen'/>
288 </keybind>
289 <!-- Launch Task Manager with Ctrl+Alt+Del -->
290 <keybind key='A-C-Delete'>
291 <action name='Execute'>
292 <command>lxtask</command>
293 </action>
294 </keybind>
295 <!-- Launch LXRandR when Fn+Screen is pressed -->
296 <keybind key='XF86Display'>
297 <action name='Execute'>
298 <command>lxrandr</command>
299 </action>
300 </keybind>
301 <keybind key='XF86MonBrightnessUp'>
302 <action name='Execute'>
303 <command>xbacklight -inc 10</command>
304 </action>
305 </keybind>
306 <keybind key='XF86MonBrightnessDown'>
307 <action name='Execute'>
308 <command>xbacklight -dec 10</command>
309 </action>
310 </keybind>
311 <keybind key='A-C-l'>
312 <action name='Execute'>
313 <command>slock</command>
314 </action>
315 </keybind>
316 <keybind key='XF86Tools'>
317 <action name='Execute'>
318 <command>xset dpms force off</command>
319 </action>
320 </keybind>
321 <keybind key='XF86AudioRaiseVolume'>
322 <action name='Execute'>
323 <command>bash -c &quot;pamixer --allow-boost -u -i 1; v=$HOME/.cache/dunstify_volume; vol=`pamixer --get-volume`; color=`[ $vol -le 100 ] &amp;&amp; echo normal || echo critical`; dunstify -r $(($(cat $v))) -p Volume --hints=int:value:$vol -i &apos; &apos; -a Openbox-volume -t 1000 -u $color &gt; $v&quot;</command>
324 </action>
325 </keybind>
326 <keybind key='XF86AudioLowerVolume'>
327 <action name='Execute'>
328 <command>bash -c &quot;pamixer --allow-boost -u -d 1; v=$HOME/.cache/dunstify_volume; vol=`pamixer --get-volume`; color=`[ $vol -le 100 ] &amp;&amp; echo normal || echo critical`; dunstify -r $(($(cat $v))) -p Volume --hints=int:value:$vol -i &apos; &apos; -a Openbox-volume -t 1000 -u $color &gt; $v&quot;</command>
329 </action>
330 </keybind>
331 <keybind key='XF86AudioMute'>
332 <action name='Execute'>
333 <command>bash -c &quot;v=$HOME/.cache/dunstify_volume; vol=$([ `pamixer -t ; pamixer --get-mute` = \&quot;false\&quot; ] &amp;&amp; echo on || echo off); dunstify -r $(($(cat $v))) -p &apos;Volume &apos;$vol -i &apos; &apos; -a Openbox-mute -t 1000 &gt; $v&quot;</command>
334 </action>
335 </keybind>
336 <keybind key='W-Print'>
337 <action name='Execute'>
338 <command>scrot &quot;%Y-%m-%d_%H_%M_%S.png&quot; -e &apos;mv $f ~&apos;</command>
339 </action>
340 </keybind>
341 <keybind key='S-Print'>
342 <action name='Execute'>
343 <command>scrot -s &quot;%Y-%m-%d_%H_%M_%S.png&quot; -e &apos;mv $f ~&apos;</command>
344 </action>
345 </keybind>
346 </keyboard>
347 <mouse>
348 <dragThreshold>8</dragThreshold>
349 <!-- number of pixels the mouse must move before a drag begins -->
350 <doubleClickTime>200</doubleClickTime>
351 <!-- in milliseconds (1000 = 1 second) -->
352 <screenEdgeWarpTime>400</screenEdgeWarpTime>
353 <!-- Time before changing desktops when the pointer touches the edge of the
354 screen while moving a window, in milliseconds (1000 = 1 second).
355 Set this to 0 to disable warping -->
356 <context name='Frame'>
357 <mousebind button='A-Left' action='Press'>
358 <action name='Focus'/>
359 <action name='Raise'/>
360 </mousebind>
361 <mousebind button='A-Left' action='Click'>
362 <action name='Unshade'/>
363 </mousebind>
364 <mousebind button='A-Left' action='Drag'>
365 <action name='Move'/>
366 </mousebind>
367 <mousebind button='A-Right' action='Press'>
368 <action name='Focus'/>
369 <action name='Raise'/>
370 <action name='Unshade'/>
371 </mousebind>
372 <mousebind button='A-Right' action='Drag'>
373 <action name='Resize'/>
374 </mousebind>
375 <mousebind button='A-Middle' action='Press'>
376 <action name='Lower'/>
377 <action name='FocusToBottom'/>
378 <action name='Unfocus'/>
379 </mousebind>
380 <mousebind button='A-Up' action='Click'>
381 <action name='DesktopPrevious'/>
382 </mousebind>
383 <mousebind button='A-Down' action='Click'>
384 <action name='DesktopNext'/>
385 </mousebind>
386 <mousebind button='C-A-Up' action='Click'>
387 <action name='DesktopPrevious'/>
388 </mousebind>
389 <mousebind button='C-A-Down' action='Click'>
390 <action name='DesktopNext'/>
391 </mousebind>
392 <mousebind button='A-S-Up' action='Click'>
393 <action name='SendToDesktopPrevious'/>
394 </mousebind>
395 <mousebind button='A-S-Down' action='Click'>
396 <action name='SendToDesktopNext'/>
397 </mousebind>
398 </context>
399 <context name='Titlebar'>
400 <mousebind button='Left' action='Press'>
401 <action name='Focus'/>
402 <action name='Raise'/>
403 </mousebind>
404 <mousebind button='Left' action='Drag'>
405 <action name='Move'/>
406 </mousebind>
407 <mousebind button='Left' action='DoubleClick'>
408 <action name='ToggleMaximizeFull'/>
409 </mousebind>
410 <mousebind button='Middle' action='Press'>
411 <action name='Lower'/>
412 <action name='FocusToBottom'/>
413 <action name='Unfocus'/>
414 </mousebind>
415 <mousebind button='Up' action='Click'>
416 <action name='Shade'/>
417 <action name='FocusToBottom'/>
418 <action name='Unfocus'/>
419 <action name='Lower'/>
420 </mousebind>
421 <mousebind button='Down' action='Click'>
422 <action name='Unshade'/>
423 <action name='Raise'/>
424 </mousebind>
425 <mousebind button='Right' action='Press'>
426 <action name='Focus'/>
427 <action name='Raise'/>
428 <action name='ShowMenu'>
429 <menu>client-menu</menu>
430 </action>
431 </mousebind>
432 </context>
433 <context name='Top'>
434 <mousebind button='Left' action='Press'>
435 <action name='Focus'/>
436 <action name='Raise'/>
437 <action name='Unshade'/>
438 </mousebind>
439 <mousebind button='Left' action='Drag'>
440 <action name='Resize'>
441 <edge>top</edge>
442 </action>
443 </mousebind>
444 </context>
445 <context name='Left'>
446 <mousebind button='Left' action='Press'>
447 <action name='Focus'/>
448 <action name='Raise'/>
449 </mousebind>
450 <mousebind button='Left' action='Drag'>
451 <action name='Resize'>
452 <edge>left</edge>
453 </action>
454 </mousebind>
455 </context>
456 <context name='Right'>
457 <mousebind button='Left' action='Press'>
458 <action name='Focus'/>
459 <action name='Raise'/>
460 </mousebind>
461 <mousebind button='Left' action='Drag'>
462 <action name='Resize'>
463 <edge>right</edge>
464 </action>
465 </mousebind>
466 </context>
467 <context name='Bottom'>
468 <mousebind button='Left' action='Press'>
469 <action name='Focus'/>
470 <action name='Raise'/>
471 </mousebind>
472 <mousebind button='Left' action='Drag'>
473 <action name='Resize'>
474 <edge>bottom</edge>
475 </action>
476 </mousebind>
477 <mousebind button='Middle' action='Press'>
478 <action name='Lower'/>
479 <action name='FocusToBottom'/>
480 <action name='Unfocus'/>
481 </mousebind>
482 <mousebind button='Right' action='Press'>
483 <action name='Focus'/>
484 <action name='Raise'/>
485 <action name='ShowMenu'>
486 <menu>client-menu</menu>
487 </action>
488 </mousebind>
489 </context>
490 <context name='BLCorner'>
491 <mousebind button='Left' action='Press'>
492 <action name='Focus'/>
493 <action name='Raise'/>
494 </mousebind>
495 <mousebind button='Left' action='Drag'>
496 <action name='Resize'/>
497 </mousebind>
498 </context>
499 <context name='BRCorner'>
500 <mousebind button='Left' action='Press'>
501 <action name='Focus'/>
502 <action name='Raise'/>
503 </mousebind>
504 <mousebind button='Left' action='Drag'>
505 <action name='Resize'/>
506 </mousebind>
507 </context>
508 <context name='TLCorner'>
509 <mousebind button='Left' action='Press'>
510 <action name='Focus'/>
511 <action name='Raise'/>
512 <action name='Unshade'/>
513 </mousebind>
514 <mousebind button='Left' action='Drag'>
515 <action name='Resize'/>
516 </mousebind>
517 </context>
518 <context name='TRCorner'>
519 <mousebind button='Left' action='Press'>
520 <action name='Focus'/>
521 <action name='Raise'/>
522 <action name='Unshade'/>
523 </mousebind>
524 <mousebind button='Left' action='Drag'>
525 <action name='Resize'/>
526 </mousebind>
527 </context>
528 <context name='Client'>
529 <mousebind button='Left' action='Press'>
530 <action name='Focus'/>
531 <action name='Raise'/>
532 </mousebind>
533 <mousebind button='Middle' action='Press'>
534 <action name='Focus'/>
535 <action name='Raise'/>
536 </mousebind>
537 <mousebind button='Right' action='Press'>
538 <action name='Focus'/>
539 <action name='Raise'/>
540 </mousebind>
541 </context>
542 <context name='Icon'>
543 <mousebind button='Left' action='Press'>
544 <action name='Focus'/>
545 <action name='Raise'/>
546 <action name='Unshade'/>
547 <action name='ShowMenu'>
548 <menu>client-menu</menu>
549 </action>
550 </mousebind>
551 <mousebind button='Right' action='Press'>
552 <action name='Focus'/>
553 <action name='Raise'/>
554 <action name='ShowMenu'>
555 <menu>client-menu</menu>
556 </action>
557 </mousebind>
558 </context>
559 <context name='AllDesktops'>
560 <mousebind button='Left' action='Press'>
561 <action name='Focus'/>
562 <action name='Raise'/>
563 <action name='Unshade'/>
564 </mousebind>
565 <mousebind button='Left' action='Click'>
566 <action name='ToggleOmnipresent'/>
567 </mousebind>
568 </context>
569 <context name='Shade'>
570 <mousebind button='Left' action='Press'>
571 <action name='Focus'/>
572 <action name='Raise'/>
573 </mousebind>
574 <mousebind button='Left' action='Click'>
575 <action name='ToggleShade'/>
576 </mousebind>
577 </context>
578 <context name='Iconify'>
579 <mousebind button='Left' action='Press'>
580 <action name='Focus'/>
581 <action name='Raise'/>
582 </mousebind>
583 <mousebind button='Left' action='Click'>
584 <action name='Iconify'/>
585 </mousebind>
586 </context>
587 <context name='Maximize'>
588 <mousebind button='Left' action='Press'>
589 <action name='Focus'/>
590 <action name='Raise'/>
591 <action name='Unshade'/>
592 </mousebind>
593 <mousebind button='Middle' action='Press'>
594 <action name='Focus'/>
595 <action name='Raise'/>
596 <action name='Unshade'/>
597 </mousebind>
598 <mousebind button='Right' action='Press'>
599 <action name='Focus'/>
600 <action name='Raise'/>
601 <action name='Unshade'/>
602 </mousebind>
603 <mousebind button='Left' action='Click'>
604 <action name='ToggleMaximizeFull'/>
605 </mousebind>
606 <mousebind button='Middle' action='Click'>
607 <action name='ToggleMaximizeVert'/>
608 </mousebind>
609 <mousebind button='Right' action='Click'>
610 <action name='ToggleMaximizeHorz'/>
611 </mousebind>
612 </context>
613 <context name='Close'>
614 <mousebind button='Left' action='Press'>
615 <action name='Focus'/>
616 <action name='Raise'/>
617 <action name='Unshade'/>
618 </mousebind>
619 <mousebind button='Left' action='Click'>
620 <action name='Close'/>
621 </mousebind>
622 </context>
623 <context name='Desktop'>
624 <mousebind button='Up' action='Click'>
625 <action name='DesktopPrevious'/>
626 </mousebind>
627 <mousebind button='Down' action='Click'>
628 <action name='DesktopNext'/>
629 </mousebind>
630 <mousebind button='A-Up' action='Click'>
631 <action name='DesktopPrevious'/>
632 </mousebind>
633 <mousebind button='A-Down' action='Click'>
634 <action name='DesktopNext'/>
635 </mousebind>
636 <mousebind button='C-A-Up' action='Click'>
637 <action name='DesktopPrevious'/>
638 </mousebind>
639 <mousebind button='C-A-Down' action='Click'>
640 <action name='DesktopNext'/>
641 </mousebind>
642 <mousebind button='Left' action='Press'>
643 <action name='Focus'/>
644 <action name='Raise'/>
645 </mousebind>
646 <mousebind button='Right' action='Press'>
647 <action name='Focus'/>
648 <action name='Raise'/>
649 </mousebind>
650 </context>
651 <context name='Root'>
652 <!-- Menus -->
653 <mousebind button='Middle' action='Press'>
654 <action name='ShowMenu'>
655 <menu>client-list-combined-menu</menu>
656 </action>
657 </mousebind>
658 <mousebind button='Right' action='Press'>
659 <action name='ShowMenu'>
660 <menu>root-menu</menu>
661 </action>
662 </mousebind>
663 </context>
664 <context name='MoveResize'>
665 <mousebind button='Up' action='Click'>
666 <action name='DesktopPrevious'/>
667 </mousebind>
668 <mousebind button='Down' action='Click'>
669 <action name='DesktopNext'/>
670 </mousebind>
671 <mousebind button='A-Up' action='Click'>
672 <action name='DesktopPrevious'/>
673 </mousebind>
674 <mousebind button='A-Down' action='Click'>
675 <action name='DesktopNext'/>
676 </mousebind>
677 </context>
678 </mouse>
679 <menu>
680 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
681 <file>/usr/share/lxde/openbox/menu.xml</file>
682 <hideDelay>200</hideDelay>
683 <!-- if a press-release lasts longer than this setting (in milliseconds), the
684 menu is hidden again -->
685 <middle>no</middle>
686 <!-- center submenus vertically about the parent entry -->
687 <submenuShowDelay>100</submenuShowDelay>
688 <!-- this one is easy, time to delay before showing a submenu after hovering
689 over the parent entry -->
690 <applicationIcons>yes</applicationIcons>
691 <!-- controls if icons appear in the client-list-(combined-)menu -->
692 <manageDesktops>yes</manageDesktops>
693 </menu>
694 <!-- show the manage desktops section in the client-list-(combined-)menu -->
695 <applications/>
696</openbox_config> \ No newline at end of file
diff --git a/roles/lxde/files/config_files/pcmanfm/LXDE/desktop-items-0.conf b/roles/lxde/files/config_files/pcmanfm/LXDE/desktop-items-0.conf
new file mode 100644
index 0000000..088cce4
--- /dev/null
+++ b/roles/lxde/files/config_files/pcmanfm/LXDE/desktop-items-0.conf
@@ -0,0 +1,15 @@
1[*]
2wallpaper_mode=crop
3wallpaper_common=1
4wallpaper=/usr/share/lxde/wallpapers/lxde_blue.jpg
5desktop_bg=#000000
6desktop_fg=#ffffff
7desktop_shadow=#000000
8desktop_font=Sans 12
9folder=
10show_wm_menu=0
11sort=mtime;ascending;
12show_documents=0
13show_trash=1
14show_mounts=0
15
diff --git a/roles/lxde/files/config_files/pcmanfm/LXDE/pcmanfm.conf b/roles/lxde/files/config_files/pcmanfm/LXDE/pcmanfm.conf
new file mode 100644
index 0000000..facaa64
--- /dev/null
+++ b/roles/lxde/files/config_files/pcmanfm/LXDE/pcmanfm.conf
@@ -0,0 +1,27 @@
1[config]
2bm_open_method=0
3
4[volume]
5mount_on_startup=1
6mount_removable=1
7autorun=1
8
9[ui]
10always_show_tabs=0
11max_tab_chars=32
12win_width=640
13win_height=480
14maximized=1
15splitter_pos=275
16media_in_new_tab=1
17desktop_folder_new_win=0
18change_tab_on_drop=1
19close_on_unmount=0
20focus_previous=0
21side_pane_mode=places
22view_mode=list
23show_hidden=1
24sort=name;ascending;
25toolbar=newtab;navigation;home;
26show_statusbar=1
27pathbar_mode_buttons=0
diff --git a/roles/lxde/files/config_files/xinitrc b/roles/lxde/files/config_files/xinitrc
new file mode 100644
index 0000000..2e77554
--- /dev/null
+++ b/roles/lxde/files/config_files/xinitrc
@@ -0,0 +1,15 @@
1### replace /etc/X11/xinit/xinitrc and /etc/X11/xinit/xinitrc.d/*
2dbus-update-activation-environment DISPLAY XAUTHORITY
3###
4
5setxkbmap -layout fr -variant oss -model pc104 -option compose:menu -option compose:paus -option nbsp:level3 -option shift:breaks_caps -option terminate:ctrl_alt_bksp
6
7#### The rest replaces a `exec startlxde` (To avoid the dbus-update-activation-environment)
8# Enable GTK+2 integration for OpenOffice.org, if available.
9export SAL_USE_VCLPLUGIN=gtk
10
11export XDG_MENU_PREFIX="lxde-"
12export XDG_CURRENT_DESKTOP="LXDE"
13
14# Start the LXDE session
15exec /usr/bin/lxsession -s LXDE -e LXDE