commit 8b6874543b7f20caefb866922fc61deecfad9c66 Author: Lionel Date: Wed Sep 1 12:31:01 2021 +0200 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e2dc43 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +iso/ +iso/* diff --git a/README.md b/README.md new file mode 100644 index 0000000..40d52b7 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +## Script for Build Debian Live ## + diff --git a/config/includes.chroot/etc/skel/.bashrc b/config/includes.chroot/etc/skel/.bashrc new file mode 100644 index 0000000..683f460 --- /dev/null +++ b/config/includes.chroot/etc/skel/.bashrc @@ -0,0 +1,160 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. +# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) +# for examples + +# If not running interactively, don't do anything +case $- in + *i*) ;; + *) return;; +esac + +# don't put duplicate lines or lines starting with space in the history. +# See bash(1) for more options +HISTCONTROL=ignoreboth + +# append to the history file, don't overwrite it +shopt -s histappend + +# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) +HISTSIZE=1000 +HISTFILESIZE=2000 + +# check the window size after each command and, if necessary, +# update the values of LINES and COLUMNS. +shopt -s checkwinsize + +# If set, the pattern "**" used in a pathname expansion context will +# match all files and zero or more directories and subdirectories. +#shopt -s globstar + +# make less more friendly for non-text input files, see lesspipe(1) +[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" + +# set variable identifying the chroot you work in (used in the prompt below) +if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then + debian_chroot=$(cat /etc/debian_chroot) +fi + +# set a fancy prompt (non-color, unless we know we "want" color) +case "$TERM" in + xterm-color|*-256color) color_prompt=yes;; +esac + +# uncomment for a colored prompt, if the terminal has the capability; turned +# off by default to not distract the user: the focus in a terminal window +# should be on the output of commands, not on the prompt +#force_color_prompt=yes + +if [ -n "$force_color_prompt" ]; then + if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then + # We have color support; assume it's compliant with Ecma-48 + # (ISO/IEC-6429). (Lack of such support is extremely rare, and such + # a case would tend to support setf rather than setaf.) + color_prompt=yes + else + color_prompt= + fi +fi + +if [ "$color_prompt" = yes ]; then + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +else + PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' +fi +unset color_prompt force_color_prompt + +# If this is an xterm set the title to user@host:dir +case "$TERM" in +xterm*|rxvt*) + PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" + ;; +*) + ;; +esac + +# enable color support of ls and also add handy aliases +if [ -x /usr/bin/dircolors ]; then + test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" + alias ls='ls --color=auto' + #alias dir='dir --color=auto' + #alias vdir='vdir --color=auto' + + alias grep='grep --color=auto' + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' +fi + +# colored GCC warnings and errors +#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' + +# some more ls aliases +alias ll='ls -lhF' +alias lla='ls -alhF' +alias la='ls -A' +alias l='ls -CF' + +alias xargs='xargs ' +alias svim='sudo vim' +alias sudo='sudo ' + +alias df='df -x tmpfs -x devtmpfs' + +LSBLKOPT='NAME,TYPE,FSTYPE,SIZE,LABEL,MOUNTPOINT' +alias lsblk='lsblk -o$LSBLKOPT' + +# Alias definitions. +# You may want to put all your additions into a separate file like +# ~/.bash_aliases, instead of adding them here directly. +# See /usr/share/doc/bash-doc/examples in the bash-doc package. + +if [ -f ~/.bash_aliases ]; then + . ~/.bash_aliases +fi + +# enable programmable completion features (you don't need to enable +# this, if it's already enabled in /etc/bash.bashrc and /etc/profile +# sources /etc/bash.bashrc). +if ! shopt -oq posix; then + if [ -f /usr/share/bash-completion/bash_completion ]; then + . /usr/share/bash-completion/bash_completion + elif [ -f /etc/bash_completion ]; then + . /etc/bash_completion + fi +fi + +export LESS_TERMCAP_mb=$'\e[1;32m' +export LESS_TERMCAP_md=$'\e[1;32m' +export LESS_TERMCAP_me=$'\e[0m' +export LESS_TERMCAP_se=$'\e[0m' +export LESS_TERMCAP_so=$'\e[01;33m' +export LESS_TERMCAP_ue=$'\e[0m' +export LESS_TERMCAP_us=$'\e[1;4;31m' + +export HISTTIMEFORMAT="%d/%m/%Y %T " + +# If this is an xterm set the title to user@host:dir +case "$TERM" in +xterm*|rxvt*) + PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' + + # Show the currently running command in the terminal title: + # http://www.davidpashley.com/articles/xterm-titles-with-bash.html + show_command_in_title_bar() + { + case "$BASH_COMMAND" in + *\033]0*) + # The command is trying to set the title bar as well; + # this is most likely the execution of $PROMPT_COMMAND. + # In any case nested escapes confuse the terminal, so don't + # output them. + ;; + *) + echo -ne "\033]0;${BASH_COMMAND} -> ${USER}@${HOSTNAME}\007" + ;; + esac + } + trap show_command_in_title_bar DEBUG + ;; +*) + ;; +esac diff --git a/config/includes.chroot/etc/skel/.config/autostart/gnome-keyring-pkcs11.desktop b/config/includes.chroot/etc/skel/.config/autostart/gnome-keyring-pkcs11.desktop new file mode 100644 index 0000000..3f90ac7 --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/autostart/gnome-keyring-pkcs11.desktop @@ -0,0 +1,3 @@ +[Desktop Entry] +X-XFCE-Autostart-Override=true + diff --git a/config/includes.chroot/etc/skel/.config/autostart/gnome-keyring-secrets.desktop b/config/includes.chroot/etc/skel/.config/autostart/gnome-keyring-secrets.desktop new file mode 100644 index 0000000..3f90ac7 --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/autostart/gnome-keyring-secrets.desktop @@ -0,0 +1,3 @@ +[Desktop Entry] +X-XFCE-Autostart-Override=true + diff --git a/config/includes.chroot/etc/skel/.config/autostart/gnome-keyring-ssh.desktop b/config/includes.chroot/etc/skel/.config/autostart/gnome-keyring-ssh.desktop new file mode 100644 index 0000000..3f90ac7 --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/autostart/gnome-keyring-ssh.desktop @@ -0,0 +1,3 @@ +[Desktop Entry] +X-XFCE-Autostart-Override=true + diff --git a/config/includes.chroot/etc/skel/.config/mc/ini b/config/includes.chroot/etc/skel/.config/mc/ini new file mode 100644 index 0000000..2f811ef --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/mc/ini @@ -0,0 +1,145 @@ +[Midnight-Commander] +verbose=true +shell_patterns=true +auto_save_setup=true +preallocate_space=false +auto_menu=false +use_internal_view=true +use_internal_edit=false +clear_before_exec=true +confirm_delete=true +confirm_overwrite=true +confirm_execute=false +confirm_history_cleanup=true +confirm_exit=false +confirm_directory_hotlist_delete=false +confirm_view_dir=false +safe_delete=false +safe_overwrite=false +use_8th_bit_as_meta=false +mouse_move_pages_viewer=true +mouse_close_dialog=false +fast_refresh=false +drop_menus=false +wrap_mode=true +old_esc_mode=true +cd_symlinks=true +show_all_if_ambiguous=false +use_file_to_guess_type=true +alternate_plus_minus=false +only_leading_plus_minus=true +show_output_starts_shell=false +xtree_mode=false +file_op_compute_totals=true +classic_progressbar=true +use_netrc=true +ftpfs_always_use_proxy=false +ftpfs_use_passive_connections=true +ftpfs_use_passive_connections_over_proxy=false +ftpfs_use_unix_list_options=true +ftpfs_first_cd_then_ls=true +ignore_ftp_chattr_errors=true +editor_fill_tabs_with_spaces=false +editor_return_does_auto_indent=false +editor_backspace_through_tabs=false +editor_fake_half_tabs=true +editor_option_save_position=true +editor_option_auto_para_formatting=false +editor_option_typewriter_wrap=false +editor_edit_confirm_save=true +editor_syntax_highlighting=true +editor_persistent_selections=true +editor_drop_selection_on_copy=true +editor_cursor_beyond_eol=false +editor_cursor_after_inserted_block=false +editor_visible_tabs=true +editor_visible_spaces=true +editor_line_state=false +editor_simple_statusbar=false +editor_check_new_line=false +editor_show_right_margin=false +editor_group_undo=true +editor_state_full_filename=true +editor_ask_filename_before_edit=false +nice_rotating_dash=true +mcview_remember_file_position=false +auto_fill_mkdir_name=true +copymove_persistent_attr=true +pause_after_run=1 +mouse_repeat_rate=100 +double_click_speed=250 +old_esc_mode_timeout=1000000 +max_dirt_limit=10 +num_history_items_recorded=60 +vfs_timeout=60 +ftpfs_directory_timeout=900 +ftpfs_retry_seconds=30 +fish_directory_timeout=900 +editor_tab_spacing=8 +editor_word_wrap_line_length=72 +editor_option_save_mode=0 +editor_backup_extension=~ +editor_filesize_threshold=64M +editor_stop_format_chars=-+*\\,.;:&> +mcview_eof= +skin=electricblue256 + +[Layout] +message_visible=1 +keybar_visible=1 +xterm_title=1 +output_lines=0 +command_prompt=1 +menubar_visible=1 +free_space=1 +horizontal_split=0 +vertical_equal=1 +left_panel_size=70 +horizontal_equal=1 +top_panel_size=1 + +[Misc] +timeformat_recent=%e %b %H:%M +timeformat_old=%e %b %Y +ftp_proxy_host=gate +ftpfs_password=anonymous@ +display_codepage=UTF-8 +source_codepage=Other_8_bit +autodetect_codeset= +spell_language=en +clipboard_store= +clipboard_paste= + +[Colors] +base_color= +xterm-256color= +color_terminals= + +[Panels] +show_mini_info=true +kilobyte_si=false +mix_all_files=false +show_backups=true +show_dot_files=true +fast_reload=false +fast_reload_msg_shown=false +mark_moves_down=true +reverse_files_only=true +auto_save_setup_panels=false +navigate_with_arrows=false +panel_scroll_pages=true +panel_scroll_center=false +mouse_move_pages=true +filetype_mode=true +permission_mode=false +torben_fj_mode=false +quick_search_mode=2 +select_flags=6 + +simple_swap=false + +[Panelize] +Fichiers git modifiés=git ls-files --modified +Rechercher les fichiers .orig après avoir patché=find . -name \\*.orig -print +Rechercher les programmes SUID et SGID=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print +Trouver les fichiers .reject après avoir patché=find . -name \\*.rej -print diff --git a/config/includes.chroot/etc/skel/.config/mc/panels.ini b/config/includes.chroot/etc/skel/.config/mc/panels.ini new file mode 100644 index 0000000..93e20f4 --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/mc/panels.ini @@ -0,0 +1,34 @@ +[New Left Panel] +display=listing +reverse=false +case_sensitive=true +exec_first=false +sort_order=name +list_mode=full +brief_cols=2 +user_format=half type name | size:4 | perm +user_status0=half type name | size | perm +user_status1=half type name | size | perm +user_status2=half type name | size | perm +user_status3=half type name | size | perm +user_mini_status=false +list_format=user + +[New Right Panel] +display=listing +reverse=false +case_sensitive=true +exec_first=false +sort_order=name +list_mode=full +brief_cols=2 +user_format=half type name | size:4 | perm +user_status0=half type name | size | perm +user_status1=half type name | size | perm +user_status2=half type name | size | perm +user_status3=half type name | size | perm +user_mini_status=false +list_format=user + +[Dirs] +current_is_left=true diff --git a/config/includes.chroot/etc/skel/.config/xfce4/panel/battery-1.rc b/config/includes.chroot/etc/skel/.config/xfce4/panel/battery-1.rc new file mode 100644 index 0000000..1e5f634 --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/xfce4/panel/battery-1.rc @@ -0,0 +1,20 @@ +display_label=false +display_icon=false +display_power=false +display_percentage=true +display_bar=true +display_time=false +tooltip_display_percentage=true +tooltip_display_time=true +low_percentage=10 +critical_percentage=5 +action_on_low=1 +action_on_critical=1 +hide_when_full=0 +colorA=rgb(136,136,255) +colorH=rgb(0,255,0) +colorL=rgb(255,255,0) +colorC=rgb(255,0,0) +command_on_low= +command_on_critical= + diff --git a/config/includes.chroot/etc/skel/.config/xfce4/panel/whiskermenu-7.rc b/config/includes.chroot/etc/skel/.config/xfce4/panel/whiskermenu-7.rc new file mode 100644 index 0000000..3289b1b --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/xfce4/panel/whiskermenu-7.rc @@ -0,0 +1,80 @@ +favorites=xfce4-web-browser.desktop,xfce4-mail-reader.desktop,xfce4-file-manager.desktop,xfce4-terminal-emulator.desktop +recent= +button-icon=xfce4-whiskermenu +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=true +launcher-show-tooltip=true +item-icon-size=2 +hover-switch-category=false +category-show-name=true +category-icon-size=1 +load-hierarchy=false +view-as-icons=false +default-category=0 +recent-items-max=10 +favorites-in-recent=true +position-search-alternate=false +position-commands-alternate=false +position-categories-alternate=true +stay-on-focus-out=false +confirm-session-command=true +menu-width=450 +menu-height=500 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=true +command-lockscreen=xflock4 +show-command-lockscreen=true +command-switchuser=dm-tool switch-to-greeter +show-command-switchuser=false +command-logoutuser=xfce4-session-logout --logout --fast +show-command-logoutuser=false +command-restart=xfce4-session-logout --reboot --fast +show-command-restart=false +command-shutdown=xfce4-session-logout --halt --fast +show-command-shutdown=false +command-suspend=xfce4-session-logout --suspend +show-command-suspend=false +command-hibernate=xfce4-session-logout --hibernate +show-command-hibernate=false +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=true +search-actions=5 + +[action0] +name=Pages de manuel +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Recherche Web +pattern=? +command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u +regex=false + +[action2] +name=Wikipédia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action3] +name=Exécuter dans un terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action4] +name=Ouvrir l’emplacement +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + diff --git a/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml new file mode 100644 index 0000000..9fd09d6 --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000..7319f8f --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..fbf87a9 --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml new file mode 100644 index 0000000..04d58ac --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml new file mode 100644 index 0000000..8a1fdc6 --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/includes.chroot/etc/skel/.inputrc b/config/includes.chroot/etc/skel/.inputrc new file mode 100644 index 0000000..12c92df --- /dev/null +++ b/config/includes.chroot/etc/skel/.inputrc @@ -0,0 +1,73 @@ + +## Delete next word delimit with a space only +## Ctrl-Delete: +#"\e[3;5~": shell-kill-word + +## Delete previous word delimit with a space only +## Ctrl-Backspace: +#"\C-H": shell-backward-kill-word + +# Delete next word delimit with a space, a slash, a point, etc. +# Ctrl-Delete: +"\e[3;5~": kill-word + +# Delete previous word delimit with a space, a slash, a point, etc. +# Ctrl-Backspace (by default Esc-Backspace): +"\C-H": backward-kill-word +# Putty +#"\C-?": backward-kill-word + +# Jump one word to the left +# Ctrl-Left (by default Alt-B): +"\e[1;5D": backward-word +# Putty +#"\eOD": backward-word + +#"\e[5D": backward-word +#"\e\e[D": backward-word + + +# Jump one word to the right +# Ctrl-Right (by default Alt-F): +"\e[1;5C": forward-word +# Putty +#"\eOC": forward-word + +#"\e[5C": forward-word +#"\e\e[C": forward-word + +#History +#UP +"\e[1;5A": history-search-backward +#DOWN +"\e[1;5B": history-search-forward + +# Ignore case sensitive in bash completion +set completion-ignore-case on + +set colored-stats On + +#set show-all-if-ambiguous On +#set show-all-if-unmodified On + +set revert-all-at-newline On + +set skip-completed-text On + +#set completion-prefix-display-length 9 + +# Add sudo on start of line +# Alt-s: +"\es": "\C-asudo \C-e" + +"\em": shell-forward-word +"\eq": shell-backward-word +# Alt-f: +#"\ef": "\C-a\ed" +"\ef": "\C-a\em" + + +# HOME and END +#"\e[1~": beginning-of-line +#"\e[4~": end-of-line +#"\e[3~": kill-word diff --git a/config/includes.chroot/etc/skel/.local/share/mc/skins/electricblue256.ini b/config/includes.chroot/etc/skel/.local/share/mc/skins/electricblue256.ini new file mode 100644 index 0000000..d25355f --- /dev/null +++ b/config/includes.chroot/etc/skel/.local/share/mc/skins/electricblue256.ini @@ -0,0 +1,144 @@ +# alexk7110 ElectricBlue Midnight Comander skin +[skin] + description = electricblue256 (user) + 256colors = true + +[Lines] + horiz = ─ + vert = │ + lefttop = ┌ + righttop = ┐ + leftbottom = └ + rightbottom = ┘ + topmiddle = ┬ + bottommiddle = ┴ + leftmiddle = ├ + rightmiddle = ┤ + cross = ┼ + dhoriz = ═ + dvert = ║ + dlefttop = ╔ + drighttop = ╗ + dleftbottom = ╚ + drightbottom = ╝ + dtopmiddle = ╤ + dbottommiddle = ╧ + dleftmiddle = ╟ + drightmiddle = ╢ + +[core] + _default_ = color254;color235 + selected = color254;color240 + marked = color226;;bold + markselect = color226;color240;bold + gauge = color237;color39 + input = color39;color235;bold + inputmark = color51;color39;bold + inputunchanged = color32;color235;bold + commandlinemark = color235;color39;bold + reverse = color235;color39 + header = color33;color235;bold + disabled = color246;color239 + #inputhistory = + #commandhistory = + +[dialog] + _default_ = color254;color238 + dhotnormal = color39 + dfocus = color39;color240;bold + dhotfocus = color39;color240;bold + dtitle = color33;color238;bold + +[error] + _default_ = color238;color39 + errdfocus = color254;color238 + errdhotnormal = color254;color39;bold + errdhotfocus = color254;color238;bold + errdtitle = color254;;bold + +[filehighlight] + directory = color246;;bold + executable = color78 + symlink = color44 + hardlink = + stalelink = color203 + device = color62 + special = color142 + core = color197 + temp = color245 + archive = color247 + doc = color254 + source = color45 + media = color75 + graph = color38 + database = color76 + +[menu] + _default_ = color254;color235 + menusel = color235;color39 + menuhot = color39 + menuhotsel = color235;color39 + menuinactive = color244 + +[popupmenu] + _default_ = color254;color235 + menusel = color235;color39 + menutitle = color33;;bold + +[buttonbar] + button = color251;color235 + hotkey = color39;color235;bold + +[statusbar] + _default_ = color254;color39 + +[help] + _default_ = color252;color239 + helpitalic = color159;;bold + helpbold = color116;;bold + helplink = color45 + helpslink = color252;color39;bold + helptitle = color33;;bold + +[editor] + _default_ = color254;color235 + editbold = color235;color39;bold + editmarked = color235;color39;bold + editwhitespace = color56;color234 + editlinestate = color66;color235 + bookmark = ;color239 + bookmarkfound = ;color239;bold + editrightmargin = ;color235;bold + +[viewer] + _default_ = color254;color235 + viewbold = ;;bold + viewunderline = ;;underline + viewselected = color254;color39;bold + +[diffviewer] + changedline = color231;color29 + changednew = color232;color78 + changed = color231;color39 + added = color232;color81 + removed = ;color235 + error = color231;color160 + +[widget-common] + sort-sign-up = ↑ + sort-sign-down = ↓ + +[widget-panel] + hiddenfiles-sign-show = • + hiddenfiles-sign-hide = ○ + history-prev-item-sign = « + history-next-item-sign = » + history-show-list-sign = ^ + +[widget-scollbar] + first-vert-char = ↑ + last-vert-char = ↓ + first-horiz-char = « + last-horiz-char = » + current-char = ■ + background-char = ▒ diff --git a/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/.parentlock b/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/.parentlock new file mode 100644 index 0000000..e69de29 diff --git a/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/AlternateServices.txt b/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/AlternateServices.txt new file mode 100644 index 0000000..e69de29 diff --git a/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/SecurityPreloadState.txt b/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/SecurityPreloadState.txt new file mode 100644 index 0000000..e69de29 diff --git a/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/TRRBlacklist.txt b/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/TRRBlacklist.txt new file mode 100644 index 0000000..e69de29 diff --git a/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/handlers.json b/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/handlers.json new file mode 100644 index 0000000..7e29084 --- /dev/null +++ b/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/handlers.json @@ -0,0 +1 @@ +{"defaultHandlersVersion":{"fr":3},"mimeTypes":{"application/pdf":{"action":3,"extensions":["pdf"]}},"schemes":{"irc":{"stubEntry":true,"handlers":[null,{"name":"Mibbit","uriTemplate":"https://www.mibbit.com/?url=%s"}]},"ircs":{"stubEntry":true,"handlers":[null,{"name":"Mibbit","uriTemplate":"https://www.mibbit.com/?url=%s"}]},"mailto":{"stubEntry":true,"handlers":[null,{"name":"Yahoo! Mail","uriTemplate":"https://compose.mail.yahoo.com/?To=%s"},{"name":"Gmail","uriTemplate":"https://mail.google.com/mail/?extsrc=mailto&url=%s"}]}}} \ No newline at end of file diff --git a/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/prefs.js b/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/prefs.js new file mode 100644 index 0000000..b3037e7 --- /dev/null +++ b/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/prefs.js @@ -0,0 +1,98 @@ +// Mozilla User Preferences + +// DO NOT EDIT THIS FILE. +// +// If you make changes to this file while the application is running, +// the changes will be overwritten when the application exits. +// +// To change a preference value, you can either: +// - modify it via the UI (e.g. via about:config in the browser); or +// - set it within a user.js file in your profile. + +user_pref("app.normandy.first_run", false); +user_pref("app.normandy.migrationsApplied", 10); +user_pref("app.normandy.user_id", "a332fab9-2941-4f85-be40-facc1c9e0bcc"); +user_pref("app.shield.optoutstudies.enabled", false); +user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1629834909); +user_pref("app.update.lastUpdateTime.browser-cleanup-thumbnails", 1629834549); +user_pref("app.update.lastUpdateTime.recipe-client-addon-run", 1629834329); +user_pref("app.update.lastUpdateTime.rs-experiment-loader-timer", 1629836297); +user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1629834669); +user_pref("app.update.lastUpdateTime.services-settings-poll-changes", 1629834789); +user_pref("app.update.lastUpdateTime.telemetry_modules_ping", 1629834579); +user_pref("app.update.lastUpdateTime.xpi-signature-verification", 1629835029); +user_pref("browser.bookmarks.restore_default_bookmarks", false); +user_pref("browser.cache.disk.amount_written", 1803); +user_pref("browser.cache.disk.capacity", 174080); +user_pref("browser.cache.disk.filesystem_reported", 1); +user_pref("browser.contentblocking.category", "standard"); +user_pref("browser.laterrun.bookkeeping.profileCreationTime", 1629834325); +user_pref("browser.laterrun.bookkeeping.sessionCount", 4); +user_pref("browser.laterrun.enabled", true); +user_pref("browser.migration.version", 96); +user_pref("browser.newtabpage.activity-stream.impressionId", "{5ef46e1a-e9f8-4cd3-a05e-a0ff3da5dee6}"); +user_pref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned", "amazon"); +user_pref("browser.newtabpage.pinned", "[{\"url\":\"http://www.netdldata.net/\",\"label\":\"NetDLData\",\"baseDomain\":\"www.netdldata.net\"},{\"url\":\"https://amazon.com\",\"label\":\"@amazon\",\"searchTopSite\":true}]"); +user_pref("browser.newtabpage.storageVersion", 1); +user_pref("browser.pageActions.persistedActions", "{\"version\":1,\"ids\":[\"bookmark\",\"pinTab\",\"bookmarkSeparator\",\"copyURL\",\"emailLink\",\"addSearchEngine\",\"sendToDevice\",\"pocket\",\"screenshots_mozilla_org\"],\"idsInUrlbar\":[\"pocket\",\"bookmark\"]}"); +user_pref("browser.pagethumbnails.storage_version", 3); +user_pref("browser.safebrowsing.provider.google4.lastupdatetime", "1629834578480"); +user_pref("browser.safebrowsing.provider.google4.nextupdatetime", "1629836354480"); +user_pref("browser.safebrowsing.provider.mozilla.lastupdatetime", "1629834329707"); +user_pref("browser.safebrowsing.provider.mozilla.nextupdatetime", "1629855929707"); +user_pref("browser.search.region", "FR"); +user_pref("browser.search.useDBForOrder", true); +user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20210804193512"); +user_pref("browser.slowStartup.averageTime", 4011); +user_pref("browser.slowStartup.samples", 4); +user_pref("browser.startup.homepage_override.buildID", "20210804193512"); +user_pref("browser.startup.homepage_override.mstone", "78.13.0"); +user_pref("browser.startup.lastColdStartupCheck", 1629836295); +user_pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"home-button\",\"customizableui-special-spring1\",\"urlbar-container\",\"customizableui-special-spring2\",\"downloads-button\",\"library-button\",\"sidebar-button\",\"fxa-toolbar-menu-button\",\"foxyproxy_eric_h_jung-browser-action\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"personal-bookmarks\"]},\"seen\":[\"developer-button\",\"foxyproxy_eric_h_jung-browser-action\"],\"dirtyAreaCache\":[\"nav-bar\",\"toolbar-menubar\",\"TabsToolbar\",\"PersonalToolbar\"],\"currentVersion\":16,\"newElementCount\":2}"); +user_pref("browser.urlbar.placeholderName", "Google"); +user_pref("browser.urlbar.placeholderName.private", "DuckDuckGo"); +user_pref("datareporting.policy.dataSubmissionPolicyAcceptedVersion", 2); +user_pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "1629834329116"); +user_pref("distribution.iniFile.exists.appversion", "78.13.0"); +user_pref("distribution.iniFile.exists.value", false); +user_pref("doh-rollout.balrog-migration-done", true); +user_pref("dom.push.userAgentID", "ae2de927859a46559dad31954bc2f5ab"); +user_pref("extensions.activeThemeID", "default-theme@mozilla.org"); +user_pref("extensions.blocklist.pingCountVersion", 0); +user_pref("extensions.databaseSchema", 32); +user_pref("extensions.getAddons.cache.lastUpdate", 1629834909); +user_pref("extensions.getAddons.databaseSchema", 6); +user_pref("extensions.incognito.migrated", true); +user_pref("extensions.lastAppBuildId", "20210804193512"); +user_pref("extensions.lastAppVersion", "78.13.0"); +user_pref("extensions.lastPlatformVersion", "78.13.0"); +user_pref("extensions.pendingOperations", false); +user_pref("extensions.systemAddonSet", "{\"schema\":1,\"addons\":{}}"); +user_pref("extensions.webcompat.perform_injections", true); +user_pref("extensions.webcompat.perform_ua_overrides", true); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.doh-rollout@mozilla.org", true); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.foxyproxy@eric.h.jung", true); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.screenshots@mozilla.org", true); +user_pref("extensions.webextensions.uuids", "{\"doh-rollout@mozilla.org\":\"701d6c7c-9691-44d6-9101-ccbee7c906cf\",\"formautofill@mozilla.org\":\"519bbe3f-ae6b-48df-9a3d-c4ec72dcb959\",\"screenshots@mozilla.org\":\"a675ba07-73da-413b-ac45-e52e8dc8cc81\",\"webcompat-reporter@mozilla.org\":\"1790b3c9-1080-48e5-aaac-cf4113f0d8ef\",\"webcompat@mozilla.org\":\"68a3b25b-26ba-4791-9031-97756986e578\",\"default-theme@mozilla.org\":\"07b56648-08bf-46ec-9232-77b83b913b68\",\"google@search.mozilla.org\":\"306061ef-25c1-4d48-9683-3d070f19f5a6\",\"wikipedia@search.mozilla.org\":\"6af1a256-57d6-4e8e-ac35-8bf1663aaef2\",\"bing@search.mozilla.org\":\"8a7a79ea-d81c-448d-8f72-e6cffc6ab019\",\"ddg@search.mozilla.org\":\"3ba24263-31e2-4857-8f83-4c71ad4c4818\",\"ebay@search.mozilla.org\":\"45b09efa-4c96-4e4e-8139-220d1cc23d3c\",\"qwant@search.mozilla.org\":\"ed2306ac-3ba2-46af-95f6-6abfaa70451e\",\"amazon@search.mozilla.org\":\"8a39d079-602e-4cdc-9a41-b7baf0d03b54\",\"foxyproxy@eric.h.jung\":\"0b042abe-f1e0-4153-abf8-f6587a216ea8\"}"); +user_pref("gfx.blacklist.layers.opengl", 4); +user_pref("gfx.blacklist.layers.opengl.failureid", "FEATURE_FAILURE_SOFTWARE_GL"); +user_pref("idle.lastDailyNotification", 1629834792); +user_pref("media.gmp-manager.buildID", "20210804193512"); +user_pref("media.gmp-manager.lastCheck", 1629834633); +user_pref("media.gmp.storage.version.observed", 1); +user_pref("pdfjs.enabledCache.state", true); +user_pref("pdfjs.migrationVersion", 2); +user_pref("places.database.lastMaintenance", 1629834792); +user_pref("places.history.expiration.transient_current_max_pages", 27684); +user_pref("privacy.purge_trackers.date_in_cookie_database", "0"); +user_pref("privacy.sanitize.pending", "[]"); +user_pref("security.sandbox.content.tempDirSuffix", "24d5bf85-7256-4d01-9019-014d7bb6e6bd"); +user_pref("security.sandbox.plugin.tempDirSuffix", "741c8daf-c638-4a9b-b2a2-17e87696372c"); +user_pref("signon.importedFromSqlite", true); +user_pref("storage.vacuum.last.index", 0); +user_pref("storage.vacuum.last.places.sqlite", 1629834792); +user_pref("toolkit.startup.last_success", 1629836292); +user_pref("toolkit.telemetry.cachedClientID", "c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0"); +user_pref("toolkit.telemetry.previousBuildID", "20210804193512"); +user_pref("toolkit.telemetry.reportingpolicy.firstRun", false); +user_pref("trailhead.firstrun.didSeeAboutWelcome", true); diff --git a/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/search.json.mozlz4 b/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/search.json.mozlz4 new file mode 100644 index 0000000..b7cc453 Binary files /dev/null and b/config/includes.chroot/etc/skel/.mozilla/firefox/1cn8v4s7.live/search.json.mozlz4 differ diff --git a/config/includes.chroot/etc/skel/.mozilla/firefox/Crash Reports/InstallTime20210804193512 b/config/includes.chroot/etc/skel/.mozilla/firefox/Crash Reports/InstallTime20210804193512 new file mode 100644 index 0000000..d9b640c --- /dev/null +++ b/config/includes.chroot/etc/skel/.mozilla/firefox/Crash Reports/InstallTime20210804193512 @@ -0,0 +1 @@ +1629834320 \ No newline at end of file diff --git a/config/includes.chroot/etc/skel/.mozilla/firefox/installs.ini b/config/includes.chroot/etc/skel/.mozilla/firefox/installs.ini new file mode 100644 index 0000000..9b0228d --- /dev/null +++ b/config/includes.chroot/etc/skel/.mozilla/firefox/installs.ini @@ -0,0 +1,4 @@ +[3B6073811A6ABF12] +Default=1cn8v4s7.live +Locked=1 + diff --git a/config/includes.chroot/etc/skel/.mozilla/firefox/profiles.ini b/config/includes.chroot/etc/skel/.mozilla/firefox/profiles.ini new file mode 100644 index 0000000..0e0d854 --- /dev/null +++ b/config/includes.chroot/etc/skel/.mozilla/firefox/profiles.ini @@ -0,0 +1,14 @@ +[Profile0] +Name=live +IsRelative=1 +Path=1cn8v4s7.live +Default=1 + +[General] +StartWithLastProfile=1 +Version=2 + +[Install3B6073811A6ABF12] +Default=1cn8v4s7.live +Locked=1 + diff --git a/config/includes.chroot/etc/skel/.pulse/daemon.conf b/config/includes.chroot/etc/skel/.pulse/daemon.conf new file mode 100644 index 0000000..012c072 --- /dev/null +++ b/config/includes.chroot/etc/skel/.pulse/daemon.conf @@ -0,0 +1 @@ +flat-volumes = no diff --git a/config/includes.chroot/etc/skel/.vimrc b/config/includes.chroot/etc/skel/.vimrc new file mode 100644 index 0000000..0750454 --- /dev/null +++ b/config/includes.chroot/etc/skel/.vimrc @@ -0,0 +1,15 @@ +runtime! debian.vim +syntax on +set background=dark +set mouse=i +set number +set modeline +if filereadable("/etc/vim/vimrc.local") + source /etc/vim/vimrc.local +endif +"set tabstop=4 +"set softtabstop=4 +"set shiftwidth=4 +"set noexpandtab +"set autoindent + diff --git a/config/includes.chroot/etc/skel/.x2goclient/sessions b/config/includes.chroot/etc/skel/.x2goclient/sessions new file mode 100644 index 0000000..de15a78 --- /dev/null +++ b/config/includes.chroot/etc/skel/.x2goclient/sessions @@ -0,0 +1,62 @@ +[20210824155038759] +applications=thunderbird, WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL +autologin=true +clipboard=both +command=thunderbird +defsndport=true +directrdp=false +directrdpsettings= +directxdmcp=false +directxdmcpsettings= +display=1 +dpi=90 +export= +fstunnel=true +fullscreen=false +height=600 +host=netdldata.net +icon=:/img/icons/128x128/x2gosession.png +iconvfrom=ISO8859-1 +iconvto=UTF-8 +kdrive=false +key= +krbdelegation=false +krblogin=false +maxdim=false +multidisp=false +name=Thunderbird +pack=16m-jpeg +print=false +published=false +quality=9 +rdpclient=rdesktop +rdpoptions= +rdpport=3389 +rdpserver= +rootless=true +setdpi=true +sndport=4713 +sound=true +soundsystem=pulse +soundtunnel=true +speed=3 +sshport=22 +sshproxyautologin=false +sshproxyhost= +sshproxykeyfile= +sshproxykrblogin=false +sshproxyport=22 +sshproxysamepass=false +sshproxysameuser=false +sshproxytype=SSH +sshproxyuser= +startsoundsystem=true +type=auto +useiconv=false +usekbd=true +user=impt +usesshproxy=false +width=800 +xdmcpclient=Xnest +xdmcpserver=localhost +xinerama=false diff --git a/config/includes.chroot/etc/skel/.xsessionrc b/config/includes.chroot/etc/skel/.xsessionrc new file mode 100644 index 0000000..b29d703 --- /dev/null +++ b/config/includes.chroot/etc/skel/.xsessionrc @@ -0,0 +1,23 @@ +#! /bin/sh +# ~/.xsessionrc: execute commands at the beginning of the X user +# session - before the window manager is started. +# +#backlight +if [ -f /sys/class/backlight/intel_backlight/brightness ]; then + echo $(($(cat /sys/class/backlight/intel_backlight/brightness)/2)) | sudo tee /sys/class/backlight/intel_backlight/brightness +fi + +dconf load /org/gnome/terminal/legacy/profiles:/ < /usr/share/gnome/gnome-terminal-profiles.dconf + +dconf write /org/cinnamon/desktop/interface/gtk-theme "'Adwaita-dark'" + +dconf write /org/cinnamon/desktop/background/picture-uri "'file:///usr/share/desktop-base/softwaves-theme/wallpaper/gnome-background.xml'" + +dconf write /org/cinnamon/settings-daemon/plugins/power/button-power "'interactive'" + +dconf write /org/cinnamon/desktop/keybindings/media-keys/terminal "['t', 'x']" + +dconf write /apps/light-locker/lock-after-screensaver "uint32 0" + +dconf write /org/nemo/preferences/size-prefixes "'base-2'" + diff --git a/config/includes.chroot/etc/systemd/logind.conf b/config/includes.chroot/etc/systemd/logind.conf new file mode 100644 index 0000000..b91c02a --- /dev/null +++ b/config/includes.chroot/etc/systemd/logind.conf @@ -0,0 +1 @@ +HandleLidSwitch=ignore diff --git a/config/includes.chroot/root/.vimrc b/config/includes.chroot/root/.vimrc new file mode 100644 index 0000000..0750454 --- /dev/null +++ b/config/includes.chroot/root/.vimrc @@ -0,0 +1,15 @@ +runtime! debian.vim +syntax on +set background=dark +set mouse=i +set number +set modeline +if filereadable("/etc/vim/vimrc.local") + source /etc/vim/vimrc.local +endif +"set tabstop=4 +"set softtabstop=4 +"set shiftwidth=4 +"set noexpandtab +"set autoindent + diff --git a/config/includes.chroot/usr/bin/subl b/config/includes.chroot/usr/bin/subl new file mode 100755 index 0000000..1f17e0d --- /dev/null +++ b/config/includes.chroot/usr/bin/subl @@ -0,0 +1,2 @@ +#!/bin/sh +exec /opt/sublime_text/sublime_text --fwdargv0 "$0" "$@" diff --git a/config/includes.chroot/usr/share/applications/sublime_text.desktop b/config/includes.chroot/usr/share/applications/sublime_text.desktop new file mode 100644 index 0000000..b39c3e1 --- /dev/null +++ b/config/includes.chroot/usr/share/applications/sublime_text.desktop @@ -0,0 +1,23 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Sublime Text +GenericName=Text Editor +Comment=Sophisticated text editor for code, markup and prose +Exec=/opt/sublime_text/sublime_text %F +Terminal=false +MimeType=text/plain; +Icon=sublime-text +Categories=TextEditor;Development; +StartupNotify=true +Actions=Window;Document; + +[Desktop Action Window] +Name=New Window +Exec=/opt/sublime_text/sublime_text -n +OnlyShowIn=Unity; + +[Desktop Action Document] +Name=New File +Exec=/opt/sublime_text/sublime_text --command new_file +OnlyShowIn=Unity; diff --git a/config/includes.chroot/usr/share/gnome/gnome-terminal-profiles.dconf b/config/includes.chroot/usr/share/gnome/gnome-terminal-profiles.dconf new file mode 100644 index 0000000..ebb8a98 --- /dev/null +++ b/config/includes.chroot/usr/share/gnome/gnome-terminal-profiles.dconf @@ -0,0 +1,21 @@ +[:b5d46728-f548-49e4-b802-7ed1a1190bcf] +use-theme-colors=false +visible-name='vert_sur_noir' + +[:b1dcc9dd-5262-4d8d-a863-c897e6d979b9] +background-color='rgb(255,255,255)' +use-theme-colors=true +foreground-color='rgb(0,0,0)' +visible-name='couleurs_system' + +[/] +list=['b1dcc9dd-5262-4d8d-a863-c897e6d979b9', 'b5d46728-f548-49e4-b802-7ed1a1190bcf', '4aa8ef12-3564-4d7c-a547-f638618495c0'] +default='4aa8ef12-3564-4d7c-a547-f638618495c0' + +[:4aa8ef12-3564-4d7c-a547-f638618495c0] +background-color='rgb(35,39,41)' +default-size-columns=150 +use-theme-colors=false +default-size-rows=40 +foreground-color='rgb(238,238,238)' +visible-name='couleur_manuel' diff --git a/config/includes.chroot/usr/share/icons/hicolor/128x128/apps/sublime-text.png b/config/includes.chroot/usr/share/icons/hicolor/128x128/apps/sublime-text.png new file mode 100644 index 0000000..2f17e8a Binary files /dev/null and b/config/includes.chroot/usr/share/icons/hicolor/128x128/apps/sublime-text.png differ diff --git a/config/includes.chroot/usr/share/icons/hicolor/16x16/apps/sublime-text.png b/config/includes.chroot/usr/share/icons/hicolor/16x16/apps/sublime-text.png new file mode 100644 index 0000000..d38ba34 Binary files /dev/null and b/config/includes.chroot/usr/share/icons/hicolor/16x16/apps/sublime-text.png differ diff --git a/config/includes.chroot/usr/share/icons/hicolor/256x256/apps/sublime-text.png b/config/includes.chroot/usr/share/icons/hicolor/256x256/apps/sublime-text.png new file mode 100644 index 0000000..ff86f59 Binary files /dev/null and b/config/includes.chroot/usr/share/icons/hicolor/256x256/apps/sublime-text.png differ diff --git a/config/includes.chroot/usr/share/icons/hicolor/32x32/apps/sublime-text.png b/config/includes.chroot/usr/share/icons/hicolor/32x32/apps/sublime-text.png new file mode 100644 index 0000000..1a7dc92 Binary files /dev/null and b/config/includes.chroot/usr/share/icons/hicolor/32x32/apps/sublime-text.png differ diff --git a/config/includes.chroot/usr/share/icons/hicolor/48x48/apps/sublime-text.png b/config/includes.chroot/usr/share/icons/hicolor/48x48/apps/sublime-text.png new file mode 100644 index 0000000..43b0b8e Binary files /dev/null and b/config/includes.chroot/usr/share/icons/hicolor/48x48/apps/sublime-text.png differ diff --git a/config/package-lists/cinnamon.list.chroot b/config/package-lists/cinnamon.list.chroot new file mode 100644 index 0000000..b89529f --- /dev/null +++ b/config/package-lists/cinnamon.list.chroot @@ -0,0 +1,6 @@ +task-cinnamon-desktop +cinnamon-core +cinnamon +cinnamon-l10n +nemo +nemo-fileroller \ No newline at end of file diff --git a/config/package-lists/cli.list.chroot b/config/package-lists/cli.list.chroot new file mode 100644 index 0000000..c555bfb --- /dev/null +++ b/config/package-lists/cli.list.chroot @@ -0,0 +1,68 @@ +keyboard-configuration +sudo +sshfs +nfs-common +cifs-utils +smbclient +avahi-daemon +bridge-utils +usbutils +file +python2 +python3 +e2fsprogs +btrfs-progs +lvm2 +mdadm +ntfs-3g +dosfstools +exfat-utils +cryptsetup-bin +libblockdev-crypto2 +libblockdev-lvm2 +genisoimage +bash-completion +vim +rsync +tree +nmap +htop +progress +pv +wget +os-prober +gzip +pigz +bzip2 +lbzip2 +xz-utils +p7zip-full +p7zip-rar +grub-pc-bin +grub-efi-amd64-bin +grub2-common +efibootmgr +hwinfo +lshw +pciutils +f2fs-tools +xfsprogs +mc +squashfs-tools +iperf3 +libimage-exiftool-perl +hdparm +net-tools +eject +console-data +console-setup +lm-sensors +smartmontools +partclone +renameutils +qemu-utils +ca-certificates +wireguard +openssh-client +openssh-sftp-server +dnsutils \ No newline at end of file diff --git a/config/package-lists/firmware.list.chroot b/config/package-lists/firmware.list.chroot new file mode 100644 index 0000000..f7bd89f --- /dev/null +++ b/config/package-lists/firmware.list.chroot @@ -0,0 +1,29 @@ +firmware-amd-graphics +firmware-ath9k-htc +firmware-atheros +firmware-bnx2 +firmware-bnx2x +firmware-brcm80211 +firmware-cavium +firmware-intel-sound +firmware-intelwimax +firmware-ipw2x00 +firmware-ivtv +firmware-iwlwifi +firmware-libertas +firmware-linux +firmware-linux-free +firmware-linux-nonfree +firmware-misc-nonfree +firmware-myricom +firmware-netronome +firmware-netxen +firmware-qcom-media +firmware-qlogic +firmware-realtek +firmware-samsung +firmware-siano +firmware-ti-connectivity +firmware-zd1211 +amd64-microcode +intel-microcode \ No newline at end of file diff --git a/config/package-lists/gui.list.chroot b/config/package-lists/gui.list.chroot new file mode 100644 index 0000000..b94c966 --- /dev/null +++ b/config/package-lists/gui.list.chroot @@ -0,0 +1,36 @@ +xauth +lightdm +x11-xserver-utils +task-french +task-french-desktop +adwaita-icon-theme +gnome-themes-standard +gnome-terminal +dconf-cli +gnome-system-monitor +gnome-keyring +file-roller +gvfs-backends +gvfs-fuse +chromium +chromium-l10n +chromium-sandbox +firefox-esr +firefox-esr-l10n-fr +x2goclient +blueman +gparted +eog +filezilla +meld +evince +mousepad +gedit +vlc +hardinfo +remmina +remmina-plugin-vnc +remmina-plugin-rdp +virt-manager +gir1.2-spiceclientgtk-3.0 +libvirt-clients diff --git a/config/package-lists/gui_opt.list.chroot b/config/package-lists/gui_opt.list.chroot new file mode 100644 index 0000000..7f94d56 --- /dev/null +++ b/config/package-lists/gui_opt.list.chroot @@ -0,0 +1,3 @@ +libreoffice-writer +libreoffice-calc +libreoffice-l10n-fr diff --git a/config/package-lists/live.list.chroot b/config/package-lists/live.list.chroot new file mode 100644 index 0000000..fe745d7 --- /dev/null +++ b/config/package-lists/live.list.chroot @@ -0,0 +1,18 @@ +live-boot +live-boot-doc +live-boot-initramfs-tools +live-config +live-config-doc +live-config-systemd +live-tools +linux-base +linux-image-amd64 +linux-headers-amd64 +busybox +locales +initramfs-tools +initramfs-tools-core +rpcbind +dbus +apparmor +user-setup \ No newline at end of file diff --git a/config/package-lists/recommends.list.chroot b/config/package-lists/recommends.list.chroot new file mode 100644 index 0000000..0e6b7bc --- /dev/null +++ b/config/package-lists/recommends.list.chroot @@ -0,0 +1,166 @@ +adwaita-icon-theme +amd64-microcode +apparmor +atmel-firmware +bluez-firmware +busybox +dahdi-firmware-nonfree +dbus +dmeventd +exim4-base +exim4-config +exim4-daemon-light +file +fontconfig +fontconfig-config +fonts-dejavu-core +fuse +gtk-update-icon-cache +guile-2.2-libs +hdmi2usb-fx2-firmware +hicolor-icon-theme +initramfs-tools +initramfs-tools-core +intel-microcode +iucode-tool +ixo-usb-jtag +keyboard-configuration +keyutils +klibc-utils +krb5-locales +libaio1 +libatk1.0-0 +libatk1.0-data +libatkmm-1.6-1v5 +libavahi-client3 +libavahi-common-data +libavahi-common3 +libc-l10n +libcairo2 +libcairomm-1.0-1v5 +libcroco3 +libcups2 +libdatrie1 +libdbus-1-3 +libdevmapper-event1.02.1 +libedit2 +libevent-2.1-6 +libexpat1 +libfontconfig1 +libfreetype6 +libfribidi0 +libfuse2 +libgail-common +libgail18 +libgc1c2 +libgdk-pixbuf2.0-0 +libgdk-pixbuf2.0-bin +libgdk-pixbuf2.0-common +libglib2.0-0 +libglib2.0-data +libglibmm-2.4-1v5 +libgnutls-dane0 +libgpm2 +libgraphite2-3 +libgsasl7 +libgssapi-krb5-2 +libgtk2.0-0 +libgtk2.0-bin +libgtk2.0-common +libgtkmm-2.4-1v5 +libharfbuzz0b +libicu63 +libjbig0 +libjpeg62-turbo +libk5crypto3 +libkeyutils1 +libklibc +libkrb5-3 +libkrb5support0 +libkyotocabinet16v5 +libldap-2.4-2 +libldap-common +libltdl7 +liblvm2cmd2.03 +liblzo2-2 +libmagic-mgc +libmagic1 +libmailutils5 +libmariadb3 +libmpdec2 +libnfsidmap2 +libntfs-3g883 +libntlm0 +libpango-1.0-0 +libpangocairo-1.0-0 +libpangoft2-1.0-0 +libpangomm-1.4-1v5 +libparted-fs-resize0 +libparted2 +libpixman-1-0 +libpng16-16 +libpython-stdlib +libpython2-stdlib +libpython2.7 +libpython2.7-minimal +libpython2.7-stdlib +libpython3-stdlib +libpython3.7-minimal +libpython3.7-stdlib +libreadline5 +libreadline7 +librsvg2-2 +librsvg2-common +libsasl2-2 +libsasl2-modules +libsasl2-modules-db +libsigc++-2.0-0v5 +libsqlite3-0 +libtalloc2 +libthai-data +libthai0 +libtiff5 +libtirpc-common +libtirpc3 +libunbound8 +libwbclient0 +libwebp6 +libwrap0 +libx11-6 +libx11-data +libxau6 +libxcb-render0 +libxcb-shm0 +libxcb1 +libxcomposite1 +libxcursor1 +libxdamage1 +libxdmcp6 +libxext6 +libxfixes3 +libxi6 +libxinerama1 +libxml2 +libxmuu1 +libxrandr2 +libxrender1 +linux-base +locales +mailutils +mailutils-common +mariadb-common +mime-support +mysql-common +openssh-client +pigz +psmisc +python3 +rpcbind +shared-mime-info +thin-provisioning-tools +ucf +user-setup +uuid-runtime +vim-runtime +xauth +xdg-user-dirs diff --git a/config/package-lists/vm.list.chroot b/config/package-lists/vm.list.chroot new file mode 100644 index 0000000..dc4179d --- /dev/null +++ b/config/package-lists/vm.list.chroot @@ -0,0 +1,3 @@ +qemu-guest-agent +spice-vdagent +open-vm-tools \ No newline at end of file diff --git a/config/package-lists/xfce4.list.chroot b/config/package-lists/xfce4.list.chroot new file mode 100644 index 0000000..9aef5c5 --- /dev/null +++ b/config/package-lists/xfce4.list.chroot @@ -0,0 +1,14 @@ +task-xfce-desktop +xfce4-whiskermenu-plugin +tango-icon-theme +network-manager-gnome +xfce4-notifyd +xfce4-goodies +xfce4-power-manager +xfce4-power-manager-plugins +xfce4-terminal +thunar-volman +thunar-archive-plugin +pulseaudio +pavucontrol +dbus-x11 diff --git a/make.sh b/make.sh new file mode 100755 index 0000000..d8c0e5c --- /dev/null +++ b/make.sh @@ -0,0 +1,214 @@ +#!/bin/bash + +baseDir=/media/Accensio/live + +build=$baseDir/build + +config=$baseDir/config + +iso=$baseDir/iso + +if [ "$EUID" -ne 0 ] +then + echo "Please run as root" + exit 1 +fi + +_usage() +{ + cat <<"EOF" +-f Make full live image +-x Make xfce live image +-c Make cinnamon live image +-v Make xfce-vm live image +-a Make live image for android +EOF +} + +if [ -z "$1" ] +then + _usage + exit 1 +fi + +KERNEL_PARAM="boot=live components lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 keyboard-layouts=fr keyboard-model=pc105 timezone=Europe/Paris utc=yes" + +keep_iso="true" + +pack_full=(live cli firmware xfce4 gui cinnamon gui_opt) + +pack_xfce=(live cli firmware xfce4 gui) + +pack_cinnamon=(live cli firmware cinnamon gui) + +pack_vmxfce=(live cli firmware xfce4 gui vm) + +export http_proxy="http://192.168.110.1:3142" + +_config() +{ + + mkdir -p $build/config + + cd $build + + #cp -r $config/auto $build/auto + + sed -i 's:\(--bootappend-live\).*:\1 "'"$KERNEL_PARAM"'":' $build/auto/config + + ln -sr $config/includes.chroot $build/config/includes.chroot + + lb clean + lb clean --cache + + lb config noauto \ + --architectures amd64 \ + --distribution bullseye \ + --binary-images iso-hybrid \ + --apt-http-proxy "http://192.168.110.1:3142" \ + --archive-areas "main contrib non-free" \ + --debian-installer none \ + --apt-recommends false \ + --updates true \ + --security true \ + --source false \ + --backports false \ + --memtest none \ + --bootappend-live "boot=live components lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 keyboard-layouts=fr keyboard-model=pc105 timezone=Europe/Paris utc=yes" \ + + rm $build/config/package-lists/* + + eval pack=\${pack_${type}[@]} + + for file in ${pack[@]}; do + ln -sr $config/package-lists/$file.list.chroot $build/config/package-lists/$file.list.chroot + done + +} + +_build() +{ + + #time nice -20 ionice -c 1 lb build + lb bootstrap + lb chroot + +} + +_create_squashfs() +{ + + lb binary_chroot + lb binary_rootfs + lb binary_linux-image + lb binary_syslinux + + out="$iso/$type" + + install -d -m 0755 -o $SUDO_UID -g $SUDO_GID $out + + cp $build/binary/live/{initrd.img,vmlinuz,filesystem.squashfs} $out/ + + chown $SUDO_UID:$SUDO_GID $out/{initrd.img,vmlinuz,filesystem.squashfs} + + lb chroot_sysfs remove + lb chroot_selinuxfs remove + lb chroot_proc remove + lb chroot_devpts remove + +} + +_create_iso() +{ + + lb binary + + out="$iso/$type" + + install -d -m 0755 -o $SUDO_UID -g $SUDO_GID $out + + cp $build/live-image-amd64.hybrid.iso $out/live-${type}-image.iso + + chown $SUDO_UID:$SUDO_GID $out/live-${type}-image.iso + +} + +_extract() +{ + + cd $out + + 7z e live-${type}-image.iso live/{initrd.img,vmlinuz,filesystem.squashfs} + + chown $SUDO_UID:$SUDO_GID . -R + + rm live-${type}-image.iso + +} + +_delete() +{ + echo "Delete $build" +# read -p "You sure ? " -n 1 -r +# echo +# if [[ $REPLY =~ ^[YyOo]$ ]] +# then + rm -r $build +# else +# echo "Cancel" +# fi +} + +while getopts "fxcva" OPTION; do + case $OPTION in + f) + type="full" + _config + _build + _create_squashfs + _delete + ;; + x) + type="xfce" + _config + _build + mkdir -p $build/chroot/etc/skel/.ssh + cp /home/lionel/.ssh/{config,key_rsa_majalis,key_rsa_majalis.pub} $build/chroot/etc/skel/.ssh + _create_squashfs + _delete + ;; + v) + type="vmxfce" + _config + _build + _create_iso + _delete + ;; + c) + type="cinnamon" + _config + _build + _create_iso + _delete + ;; + a) + type="android" + KERNEL_PARAM+=" toram x-session-manager=/usr/bin/cinnamon-session" + _config + _build + mkdir -p $build/chroot/etc/skel/.ssh + cp /home/lionel/.ssh/{config,key_rsa_majalis,key_rsa_majalis.pub} $build/chroot/etc/skel/.ssh + _create_iso + _delete + ;; + *) + _usage + exit 1 + ;; + esac +done + +if [ -z "$type" ] +then + _usage +fi