From 98a071604ea9f7569aa0fa0688bc9d35081770c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 2 Oct 2018 22:53:29 +0200 Subject: Add Flony workstation --- modules/workstation/files/flony/home/bash_profile | 3 + modules/workstation/files/flony/home/bashrc | 9 + .../home/config/autostart/redshift-gtk.desktop | 7 + .../files/flony/home/config/libfm/libfm.conf | 43 ++ .../files/flony/home/config/lxpanel/LXDE/config | 2 + .../flony/home/config/lxpanel/LXDE/panels/panel | 168 ++++++ .../flony/home/config/lxpanel/launchtaskbar.cfg | 4 + .../config/lxsession-default-apps/settings.conf | 45 ++ .../flony/home/config/lxsession/LXDE/autostart | 3 + .../flony/home/config/lxsession/LXDE/desktop.conf | 52 ++ .../flony/home/config/lxterminal/lxterminal.conf | 53 ++ .../files/flony/home/config/openbox/lxde-rc.xml | 666 +++++++++++++++++++++ .../home/config/pcmanfm/LXDE/desktop-items-0.conf | 14 + .../flony/home/config/pcmanfm/LXDE/pcmanfm.conf | 27 + .../files/flony/home/config/redshift.conf | 8 + modules/workstation/files/flony/home/gitconfig | 6 + .../home/local/share/applications/mimeapps.list | 19 + modules/workstation/files/flony/home/xinitrc | 2 + 18 files changed, 1131 insertions(+) create mode 100644 modules/workstation/files/flony/home/bash_profile create mode 100644 modules/workstation/files/flony/home/bashrc create mode 100644 modules/workstation/files/flony/home/config/autostart/redshift-gtk.desktop create mode 100644 modules/workstation/files/flony/home/config/libfm/libfm.conf create mode 100644 modules/workstation/files/flony/home/config/lxpanel/LXDE/config create mode 100644 modules/workstation/files/flony/home/config/lxpanel/LXDE/panels/panel create mode 100644 modules/workstation/files/flony/home/config/lxpanel/launchtaskbar.cfg create mode 100644 modules/workstation/files/flony/home/config/lxsession-default-apps/settings.conf create mode 100644 modules/workstation/files/flony/home/config/lxsession/LXDE/autostart create mode 100644 modules/workstation/files/flony/home/config/lxsession/LXDE/desktop.conf create mode 100644 modules/workstation/files/flony/home/config/lxterminal/lxterminal.conf create mode 100644 modules/workstation/files/flony/home/config/openbox/lxde-rc.xml create mode 100644 modules/workstation/files/flony/home/config/pcmanfm/LXDE/desktop-items-0.conf create mode 100644 modules/workstation/files/flony/home/config/pcmanfm/LXDE/pcmanfm.conf create mode 100644 modules/workstation/files/flony/home/config/redshift.conf create mode 100644 modules/workstation/files/flony/home/gitconfig create mode 100644 modules/workstation/files/flony/home/local/share/applications/mimeapps.list create mode 100644 modules/workstation/files/flony/home/xinitrc (limited to 'modules/workstation/files/flony/home') diff --git a/modules/workstation/files/flony/home/bash_profile b/modules/workstation/files/flony/home/bash_profile new file mode 100644 index 0000000..3304d79 --- /dev/null +++ b/modules/workstation/files/flony/home/bash_profile @@ -0,0 +1,3 @@ +if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx +fi diff --git a/modules/workstation/files/flony/home/bashrc b/modules/workstation/files/flony/home/bashrc new file mode 100644 index 0000000..a355b0c --- /dev/null +++ b/modules/workstation/files/flony/home/bashrc @@ -0,0 +1,9 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' diff --git a/modules/workstation/files/flony/home/config/autostart/redshift-gtk.desktop b/modules/workstation/files/flony/home/config/autostart/redshift-gtk.desktop new file mode 100644 index 0000000..3fc7814 --- /dev/null +++ b/modules/workstation/files/flony/home/config/autostart/redshift-gtk.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Redshift +GenericName=Redshift +Exec=/usr/bin/redshift-gtk +Icon=redshift +Terminal=false +Type=Application diff --git a/modules/workstation/files/flony/home/config/libfm/libfm.conf b/modules/workstation/files/flony/home/config/libfm/libfm.conf new file mode 100644 index 0000000..5daa519 --- /dev/null +++ b/modules/workstation/files/flony/home/config/libfm/libfm.conf @@ -0,0 +1,43 @@ +# 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=0 +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 +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=0 + +[places] +places_home=1 +places_desktop=1 +places_root=0 +places_computer=0 +places_trash=1 +places_applications=1 +places_network=0 +places_unmounted=1 diff --git a/modules/workstation/files/flony/home/config/lxpanel/LXDE/config b/modules/workstation/files/flony/home/config/lxpanel/LXDE/config new file mode 100644 index 0000000..76228e2 --- /dev/null +++ b/modules/workstation/files/flony/home/config/lxpanel/LXDE/config @@ -0,0 +1,2 @@ +[Command] +Logout=lxde-logout diff --git a/modules/workstation/files/flony/home/config/lxpanel/LXDE/panels/panel b/modules/workstation/files/flony/home/config/lxpanel/LXDE/panels/panel new file mode 100644 index 0000000..320c761 --- /dev/null +++ b/modules/workstation/files/flony/home/config/lxpanel/LXDE/panels/panel @@ -0,0 +1,168 @@ +# 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 { + VolumeMuteKey=XF86AudioMute + VolumeDownKey=XF86AudioLowerVolume + VolumeUpKey=XF86AudioRaiseVolume + } +} +Plugin { + type=tray + Config { + } +} +Plugin { + type=dclock + Config { + ClockFmt=%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/modules/workstation/files/flony/home/config/lxpanel/launchtaskbar.cfg b/modules/workstation/files/flony/home/config/lxpanel/launchtaskbar.cfg new file mode 100644 index 0000000..a3d0e52 --- /dev/null +++ b/modules/workstation/files/flony/home/config/lxpanel/launchtaskbar.cfg @@ -0,0 +1,4 @@ +[special_cases] +synaptic=synaptic-pkexec +soffice.bin=libreoffice +x-terminal-emulator=lxterminal diff --git a/modules/workstation/files/flony/home/config/lxsession-default-apps/settings.conf b/modules/workstation/files/flony/home/config/lxsession-default-apps/settings.conf new file mode 100644 index 0000000..8b5b321 --- /dev/null +++ b/modules/workstation/files/flony/home/config/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,;Applications par défaut pour LXSession,lxsession-default-apps,preferences-desktop,/usr/share/applications/lxsession-default-apps.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,; +power_manager/installed= +polkit/installed= +im/installed= +widget/installed= +terminal_manager/installed=LXTerminal,lxterminal,lxterminal,/usr/share/applications/lxterminal.desktop,; +audio_player/installed=LXMusic simple music player,lxmusic,lxmusic,/usr/share/applications/lxmusic.desktop,;Qt V4L2 test Utility,qv4l2,qv4l2,/usr/share/applications/qv4l2.desktop,; +video_player/installed=LXMusic simple music player,lxmusic,lxmusic,/usr/share/applications/lxmusic.desktop,;Qt V4L2 test Utility,qv4l2,qv4l2,/usr/share/applications/qv4l2.desktop,; +pdf_reader/installed=Visionneur d'images,gpicview,gpicview,/usr/share/applications/gpicview.desktop,; +image_display/installed=Visionneur d'images,gpicview,gpicview,/usr/share/applications/gpicview.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/modules/workstation/files/flony/home/config/lxsession/LXDE/autostart b/modules/workstation/files/flony/home/config/lxsession/LXDE/autostart new file mode 100644 index 0000000..d8f2e23 --- /dev/null +++ b/modules/workstation/files/flony/home/config/lxsession/LXDE/autostart @@ -0,0 +1,3 @@ +@lxpanel --profile LXDE +@pcmanfm --desktop --profile LXDE +@xscreensaver -no-splash diff --git a/modules/workstation/files/flony/home/config/lxsession/LXDE/desktop.conf b/modules/workstation/files/flony/home/config/lxsession/LXDE/desktop.conf new file mode 100644 index 0000000..00cddb3 --- /dev/null +++ b/modules/workstation/files/flony/home/config/lxsession/LXDE/desktop.conf @@ -0,0 +1,52 @@ +[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=ssh-agent +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 + +[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/modules/workstation/files/flony/home/config/lxterminal/lxterminal.conf b/modules/workstation/files/flony/home/config/lxterminal/lxterminal.conf new file mode 100644 index 0000000..1d1cc67 --- /dev/null +++ b/modules/workstation/files/flony/home/config/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=false +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/modules/workstation/files/flony/home/config/openbox/lxde-rc.xml b/modules/workstation/files/flony/home/config/openbox/lxde-rc.xml new file mode 100644 index 0000000..48d2e1f --- /dev/null +++ b/modules/workstation/files/flony/home/config/openbox/lxde-rc.xml @@ -0,0 +1,666 @@ + + + + + 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 + + + + + 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 + + + +
diff --git a/modules/workstation/files/flony/home/config/pcmanfm/LXDE/desktop-items-0.conf b/modules/workstation/files/flony/home/config/pcmanfm/LXDE/desktop-items-0.conf new file mode 100644 index 0000000..1b5e243 --- /dev/null +++ b/modules/workstation/files/flony/home/config/pcmanfm/LXDE/desktop-items-0.conf @@ -0,0 +1,14 @@ +[*] +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 +show_wm_menu=0 +sort=mtime;ascending; +show_documents=0 +show_trash=1 +show_mounts=0 + diff --git a/modules/workstation/files/flony/home/config/pcmanfm/LXDE/pcmanfm.conf b/modules/workstation/files/flony/home/config/pcmanfm/LXDE/pcmanfm.conf new file mode 100644 index 0000000..3722eef --- /dev/null +++ b/modules/workstation/files/flony/home/config/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=150 +media_in_new_tab=0 +desktop_folder_new_win=0 +change_tab_on_drop=1 +close_on_unmount=1 +focus_previous=0 +side_pane_mode=places +view_mode=icon +show_hidden=0 +sort=name;ascending; +toolbar=newtab;navigation;home; +show_statusbar=1 +pathbar_mode_buttons=0 diff --git a/modules/workstation/files/flony/home/config/redshift.conf b/modules/workstation/files/flony/home/config/redshift.conf new file mode 100644 index 0000000..da26fa2 --- /dev/null +++ b/modules/workstation/files/flony/home/config/redshift.conf @@ -0,0 +1,8 @@ +[redshift] +temp-day=4500 +temp-night=4500 +location-provider=manual + +[manual] +lat=48.8566 +lon=2.3522 diff --git a/modules/workstation/files/flony/home/gitconfig b/modules/workstation/files/flony/home/gitconfig new file mode 100644 index 0000000..a775fc4 --- /dev/null +++ b/modules/workstation/files/flony/home/gitconfig @@ -0,0 +1,6 @@ +[user] + signingkey = DC384748709D2619FF2867216D0CAFFDDB1CFE90 + email = ismael.bouya@fretlink.com + name = Ismaël Bouya +[commit] + gpgsign = true diff --git a/modules/workstation/files/flony/home/local/share/applications/mimeapps.list b/modules/workstation/files/flony/home/local/share/applications/mimeapps.list new file mode 100644 index 0000000..1c53ef4 --- /dev/null +++ b/modules/workstation/files/flony/home/local/share/applications/mimeapps.list @@ -0,0 +1,19 @@ +[Added Associations] +text/html=firefox.desktop +text/xml=firefox.desktop +application/xhtml+xml=firefox.desktop +application/vnd.mozilla.xul+xml=firefox.desktop +text/mml=firefox.desktop +x-scheme-handler/http=firefox.desktop +x-scheme-handler/https=firefox.desktop +inode/directory=pcmanfm.desktop + +[Default Applications] +text/html=firefox.desktop +text/xml=firefox.desktop +application/xhtml+xml=firefox.desktop +application/vnd.mozilla.xul+xml=firefox.desktop +text/mml=firefox.desktop +x-scheme-handler/http=firefox.desktop +x-scheme-handler/https=firefox.desktop +inode/directory=pcmanfm.desktop diff --git a/modules/workstation/files/flony/home/xinitrc b/modules/workstation/files/flony/home/xinitrc new file mode 100644 index 0000000..4583bc6 --- /dev/null +++ b/modules/workstation/files/flony/home/xinitrc @@ -0,0 +1,2 @@ +setxkbmap -layout fr -variant oss -model pc104 -option compose:menu -option nbsp:level3 -option shift:breaks_caps -option terminate:ctrl_alt_bksp +exec startlxde -- cgit v1.2.3