diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..ba26e229 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +wk_tmp \ No newline at end of file diff --git a/archlive/airootfs/etc/skel/.Xresources b/archlive/airootfs/etc/skel/.Xresources index 5a39a77c..ce6e4b9a 100644 --- a/archlive/airootfs/etc/skel/.Xresources +++ b/archlive/airootfs/etc/skel/.Xresources @@ -1,6 +1,7 @@ URxvt*font: xft:Inconsolata:size=11 -URxvt*geometry: 128x32+24+24 +! The line below will be modified by ~/.urxvt_default_res +URxvt*geometry: 96x32+24+24 URxvt*scrollBar_right: True URxvt*scrollstyle: plain diff --git a/archlive/airootfs/etc/skel/.config/Thunar/accels.scm b/archlive/airootfs/etc/skel/.config/Thunar/accels.scm new file mode 100644 index 00000000..7876f2fe --- /dev/null +++ b/archlive/airootfs/etc/skel/.config/Thunar/accels.scm @@ -0,0 +1,71 @@ +; Thunar GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +; (gtk_accel_path "/ThunarLauncher/sendto-desktop" "") +; (gtk_accel_path "/ThunarStandardView/create-folder" "n") +; (gtk_accel_path "/ThunarShortcutsPane/sendto-shortcuts" "") +; (gtk_accel_path "/ThunarWindow/view-side-pane-menu" "") +; (gtk_accel_path "/ThunarStandardView/paste-into-folder" "v") +; (gtk_accel_path "/ThunarWindow/open-home" "Home") +; (gtk_accel_path "/ThunarWindow/view-menu" "") +; (gtk_accel_path "/ThunarLauncher/open" "o") +; (gtk_accel_path "/ThunarWindow/go-menu" "") +; (gtk_accel_path "/ThunarActions/uca-action-1462127723240094-1" "") +; (gtk_accel_path "/ThunarWindow/open-file-system" "") +; (gtk_accel_path "/ThunarWindow/zoom-out" "minus") +; (gtk_accel_path "/ThunarStandardView/paste" "v") +; (gtk_accel_path "/ThunarLauncher/open-with-menu" "") +; (gtk_accel_path "/ThunarWindow/help-menu" "") +; (gtk_accel_path "/ThunarWindow/file-menu" "") +; (gtk_accel_path "/ThunarLauncher/open-with-other-in-menu" "") +; (gtk_accel_path "/ThunarWindow/detach-tab" "") +; (gtk_accel_path "/ThunarLauncher/open-in-new-tab" "p") +; (gtk_accel_path "/ThunarWindow/view-menubar" "m") +; (gtk_accel_path "/ThunarStandardView/back" "Left") +; (gtk_accel_path "/ThunarWindow/close-tab" "w") +; (gtk_accel_path "/ThunarWindow/view-as-compact-list" "3") +; (gtk_accel_path "/ThunarWindow/view-side-pane-tree" "e") +; (gtk_accel_path "/ThunarStandardView/restore" "") +; (gtk_accel_path "/ThunarWindow/open-network" "") +; (gtk_accel_path "/ThunarActions/Tap::create-archive" "") +; (gtk_accel_path "/ThunarWindow/new-tab" "t") +; (gtk_accel_path "/ThunarWindow/preferences" "") +; (gtk_accel_path "/ThunarStandardView/rename" "F2") +; (gtk_accel_path "/ThunarWindow/sendto-menu" "") +; (gtk_accel_path "/ThunarWindow/edit-menu" "") +; (gtk_accel_path "/ThunarLauncher/open-with-other" "") +; (gtk_accel_path "/ThunarWindow/view-location-selector-toolbar" "") +; (gtk_accel_path "/ThunarStandardView/invert-selection" "") +; (gtk_accel_path "/ThunarStandardView/make-link" "") +; (gtk_accel_path "/ThunarWindow/view-as-icons" "1") +; (gtk_accel_path "/ThunarWindow/new-window" "n") +; (gtk_accel_path "/ThunarStandardView/forward" "Right") +; (gtk_accel_path "/ThunarStandardView/move-to-trash" "") +; (gtk_accel_path "/ThunarStandardView/select-by-pattern" "s") +; (gtk_accel_path "/ThunarWindow/about" "") +; (gtk_accel_path "/ThunarStandardView/setup-columns" "") +; (gtk_accel_path "/ThunarWindow/contents" "F1") +; (gtk_accel_path "/ThunarWindow/open-desktop" "") +; (gtk_accel_path "/ThunarWindow/close-all-windows" "w") +; (gtk_accel_path "/ThunarWindow/zoom-in" "plus") +; (gtk_accel_path "/ThunarStandardView/duplicate" "") +; (gtk_accel_path "/ThunarWindow/open-parent" "Up") +; (gtk_accel_path "/ThunarWindow/view-side-pane-shortcuts" "b") +; (gtk_accel_path "/ThunarWindow/reload" "r") +; (gtk_accel_path "/ThunarWindow/open-templates" "") +; (gtk_accel_path "/ThunarStandardView/copy" "c") +; (gtk_accel_path "/ThunarWindow/view-location-selector-pathbar" "") +; (gtk_accel_path "/ThunarStandardView/properties" "Return") +; (gtk_accel_path "/ThunarStandardView/delete" "") +; (gtk_accel_path "/ThunarActions/Twp::setwallpaper" "") +; (gtk_accel_path "/ThunarWindow/empty-trash" "") +; (gtk_accel_path "/ThunarWindow/view-location-selector-menu" "") +; (gtk_accel_path "/ThunarLauncher/open-in-new-window" "o") +; (gtk_accel_path "/ThunarStandardView/cut" "x") +; (gtk_accel_path "/ThunarWindow/close-window" "q") +; (gtk_accel_path "/ThunarStandardView/select-all-files" "") +; (gtk_accel_path "/ThunarWindow/open-location" "l") +; (gtk_accel_path "/ThunarWindow/zoom-reset" "0") +; (gtk_accel_path "/ThunarWindow/view-statusbar" "") +; (gtk_accel_path "/ThunarWindow/show-hidden" "h") +; (gtk_accel_path "/ThunarWindow/view-as-detailed-list" "2") diff --git a/archlive/airootfs/etc/skel/.config/Thunar/uca.xml b/archlive/airootfs/etc/skel/.config/Thunar/uca.xml new file mode 100644 index 00000000..74185535 --- /dev/null +++ b/archlive/airootfs/etc/skel/.config/Thunar/uca.xml @@ -0,0 +1,13 @@ + + + + utilities-terminal + Open Terminal Here + 1462127723240094-1 + exo-open --working-directory %f --launch TerminalEmulator + Example for a custom action + * + + + + diff --git a/archlive/airootfs/etc/skel/.config/autostart/wifi.desktop b/archlive/airootfs/etc/skel/.config/autostart/wifi.desktop deleted file mode 100644 index 2459b12d..00000000 --- a/archlive/airootfs/etc/skel/.config/autostart/wifi.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Version=0.9.4 -Type=Application -Name=WiFi -Comment=WiFi -Exec=/home/wktech/.wifi -OnlyShowIn=XFCE; -StartupNotify=false -Terminal=false -Hidden=false - diff --git a/archlive/airootfs/etc/skel/.config/gtk-2.0/gtkfilechooser.ini b/archlive/airootfs/etc/skel/.config/gtk-2.0/gtkfilechooser.ini new file mode 100644 index 00000000..62930e9d --- /dev/null +++ b/archlive/airootfs/etc/skel/.config/gtk-2.0/gtkfilechooser.ini @@ -0,0 +1,11 @@ +[Filechooser Settings] +LocationMode=path-bar +ShowHidden=false +ShowSizeColumn=true +GeometryX=-1 +GeometryY=-1 +GeometryWidth=-1 +GeometryHeight=-1 +SortColumn=name +SortOrder=ascending +StartupMode=recent diff --git a/archlive/airootfs/etc/skel/.config/gtk-3.0/settings.ini b/archlive/airootfs/etc/skel/.config/gtk-3.0/settings.ini index 55e57f9b..3a73097e 100644 --- a/archlive/airootfs/etc/skel/.config/gtk-3.0/settings.ini +++ b/archlive/airootfs/etc/skel/.config/gtk-3.0/settings.ini @@ -1,15 +1,5 @@ [Settings] -gtk-theme-name=Numix -gtk-icon-theme-name=Adwaita +gtk-theme-name=Arc +gtk-icon-theme-name=Numic Circle gtk-font-name=Noto Sans 10 -gtk-cursor-theme-size=0 -gtk-toolbar-style=GTK_TOOLBAR_BOTH -gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR -gtk-button-images=1 -gtk-menu-images=1 -gtk-enable-event-sounds=1 -gtk-enable-input-feedback-sounds=1 -gtk-xft-antialias=1 -gtk-xft-hinting=1 -gtk-xft-hintstyle=hintfull -gtk-xft-rgba=none + diff --git a/archlive/airootfs/etc/skel/.config/midori/config b/archlive/airootfs/etc/skel/.config/midori/config new file mode 100644 index 00000000..30a10bcf --- /dev/null +++ b/archlive/airootfs/etc/skel/.config/midori/config @@ -0,0 +1,21 @@ +[settings] +default-encoding=ISO-8859-1 +default-font-family=Noto Sans +monospace-font-family=Noto Mono +enable-developer-extras=true +enable-site-specific-quirks=true +enable-javascript=true +default-charset=ISO-8859-1 +last-panel-position=249 +last-panel-page=3 +last-window-state=MIDORI_WINDOW_MAXIMIZED +location-entry-search=https://duckduckgo.com/?q=%s +toolbar-items=TabNew,Back,NextForward,ReloadStop,BookmarkAdd,Location,Search,Trash,CompactMenu +homepage=https://www.google.com/ +tabhome=about:dial +download-folder=/home/wktech +load-on-startup=MIDORI_STARTUP_HOMEPAGE +user-agent=Mozilla/5.0 (X11; Linux) AppleWebKit/538.15 (KHTML, like Gecko) Chrome/18.0.1025.133 Safari/538.15 Midori/0.5 + +[extensions] +libadblock.so=true diff --git a/archlive/airootfs/etc/skel/.config/mimeapps.list b/archlive/airootfs/etc/skel/.config/mimeapps.list new file mode 100644 index 00000000..e8beceeb --- /dev/null +++ b/archlive/airootfs/etc/skel/.config/mimeapps.list @@ -0,0 +1,25 @@ +[Added Associations] +application/pdf=mupdf.desktop; +application/vnd.adobe.flash.movie=mpv.desktop; +application/vnd.ms-asf=mpv.desktop; +audio/flac=mpv.desktop; +audio/mp4=mpv.desktop; +audio/mpeg=mpv.desktop; +audio/x-vorbis+ogg=mpv.desktop; +image/bmp=ristretto.desktop; +image/gif=ristretto.desktop; +image/jpeg=ristretto.desktop; +image/png=ristretto.desktop; +image/vnd.microsoft.icon=ristretto.desktop; +inode/directory=exo-file-manager.desktop +text/plain=mousepad.desktop; +video/mp4=mpv.desktop; +video/mpeg=mpv.desktop; +video/quicktime=mpv.desktop; +video/x-flv=mpv.desktop; +video/x-matroska=mpv.desktop; +video/x-msvideo=mpv.desktop; +video/x-ms-wmv=mpv.desktop; +x-scheme-handler/http=exo-web-browser.desktop +x-scheme-handler/https=exo-web-browser.desktop +x-scheme-handler/trash=exo-file-manager.desktop diff --git a/archlive/airootfs/etc/skel/.config/xfce4/desktop/icons.screen0-1008x672.rc b/archlive/airootfs/etc/skel/.config/xfce4/desktop/icons.screen0-1008x672.rc deleted file mode 100644 index dd31bbe4..00000000 --- a/archlive/airootfs/etc/skel/.config/xfce4/desktop/icons.screen0-1008x672.rc +++ /dev/null @@ -1,11 +0,0 @@ -[xfdesktop-version-4.10.3+-rcfile_format] -4.10.3+=true - -[/] -row=0 -col=0 - -[/home/wktech] -row=1 -col=0 - diff --git a/archlive/airootfs/etc/skel/.config/xfce4/desktop/icons.screen0-1008x711.rc b/archlive/airootfs/etc/skel/.config/xfce4/desktop/icons.screen0-1008x711.rc deleted file mode 100644 index f8a12092..00000000 --- a/archlive/airootfs/etc/skel/.config/xfce4/desktop/icons.screen0-1008x711.rc +++ /dev/null @@ -1,19 +0,0 @@ -[xfdesktop-version-4.10.3+-rcfile_format] -4.10.3+=true - -[/home/wktech/Desktop/SpeedTest.desktop] -row=2 -col=0 - -[/home/wktech/Desktop/HW Diagnostics.desktop] -row=3 -col=0 - -[/] -row=0 -col=0 - -[/home/wktech] -row=1 -col=0 - diff --git a/archlive/airootfs/etc/skel/.config/xfce4/desktop/icons.screen0-1008x752.rc b/archlive/airootfs/etc/skel/.config/xfce4/desktop/icons.screen0-1008x752.rc deleted file mode 100644 index dd31bbe4..00000000 --- a/archlive/airootfs/etc/skel/.config/xfce4/desktop/icons.screen0-1008x752.rc +++ /dev/null @@ -1,11 +0,0 @@ -[xfdesktop-version-4.10.3+-rcfile_format] -4.10.3+=true - -[/] -row=0 -col=0 - -[/home/wktech] -row=1 -col=0 - diff --git a/archlive/airootfs/etc/skel/.config/xfce4/helpers.rc b/archlive/airootfs/etc/skel/.config/xfce4/helpers.rc index 889c575f..61bd79cd 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/helpers.rc +++ b/archlive/airootfs/etc/skel/.config/xfce4/helpers.rc @@ -1,3 +1,4 @@ WebBrowser=midori +FileManager=Thunar TerminalEmulator=urxvt diff --git a/archlive/airootfs/etc/skel/.config/xfce4/panel/cpugraph-9.rc b/archlive/airootfs/etc/skel/.config/xfce4/panel/cpugraph-9.rc deleted file mode 100644 index 220e1d4b..00000000 --- a/archlive/airootfs/etc/skel/.config/xfce4/panel/cpugraph-9.rc +++ /dev/null @@ -1,17 +0,0 @@ -UpdateInterval=0 -TimeScale=0 -Size=32 -Mode=0 -Frame=1 -Border=1 -Bars=0 -TrackedCore=0 -Command=xfce4-taskmanager -InTerminal=0 -StartupNotification=1 -ColorMode=0 -Foreground1=#2b2b6363b1b1 -Foreground2=#ffff00000000 -Foreground3=#00000000ffff -Background=#2b2b2e2e3737 - diff --git a/archlive/airootfs/etc/skel/.config/xfce4/panel/whiskermenu-18.rc b/archlive/airootfs/etc/skel/.config/xfce4/panel/whiskermenu-1.rc similarity index 68% rename from archlive/airootfs/etc/skel/.config/xfce4/panel/whiskermenu-18.rc rename to archlive/airootfs/etc/skel/.config/xfce4/panel/whiskermenu-1.rc index 00f15a7d..93ffb654 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/panel/whiskermenu-18.rc +++ b/archlive/airootfs/etc/skel/.config/xfce4/panel/whiskermenu-1.rc @@ -1,12 +1,12 @@ -favorites=exo-file-manager.desktop,hwdiags.desktop,gparted.desktop,gsmartcontrol.desktop,truecrypt.desktop,speedtest.desktop,exo-web-browser.desktop -recent=exo-web-browser.desktop +favorites=Hardware Diagnostics.desktop,exo-file-manager.desktop,gparted.desktop,gsmartcontrol.desktop,SpeedTest.desktop,truecrypt.desktop,exo-web-browser.desktop +recent=xfce4-settings-editor.desktop,xfce-session-settings.desktop,xfce4-power-manager-settings.desktop,gsmartcontrol.desktop,gparted.desktop button-title=Applications -button-icon=desktop-environment-xfce +button-icon=distributor-logo-archlinux button-single-row=false show-button-title=false show-button-icon=true launcher-show-name=true -launcher-show-description=true +launcher-show-description=false item-icon-size=3 hover-switch-category=false category-icon-size=1 @@ -14,11 +14,11 @@ load-hierarchy=false recent-items-max=10 favorites-in-recent=true display-recent-default=false -position-search-alternate=false -position-commands-alternate=false +position-search-alternate=true +position-commands-alternate=true position-categories-alternate=false -menu-width=399 -menu-height=508 +menu-width=400 +menu-height=500 menu-opacity=100 command-settings=xfce4-settings-manager show-command-settings=true @@ -29,7 +29,7 @@ show-command-switchuser=false command-logout=xfce4-session-logout show-command-logout=true command-menueditor=menulibre -show-command-menueditor=true +show-command-menueditor=false command-profile=mugshot show-command-profile=false search-actions=4 diff --git a/archlive/airootfs/etc/skel/.config/xfce4/terminal/terminalrc b/archlive/airootfs/etc/skel/.config/xfce4/terminal/terminalrc index 15984ea3..41bfc4df 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/terminal/terminalrc +++ b/archlive/airootfs/etc/skel/.config/xfce4/terminal/terminalrc @@ -16,11 +16,4 @@ MiscTabCloseButtons=TRUE MiscTabCloseMiddleClick=TRUE MiscTabPosition=GTK_POS_TOP MiscHighlightUrls=TRUE -ColorForeground=#839496 -ColorBackground=#002b36 -ColorCursor=#93a1a1 -ColorPalette=#073642;#dc322f;#859900;#b58900;#268bd2;#d33682;#2aa198;#eee8d5;#002b36;#cb4b16;#586e75;#657b83;#839496;#6c71c4;#93a1a1;#fdf6e3 -ColorBold=#93a1a1 -ColorBoldUseDefault=FALSE -TabActivityColor=#dc322f diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfce4-taskmanager.rc b/archlive/airootfs/etc/skel/.config/xfce4/xfce4-taskmanager.rc index dfbd1328..bc341e3b 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfce4-taskmanager.rc +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfce4-taskmanager.rc @@ -19,7 +19,7 @@ ColumnCPU=TRUE ColumnPriority=FALSE SortColumn=0 SortType=0 -WindowWidth=838 -WindowHeight=591 +WindowWidth=490 +WindowHeight=465 HandlePosition=100 ProcessTreeView=FALSE diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml new file mode 100644 index 00000000..781e4e71 --- /dev/null +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml index 020078d0..567ac037 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -1,10 +1,12 @@ - + - + + + + - diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml index 0337f6f7..f1b3664f 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -8,6 +8,7 @@ + @@ -27,18 +28,13 @@ - - - - - - - - + + + diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml index f52b0e10..cf01628b 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -29,26 +29,20 @@ + + + + + + + + + - - - - - - - - - - - - - - - @@ -164,7 +158,7 @@ - + diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-mime-settings.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-mime-settings.xml deleted file mode 100644 index 33cccb13..00000000 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-mime-settings.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-mixer.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-mixer.xml new file mode 100644 index 00000000..49d6bca6 --- /dev/null +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-mixer.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml new file mode 100644 index 00000000..5cf67af8 --- /dev/null +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml index bd7b830d..14332612 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -5,49 +5,61 @@ - - + + + + + - - - - - + + + + + - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - + + - + + + + + + + + + + + + + + + + + + diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml index ff8fb309..94ae4a47 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml @@ -2,9 +2,9 @@ + - - + diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml index 0e99df2f..bfaccb81 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -3,8 +3,9 @@ - + + @@ -23,24 +24,13 @@ - - - - - - - - - - - - + + + + - - - diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml index a9444be1..cd059aab 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -2,7 +2,7 @@ - + diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml index edfe5c35..aebf9edd 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -11,7 +11,7 @@ - + @@ -29,7 +29,7 @@ - + @@ -72,16 +72,16 @@ + + + + + - - - - - diff --git a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml index c00d8438..2284a963 100644 --- a/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml +++ b/archlive/airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -3,7 +3,7 @@ - + @@ -31,7 +31,7 @@ - + diff --git a/archlive/airootfs/etc/skel/.conky_start b/archlive/airootfs/etc/skel/.conky_start index 811f7722..8ebe5067 100644 --- a/archlive/airootfs/etc/skel/.conky_start +++ b/archlive/airootfs/etc/skel/.conky_start @@ -1,3 +1,3 @@ #!/bin/bash -sleep 3s && conky +sleep 5s && conky diff --git a/archlive/airootfs/etc/skel/.gstreamer-0.10/registry.x86_64.bin b/archlive/airootfs/etc/skel/.gstreamer-0.10/registry.x86_64.bin new file mode 100644 index 00000000..e7f302f4 Binary files /dev/null and b/archlive/airootfs/etc/skel/.gstreamer-0.10/registry.x86_64.bin differ diff --git a/archlive/airootfs/etc/skel/.local/share/notes/Notes/Notes b/archlive/airootfs/etc/skel/.local/share/notes/Notes/Notes new file mode 100644 index 00000000..e69de29b diff --git a/archlive/airootfs/etc/skel/.local/share/recently-used.xbel b/archlive/airootfs/etc/skel/.local/share/recently-used.xbel new file mode 100644 index 00000000..bedfa5f0 --- /dev/null +++ b/archlive/airootfs/etc/skel/.local/share/recently-used.xbel @@ -0,0 +1,16 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/archlive/airootfs/etc/skel/.tmux.conf b/archlive/airootfs/etc/skel/.tmux.conf index cdf5a3f2..29cf429c 100644 --- a/archlive/airootfs/etc/skel/.tmux.conf +++ b/archlive/airootfs/etc/skel/.tmux.conf @@ -1 +1,2 @@ set -g status off +set -g pane-active-border-fg white diff --git a/archlive/airootfs/etc/skel/.wifi b/archlive/airootfs/etc/skel/.wifi deleted file mode 100644 index 859c57b5..00000000 --- a/archlive/airootfs/etc/skel/.wifi +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -sleep 1s -nmcli dev wifi con "SomeWiFi" password "Abracadabra" - diff --git a/archlive/airootfs/etc/skel/.zsh_aliases b/archlive/airootfs/etc/skel/.zsh_aliases index 417a3e84..b6c91916 100644 --- a/archlive/airootfs/etc/skel/.zsh_aliases +++ b/archlive/airootfs/etc/skel/.zsh_aliases @@ -5,6 +5,7 @@ alias 7z3='7z a -t7z -mx=3' alias 7z5='7z a -t7z -mx=5' alias 7z7='7z a -t7z -mx=7' alias 7z9='7z a -t7z -mx=9' +alias diff='colordiff' -ur alias du='du -sch --apparent-size' alias fidentify="/usr/bin/fidentify-wip$(getconf LONG_BIT)" alias fix-perms='find -type d -exec chmod 755 "{}" \; && find -type f -exec chmod 644 "{}" \;' diff --git a/archlive/airootfs/usr/local/bin/hw-diags-badblocks b/archlive/airootfs/usr/local/bin/hw-diags-badblocks index 8b5d75dc..817996d3 100644 --- a/archlive/airootfs/usr/local/bin/hw-diags-badblocks +++ b/archlive/airootfs/usr/local/bin/hw-diags-badblocks @@ -4,7 +4,7 @@ function usage { echo "Usage: $0 log-dir device" - echo " e.g. $0 /var/tmp/hw-diags/9001 /dev/sda" + echo " e.g. $0 /tmp/tmp.7Mh5f1RhSL9001 /dev/sda" } # Bail early diff --git a/archlive/airootfs/usr/local/bin/hw-diags-inner b/archlive/airootfs/usr/local/bin/hw-diags-inner index 28b4d600..1bc5bde3 100644 --- a/archlive/airootfs/usr/local/bin/hw-diags-inner +++ b/archlive/airootfs/usr/local/bin/hw-diags-inner @@ -2,10 +2,6 @@ # ## WK HW Diagnostics - Main script -# Setup tmux -# tmux set remain-on-exit on -tmux set status off - # Get TICKET# TICKET="" while [[ "$TICKET" == "" ]]; do @@ -26,7 +22,7 @@ DIAG_SERVER_AVAIL="False" DIAG_SERVER="10.0.0.10" DIAG_DEST="/srv/Diagnostics/${TICKET}/${DIAG_DATE}" DIAG_USER="wkdiag" -TMP_DIR="/var/tmp/hw-diags/${TICKET}/${DIAG_DATE}" +TMP_DIR="$(mktemp -d)" ERRORS="False" ERROR_IMG="$TMP_DIR/error.jpg" PASSED_IMG="$TMP_DIR/passed.jpg" @@ -46,6 +42,29 @@ for d in "${ARCH_DRIVES[@]}"; do DRIVES=(${DRIVES[@]//*$d*}) done +# Connect to network +if ! ip a | grep -q '192.168.1'; then + # LAN + if ! ip l | grep -Eq '[0-9]+: +en'; then + ## Reload the tg3/broadcom driver (known fix for some Dell systems) + echo "No wired network adapters found; reloading drivers..." + sudo modprobe -r tg3 + sudo modprobe broadcom + sudo modprobe tg3 + sleep 5s + fi + + # WiFi + if ip l | grep -Eq '[0-9]+: +wl'; then + ## Skip if we're already connected (e.g. the code above worked) + if ! ip a | grep -q '192.168.1'; then + echo "Attempting to connect to SomeWiFi..." + nmcli dev wifi con "SomeWiFi" password "Abracadabra" + sleep 5s + fi + fi +fi + # Test connection to DIAG_SERVER if ip a | grep -q '192.168.1' && \ ping -c 1 -q $DIAG_SERVER >/dev/null 2>&1; then @@ -408,7 +427,7 @@ if [[ "$TEST_BADBLOCKS" == "True" ]]; then echo "Testing drive: ${tmp_device}" # Split and run - tmux split-window -d -v -l 7 "hw-diags-badblocks $TMP_DIR /dev/${tmp_device}" + tmux split-window -v -l 7 "hw-diags-badblocks $TMP_DIR /dev/${tmp_device}" # Wait until done sleep 2s @@ -472,10 +491,15 @@ sudo inxi -CDdGlMmNopRsc 0 | grep -Ev '(/dev/ram|No RAID devices|Display Server| # Cleanup mkdir "$HOME/Tickets/$TICKET" -p 2>/dev/null -rsync -aS "$TMP_DIR" "$HOME/Tickets/" +rsync -aS "$TMP_DIR/" "$HOME/Tickets/$TICKET/" popd >/dev/null cd "$HOME/Tickets" && tar czf "${TICKET}.tgz" "$TICKET" +# Update Server +if [[ "$DIAG_SERVER_AVAIL" == "True" ]]; then + rsync -aqz "$TMP_DIR/" "${TICKET}.tgz" $DIAG_USER@$DIAG_SERVER:"$DIAG_DEST/" --exclude '*.out' +fi + # End echo -n "Press Enter to exit..." read -r diff --git a/archlive/airootfs/usr/local/bin/hw-diags-prime95 b/archlive/airootfs/usr/local/bin/hw-diags-prime95 index 191639e5..6e29b670 100644 --- a/archlive/airootfs/usr/local/bin/hw-diags-prime95 +++ b/archlive/airootfs/usr/local/bin/hw-diags-prime95 @@ -7,7 +7,7 @@ MPRIME="/usr/bin/mprime$(getconf LONG_BIT)" function usage { echo "Usage: $0 log-dir" - echo " e.g. $0 /var/tmp/hw-diags/9001" + echo " e.g. $0 /tmp/tmp.7Mh5f1RhSL9001" } # Bail early diff --git a/archlive/airootfs/usr/local/bin/hw-diags-sensors b/archlive/airootfs/usr/local/bin/hw-diags-sensors index 66cddcc0..32fa7dc4 100644 --- a/archlive/airootfs/usr/local/bin/hw-diags-sensors +++ b/archlive/airootfs/usr/local/bin/hw-diags-sensors @@ -6,7 +6,7 @@ LOG_DIR="$1" function usage { echo "Usage: $0 log-dir" - echo " e.g. $0 /var/tmp/hw-diags/9001" + echo " e.g. $0 /tmp/tmp.7Mh5f1RhSL9001" } # Bail early diff --git a/archlive/airootfs/usr/local/bin/mount-all-volumes b/archlive/airootfs/usr/local/bin/mount-all-volumes index fe50a427..edf3094a 100644 --- a/archlive/airootfs/usr/local/bin/mount-all-volumes +++ b/archlive/airootfs/usr/local/bin/mount-all-volumes @@ -12,3 +12,9 @@ for v in $(inxi -Do | grep -E "$regex" | sed -r "s#.*($regex).*#\1#"); do echo "Failed to mount." fi done + +if [[ "$1" == "foh" && -n $DISPLAY ]]; then + sleep 1s + exo-open --launch FileManager "$HOME" +fi +echo "Done." diff --git a/archlive/airootfs/usr/local/bin/mount-backup-shares b/archlive/airootfs/usr/local/bin/mount-backup-shares index be313995..36e44645 100644 --- a/archlive/airootfs/usr/local/bin/mount-backup-shares +++ b/archlive/airootfs/usr/local/bin/mount-backup-shares @@ -3,8 +3,8 @@ ## Mount NAS backup shares echo "Mounting NAS backup shares" -sudo mkdir /Backups/ServerOne +sudo mkdir /Backups/ServerOne -p sudo mount //10.0.0.10/Backups /Backups/ServerOne -o username=backup,password=Abracadabra -sudo mkdir /Backups/ServerTwo +sudo mkdir /Backups/ServerTwo -p sudo mount //10.0.0.11/Backups /Backups/ServerTwo -o username=backup,password=Abracadabra diff --git a/archlive/airootfs/usr/local/bin/msword-search b/archlive/airootfs/usr/local/bin/msword-search index bc7d4aa5..5917d660 100644 --- a/archlive/airootfs/usr/local/bin/msword-search +++ b/archlive/airootfs/usr/local/bin/msword-search @@ -1,5 +1,7 @@ #!/bin/bash +TMP_FILE="$(mktemp)" + IFS=$'\n' for s in $*; do REGEX="$s" @@ -9,7 +11,7 @@ for s in $*; do for d in *doc; do if antiword "$d" | grep -iqsP "($REGEX)"; then echo "Possible match: $d" - echo "$d" >> msword.tmp + echo "$d" >> "$TMP_FILE" fi done @@ -17,14 +19,20 @@ for s in $*; do for d in *docx; do if unzip -p "$d" word/document.xml | grep -iqsP "($REGEX)"; then echo "Possible match: $d" - echo "$d" >> msword.tmp + echo "$d" >> "$TMP_FILE" fi done done # Cleanup results -if [[ -f msword.tmp ]]; then - sort -u msword.tmp >> msword-matches.txt +if [[ -s "$TMP_FILE" ]]; then + sort -u "$TMP_FILE" >> "$HOME/msword-matches.txt" fi +rm "$TMP_FILE" +# Done +if [[ -s "$HOME/msword-matches.txt" ]]; then + echo "Found $(wc -l "$HOME/msword-matches.txt") possible matches" + echo "The results have been saved to $HOME" +fi \ No newline at end of file diff --git a/archlive/packages.both b/archlive/packages.both index 5db6acf4..b87730d9 100644 --- a/archlive/packages.both +++ b/archlive/packages.both @@ -5,6 +5,8 @@ b43-fwcutter btrfs-progs chntpw clonezilla +cmatrix +colordiff conky crda curl @@ -33,6 +35,7 @@ grub gsmartcontrol gtk-engine-murrine hdparm +hexedit hfsprogs htop inxi @@ -49,7 +52,8 @@ mc mdadm mediainfo mesa -midori +mesa-demos +midori-gtk2 mkvtoolnix-cli mpv mtools @@ -93,6 +97,7 @@ truecrypt ttf-inconsolata udevil udisks2 +unzip usb_modeswitch vim vpnc diff --git a/build-wk b/build-wk new file mode 100644 index 00000000..2ffa0d3b --- /dev/null +++ b/build-wk @@ -0,0 +1,13 @@ +#!/bin/bash + +# Set Vars +TMP_DIR="$(pwd)/wk_tmp" +OUT_DIR="$TMP_DIR/out" + +# Build ISO +mkdir $TMP_DIR +mkdir $OUT_DIR +./archlive/build.sh -N "arch-wk" -V "$(date +%F)" -L "ARCH_WK" -w "$TMP_DIR" -o "$OUT_DIR" -v + +# Cleanup +mv -nv "$OUT_DIR"/*iso "$HOME/" && rm "$TMP_DIR" -Rf