From 397c4fed757d201af627636822981e85e84ea572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 2 Nov 2018 17:03:49 +0100 Subject: Validation initiale --- roles/lxde/files/config_files/libfm/libfm.conf | 44 ++ roles/lxde/files/config_files/lxpanel/LXDE/config | 2 + .../files/config_files/lxpanel/LXDE/panels/panel | 165 +++++ .../files/config_files/lxpanel/launchtaskbar.cfg | 4 + .../lxsession-default-apps/settings.conf | 45 ++ .../files/config_files/lxsession/LXDE/autostart | 3 + .../files/config_files/lxsession/LXDE/desktop.conf | 54 ++ .../files/config_files/lxterminal/lxterminal.conf | 53 ++ roles/lxde/files/config_files/openbox/lxde-rc.xml | 696 +++++++++++++++++++++ .../config_files/pcmanfm/LXDE/desktop-items-0.conf | 15 + .../files/config_files/pcmanfm/LXDE/pcmanfm.conf | 27 + roles/lxde/files/config_files/xinitrc | 15 + 12 files changed, 1123 insertions(+) create mode 100644 roles/lxde/files/config_files/libfm/libfm.conf create mode 100644 roles/lxde/files/config_files/lxpanel/LXDE/config create mode 100644 roles/lxde/files/config_files/lxpanel/LXDE/panels/panel create mode 100644 roles/lxde/files/config_files/lxpanel/launchtaskbar.cfg create mode 100644 roles/lxde/files/config_files/lxsession-default-apps/settings.conf create mode 100755 roles/lxde/files/config_files/lxsession/LXDE/autostart create mode 100644 roles/lxde/files/config_files/lxsession/LXDE/desktop.conf create mode 100644 roles/lxde/files/config_files/lxterminal/lxterminal.conf create mode 100644 roles/lxde/files/config_files/openbox/lxde-rc.xml create mode 100644 roles/lxde/files/config_files/pcmanfm/LXDE/desktop-items-0.conf create mode 100644 roles/lxde/files/config_files/pcmanfm/LXDE/pcmanfm.conf create mode 100644 roles/lxde/files/config_files/xinitrc (limited to 'roles/lxde/files/config_files') 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 @@ +# Configuration file for the libfm version 1.3.0.2. +# Autogenerated file, don't edit, your changes will be overwritten. + +[config] +single_click=0 +use_trash=1 +confirm_del=1 +confirm_trash=1 +advanced_mode=0 +si_unit=0 +force_startup_notify=1 +backup_as_hidden=1 +no_usb_trash=1 +no_child_non_expandable=0 +show_full_names=1 +only_user_templates=0 +template_run_app=0 +template_type_once=0 +auto_selection_delay=600 +drop_default_action=auto +defer_content_test=0 +quick_exec=0 +terminal=lxterminal +thumbnail_local=1 +thumbnail_max=2048 +smart_desktop_autodrop=1 + +[ui] +big_icon_size=48 +small_icon_size=24 +pane_icon_size=24 +thumbnail_size=128 +show_thumbnail=1 +shadow_hidden=1 + +[places] +places_home=1 +places_desktop=1 +places_root=1 +places_computer=1 +places_trash=1 +places_applications=1 +places_network=1 +places_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 @@ +[Command] +Logout=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 @@ +# lxpanel config file. Manually editing is not recommended. +# Use preference dialog in lxpanel to adjust config when you can. + +Global { + edge=bottom + align=left + margin=0 + widthtype=percent + width=100 + height=26 + transparent=0 + tintcolor=#000000 + alpha=0 + setdocktype=1 + setpartialstrut=1 + autohide=0 + heightwhenhidden=0 + usefontcolor=1 + fontcolor=#ffffff + background=1 + backgroundfile=/usr/share/lxpanel/images/background.png +} +Plugin { + type=space + Config { + Size=2 + } +} +Plugin { + type=menu + Config { + image=/usr/share/lxde/images/lxde-icon.png + system { + } + separator { + } + item { + command=run + } + separator { + } + item { + image=gnome-logout + command=logout + } + } +} +Plugin { + type=launchbar + Config { + Button { + id=pcmanfm.desktop + } + Button { + id=firefox.desktop + } + } +} +Plugin { + type=space + Config { + Size=4 + } +} +Plugin { + type=wincmd + Config { + Button1=iconify + Button2=shade + } +} +Plugin { + type=space + Config { + Size=4 + } +} +Plugin { + type=pager + Config { + } +} +Plugin { + type=space + Config { + Size=4 + } +} +Plugin { + type=taskbar + expand=1 + Config { + tooltips=1 + IconsOnly=0 + AcceptSkipPager=1 + ShowIconified=1 + ShowMapped=1 + ShowAllDesks=0 + UseMouseWheel=1 + UseUrgencyHint=1 + FlatButton=0 + MaxTaskWidth=150 + spacing=1 + } +} +Plugin { + type=monitors + Config { + DisplayCPU=1 + DisplayRAM=1 + CPUColor=#0000FF + RAMColor=#FF0000 + } +} +Plugin { + type=volume + Config { + } +} +Plugin { + type=tray + Config { + } +} +Plugin { + type=dclock + Config { + ClockFmt=%F %R + TooltipFmt=%A %x + BoldFont=0 + IconOnly=0 + CenterText=0 + } +} +Plugin { + type=netstatus + Config { + iface=enp0s31f6 + configtool=nm-connection-editor + } +} +Plugin { + type=netstatus + Config { + iface=wlp2s0 + configtool=nm-connection-editor + } +} +Plugin { + type=batt + Config { + BackgroundColor=black + ChargingColor1=#28f200 + ChargingColor2=#22cc00 + DischargingColor1=#ffee00 + DischargingColor2=#d9ca00 + HideIfNoBattery=0 + AlarmCommand=notify-send "Batterie faible" --icon=battery-caution + AlarmTime=5 + BorderWidth=0 + Size=1 + ShowExtendedInformation=0 + BatteryNumber=0 + } +} 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 @@ +[special_cases] +synaptic=synaptic-pkexec +soffice.bin=libreoffice +x-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 @@ +[Mime] +webbrowser/available= +email/available= +file_manager/available= +screensaver/available= +composite_manager/available= +desktop_manager/available= +power_manager/available= +polkit/available= +im/available= +widget/available= +terminal_manager/available= +audio_player/available= +video_player/available= +pdf_reader/available= +image_display/available= +text_editor/available= +archive/available= +spreadsheet/available= +bittorent/available= +document/available= +burn/available= +tasks/available= +webbrowser/installed=Firefox,/usr/lib/firefox/firefox,firefox,/usr/share/applications/firefox.desktop,; +email/installed= +file_manager/installed=Gestionnaire de fichiers PCManFM,pcmanfm,system-file-manager,/usr/share/applications/pcmanfm.desktop,; +screensaver/installed= +composite_manager/installed= +desktop_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,; +power_manager/installed= +polkit/installed= +im/installed= +widget/installed= +terminal_manager/installed=LXTerminal,lxterminal,lxterminal,/usr/share/applications/lxterminal.desktop,; +audio_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,; +video_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,; +pdf_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,; +image_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,; +text_editor/installed=Vim,vim,gvim,/usr/share/applications/vim.desktop,; +archive/installed= +spreadsheet/installed= +bittorent/installed= +document/installed= +burn/installed= +tasks/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 @@ +@lxpanel --profile LXDE +@pcmanfm --desktop --profile LXDE +@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 @@ +[Session] +window_manager=openbox-lxde +disable_autostart=no +polkit/command=lxpolkit +clipboard/command=lxclipboard +xsettings_manager/command=build-in +proxy_manager/command=build-in +keyring/command= +quit_manager/command=lxsession-logout +lock_manager/command=lxlock +terminal_manager/command=lxterminal +quit_manager/image=/usr/share/lxde/images/logout-banner.png +quit_manager/layout=top +webbrowser/command=/usr/lib/firefox/firefox +tasks/command=lxtask +pdf_reader/command=evince +text_editor/command=vim + +[GTK] +sNet/ThemeName=Adwaita +sNet/IconThemeName=nuoveXT2 +sGtk/FontName=Sans 10 +iGtk/ToolbarStyle=3 +iGtk/ButtonImages=1 +iGtk/MenuImages=1 +iGtk/CursorThemeSize=18 +iXft/Antialias=1 +iXft/Hinting=1 +sXft/HintStyle=hintslight +sXft/RGBA=rgb +iNet/EnableEventSounds=1 +iNet/EnableInputFeedbackSounds=1 +sGtk/ColorScheme= +iGtk/ToolbarIconSize=3 +sGtk/CursorThemeName=DMZ-White + +[Mouse] +AccFactor=20 +AccThreshold=10 +LeftHanded=0 + +[Keyboard] +Delay=500 +Interval=30 +Beep=1 + +[State] +guess_default=true + +[Dbus] +lxde=true + +[Environment] +menu_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 @@ +[general] +fontname=Monospace 10 +selchars=-A-Za-z0-9,./?%&#:_ +scrollback=1000 +bgcolor=rgb(0,0,0) +fgcolor=rgb(170,170,170) +palette_color_0=rgb(0,0,0) +palette_color_1=rgb(170,0,0) +palette_color_2=rgb(0,170,0) +palette_color_3=rgb(170,85,0) +palette_color_4=rgb(0,0,170) +palette_color_5=rgb(170,0,170) +palette_color_6=rgb(0,170,170) +palette_color_7=rgb(170,170,170) +palette_color_8=rgb(85,85,85) +palette_color_9=rgb(255,85,85) +palette_color_10=rgb(85,255,85) +palette_color_11=rgb(255,255,85) +palette_color_12=rgb(85,85,255) +palette_color_13=rgb(255,85,255) +palette_color_14=rgb(85,255,255) +palette_color_15=rgb(255,255,255) +color_preset=VGA +disallowbold=false +cursorblinks=false +cursorunderline=false +audiblebell=false +tabpos=top +geometry_columns=80 +geometry_rows=24 +hidescrollbar=true +hidemenubar=false +hideclosebutton=false +hidepointer=false +disablef10=true +disablealt=true +disableconfirm=false + +[shortcut] +new_window_accel=n +new_tab_accel=t +close_tab_accel=w +close_window_accel=q +copy_accel=c +paste_accel=v +name_tab_accel=i +previous_tab_accel=Page_Up +next_tab_accel=Page_Down +move_tab_left_accel=Page_Up +move_tab_right_accel=Page_Down +zoom_in_accel=plus +zoom_out_accel=underscore +zoom_reset_accel=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 @@ + + + + + 10 + 20 + + + yes + + no + + yes + + no + + 200 + + no + + + + Smart + +
yes
+ + Any +
+ + + Onyx + NLIMC + + yes + yes + + sans + 10 + + bold + + normal + + + + sans + 10 + + bold + + normal + + + + sans + 10 + + normal + + normal + + + + sans + 10 + + normal + + normal + + + + sans + 10 + + bold + + normal + + + + + + 2 + 1 + + + 875 + + + + yes + Nonpixel + + Center + + + + 10 + + 10 + + + + + 0 + 0 + 0 + 0 + + + TopLeft + + 0 + 0 + no + Above + + Vertical + + no + 300 + + 300 + + Middle + + + + C-g + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + + + + + + yes + yes + + + + + + + true + PCManFM + + pcmanfm + + + + + + pcmanfm --find-files + + + + + + lxpanelctl run + + + + + + + + + lxtask + + + + + + lxrandr + + + + + xbacklight -inc 10 + + + + + xbacklight -dec 10 + + + + + slock + + + + + xset dpms force off + + + + + bash -c "pamixer --allow-boost -u -i 1; v=$HOME/.cache/dunstify_volume; vol=`pamixer --get-volume`; color=`[ $vol -le 100 ] && echo normal || echo critical`; dunstify -r $(($(cat $v))) -p Volume --hints=int:value:$vol -i ' ' -a Openbox-volume -t 1000 -u $color > $v" + + + + + bash -c "pamixer --allow-boost -u -d 1; v=$HOME/.cache/dunstify_volume; vol=`pamixer --get-volume`; color=`[ $vol -le 100 ] && echo normal || echo critical`; dunstify -r $(($(cat $v))) -p Volume --hints=int:value:$vol -i ' ' -a Openbox-volume -t 1000 -u $color > $v" + + + + + bash -c "v=$HOME/.cache/dunstify_volume; vol=$([ `pamixer -t ; pamixer --get-mute` = \"false\" ] && echo on || echo off); dunstify -r $(($(cat $v))) -p 'Volume '$vol -i ' ' -a Openbox-mute -t 1000 > $v" + + + + + scrot "%Y-%m-%d_%H_%M_%S.png" -e 'mv $f ~' + + + + + scrot -s "%Y-%m-%d_%H_%M_%S.png" -e 'mv $f ~' + + + + + 8 + + 200 + + 400 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + + + + + + top + + + + + + + + + + + left + + + + + + + + + + + right + + + + + + + + + + + bottom + + + + + + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-list-combined-menu + + + + + root-menu + + + + + + + + + + + + + + + + + + + + + /usr/share/lxde/openbox/menu.xml + 200 + + no + + 100 + + yes + + yes + + + +
\ 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 @@ +[*] +wallpaper_mode=crop +wallpaper_common=1 +wallpaper=/usr/share/lxde/wallpapers/lxde_blue.jpg +desktop_bg=#000000 +desktop_fg=#ffffff +desktop_shadow=#000000 +desktop_font=Sans 12 +folder= +show_wm_menu=0 +sort=mtime;ascending; +show_documents=0 +show_trash=1 +show_mounts=0 + 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 @@ +[config] +bm_open_method=0 + +[volume] +mount_on_startup=1 +mount_removable=1 +autorun=1 + +[ui] +always_show_tabs=0 +max_tab_chars=32 +win_width=640 +win_height=480 +maximized=1 +splitter_pos=275 +media_in_new_tab=1 +desktop_folder_new_win=0 +change_tab_on_drop=1 +close_on_unmount=0 +focus_previous=0 +side_pane_mode=places +view_mode=list +show_hidden=1 +sort=name;ascending; +toolbar=newtab;navigation;home; +show_statusbar=1 +pathbar_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 @@ +### replace /etc/X11/xinit/xinitrc and /etc/X11/xinit/xinitrc.d/* +dbus-update-activation-environment DISPLAY XAUTHORITY +### + +setxkbmap -layout fr -variant oss -model pc104 -option compose:menu -option compose:paus -option nbsp:level3 -option shift:breaks_caps -option terminate:ctrl_alt_bksp + +#### The rest replaces a `exec startlxde` (To avoid the dbus-update-activation-environment) +# Enable GTK+2 integration for OpenOffice.org, if available. +export SAL_USE_VCLPLUGIN=gtk + +export XDG_MENU_PREFIX="lxde-" +export XDG_CURRENT_DESKTOP="LXDE" + +# Start the LXDE session +exec /usr/bin/lxsession -s LXDE -e LXDE -- cgit v1.2.3