First commit

This commit is contained in:
Fierelier 2022-05-10 12:50:10 +02:00
parent fa0762a07f
commit 8447c47aba
38 changed files with 1207 additions and 1 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) <year> <copyright holders>
Copyright (c) 2022
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

9
input/stage01/setup Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
echo $(head -c4 </dev/urandom|xxd -p -u) >"/etc/hostname"
apt -y update
apt -y upgrade
apt -y install keyboard-configuration
apt -y install "$OPUS_LINUX" grub2 sudo network-manager python3
apt -y install --download-only console-setup locales tzdata
apt -y autoclean
rm /setup

View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
echo
echo Welcome. Use \"startx\" to start the graphical desktop environment.

4
input/stage02/setup Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
apt -y install xorg xfce4 xfce4-*-plugin xfce4-power-manager mousepad
apt -y autoclean
rm /setup

123
input/stage98/bin/login Executable file
View File

@ -0,0 +1,123 @@
#!/usr/bin/env python3
# This script is ran when booting into the OS, and the setup isn't finished
import os
import traceback
import subprocess
debug = False
os.environ["PATH"] = "/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
def procWait(proc):
rtn = proc.wait()
if debug: print(rtn)
if rtn != 0: raise processError
def call(*args,**kwargs):
if debug: print(str(args[0]))
proc = subprocess.Popen(*args,**kwargs)
procWait(proc)
def callo(*args,**kwargs):
data = b""
proc = subprocess.Popen(*args,**kwargs,stdout=subprocess.PIPE)
while True:
b = proc.stdout.read()
if b == b"": break
data += b
procWait(proc)
return data.decode("utf-8")
def mchoice(choices):
while True:
choice = input("Choice: ").lower()
if not choice in choices: continue
return choice
def main():
while True:
print("Welcome to opus-dvn.")
print("1: Finish installation")
print("2: Clone to other device")
print("3: Open bash")
print("4: Shut down")
choice = mchoice(["1","2","3","4"])
if choice == "1":
if os.path.isfile("/isRawImage"):
print("Resizing / to fill disk...")
dev = callo(["findmnt","-n","-o","SOURCE","/"]).strip("\t\r\n")
disk = dev[:-1]
part = dev[-1]
call(["growpart",disk,part])
call(["resize2fs",dev])
os.remove("/isRawImage")
call(["dpkg-reconfigure","keyboard-configuration"])
call(["apt","install","console-setup","locales","tzdata","--yes"])
call(["dpkg-reconfigure","locales"])
call(["dpkg-reconfigure","tzdata"])
print("")
hostname = input("Hostname: ")
with open("/etc/hosts","w",encoding="utf-8") as fh:
fh.write("""\
127.0.0.1 localhost
127.0.1.1 $HOSTNAME
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters\
""".replace("$HOSTNAME",hostname)
)
with open("/etc/hostname","w",encoding="utf-8") as fh:
fh.write(hostname)
os.environ["HOSTNAME"] = hostname
print("")
print("Configure your network now, using nmtui? (y/n)")
if mchoice(["y","n"]) == "y": call(["nmtui"])
print("")
call(["groupadd","-f","sudo"])
username = False
while True:
username = input("First user (Administrator): ").lower().strip(" ")
if username == "root": continue
try:
call(["id","-u",username])
except:
try:
call(["adduser",username])
except:
try:
call(["deluser","--remove-home",username])
except:
continue
try:
call(["usermod","-a","-G","sudo",username])
except:
print("Warning: Couldn't add user to sudo group!")
break
print("")
print("Booting into new environment ...")
os.remove("/bin/login")
os.rename("/bin/login.bak","/bin/login")
return
if choice == "2":
print("Not implemented.")
continue
if choice == "3":
call(["bash"])
return
if choice == "4":
call(["poweroff"])
return
try:
main()
except:
print(traceback.format_exc())
input("Press RETURN to quit.")

View File

@ -0,0 +1,100 @@
; mousepad GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Actions>/win.document.tab.tab-size" "")
; (gtk_accel_path "<Actions>/win.edit.convert.spaces-to-tabs" "")
; (gtk_accel_path "<Actions>/win.edit.move-selection.line-up" "<Alt>Page_Up")
; (gtk_accel_path "<Actions>/app.preferences.view.highlight-current-line" "")
; (gtk_accel_path "<Actions>/win.preferences.window.statusbar-visible" "")
; (gtk_accel_path "<Actions>/win.search.find-and-replace" "<Primary>r")
; (gtk_accel_path "<Actions>/win.textview.menubar" "")
; (gtk_accel_path "<Actions>/win.edit.preferences" "")
; (gtk_accel_path "<Actions>/win.edit.convert.to-lowercase" "")
; (gtk_accel_path "<Actions>/win.edit.convert.transpose" "<Primary>t")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(4)" "<Alt>5")
; (gtk_accel_path "<Actions>/win.edit.undo" "<Primary>z")
; (gtk_accel_path "<Actions>/win.file.save-as" "<Primary><Shift>s")
; (gtk_accel_path "<Actions>/win.edit.convert.tabs-to-spaces" "")
; (gtk_accel_path "<Actions>/win.file.save-all" "")
; (gtk_accel_path "<Actions>/app.preferences.view.show-whitespace.inside" "")
; (gtk_accel_path "<Actions>/win.edit.duplicate-line-selection" "")
; (gtk_accel_path "<Actions>/win.preferences.window.toolbar-visible" "")
; (gtk_accel_path "<Actions>/win.view.fullscreen" "F11")
; (gtk_accel_path "<Actions>/win.document.previous-tab" "<Primary>Page_Up")
; (gtk_accel_path "<Actions>/app.preferences.window.path-in-title" "")
; (gtk_accel_path "<Actions>/win.file.new-window" "<Primary><Shift>n")
; (gtk_accel_path "<Actions>/win.view.select-font" "")
; (gtk_accel_path "<Actions>/app.preferences.view.show-whitespace" "")
; (gtk_accel_path "<Actions>/win.help.about" "")
; (gtk_accel_path "<Actions>/app.preferences.view.use-default-monospace-font" "")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(5)" "<Alt>6")
; (gtk_accel_path "<Actions>/win.file.new" "<Primary>n")
; (gtk_accel_path "<Actions>/win.file.save" "<Primary>s")
; (gtk_accel_path "<Actions>/app.preferences.window.statusbar-visible" "")
; (gtk_accel_path "<Actions>/win.search.find-previous" "<Primary><Shift>g")
; (gtk_accel_path "<Actions>/app.preferences.window.remember-state" "")
; (gtk_accel_path "<Actions>/win.preferences.window.menubar-visible" "<Primary>m")
; (gtk_accel_path "<Actions>/app.preferences.window.remember-size" "")
; (gtk_accel_path "<Actions>/win.file.detach-tab" "<Primary>d")
; (gtk_accel_path "<Actions>/app.state.search.highlight-all" "")
; (gtk_accel_path "<Actions>/win.edit.paste" "<Primary>v")
; (gtk_accel_path "<Actions>/app.preferences.view.show-whitespace.leading" "")
; (gtk_accel_path "<Actions>/win.edit.copy" "<Primary>c")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(6)" "<Alt>7")
; (gtk_accel_path "<Actions>/win.edit.move-selection.line-down" "<Alt>Page_Down")
; (gtk_accel_path "<Actions>/win.file.open-recent.new" "")
; (gtk_accel_path "<Actions>/win.file.close-window" "<Primary><Shift>w")
; (gtk_accel_path "<Actions>/win.file.new-from-template.new" "")
; (gtk_accel_path "<Actions>/win.edit.convert.strip-trailing-spaces" "")
; (gtk_accel_path "<Actions>/win.edit.paste-special.paste-from-history" "")
; (gtk_accel_path "<Actions>/win.edit.convert.to-title-case" "")
; (gtk_accel_path "<Actions>/app.preferences.window.always-show-tabs" "")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(0)" "<Alt>1")
; (gtk_accel_path "<Actions>/win.search.find" "<Primary>f")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(7)" "<Alt>8")
; (gtk_accel_path "<Actions>/app.quit" "<Primary>q")
; (gtk_accel_path "<Actions>/win.file.close-tab" "<Primary>w")
; (gtk_accel_path "<Actions>/win.edit.increase-indent" "<Primary>i")
; (gtk_accel_path "<Actions>/app.preferences.view.show-line-endings" "")
; (gtk_accel_path "<Actions>/win.edit.delete-selection" "Delete")
; (gtk_accel_path "<Actions>/win.document.filetype" "")
; (gtk_accel_path "<Actions>/win.edit.delete-line" "<Primary><Shift>Delete")
; (gtk_accel_path "<Actions>/win.document.viewer-mode" "")
; (gtk_accel_path "<Actions>/app.preferences.view.show-whitespace.trailing" "")
; (gtk_accel_path "<Actions>/win.file.reload" "")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(8)" "<Alt>9")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(1)" "<Alt>2")
; (gtk_accel_path "<Actions>/win.document.line-ending" "")
; (gtk_accel_path "<Actions>/win.search.go-to" "<Primary>l")
; (gtk_accel_path "<Actions>/win.file.new-from-template" "")
; (gtk_accel_path "<Actions>/app.preferences.view.color-scheme" "")
; (gtk_accel_path "<Actions>/win.file.open-recent" "")
; (gtk_accel_path "<Actions>/win.edit.paste-special.paste-as-column" "")
; (gtk_accel_path "<Actions>/app.preferences.window.remember-position" "")
; (gtk_accel_path "<Actions>/app.preferences.view.show-right-margin" "")
; (gtk_accel_path "<Actions>/win.edit.cut" "<Primary>x")
; (gtk_accel_path "<Actions>/win.search.find-next" "<Primary>g")
; (gtk_accel_path "<Actions>/app.preferences.view.insert-spaces" "")
; (gtk_accel_path "<Actions>/app.preferences.view.word-wrap" "")
; (gtk_accel_path "<Actions>/win.edit.decrease-indent" "<Primary>u")
; (gtk_accel_path "<Actions>/win.increase-font-size" "<Primary>plus")
; (gtk_accel_path "<Actions>/app.preferences.view.match-braces" "")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(2)" "<Alt>3")
; (gtk_accel_path "<Actions>/app.preferences.view.show-line-numbers" "")
; (gtk_accel_path "<Actions>/app.preferences.view.auto-indent" "")
; (gtk_accel_path "<Actions>/win.file.open" "<Primary>o")
; (gtk_accel_path "<Actions>/win.decrease-font-size" "<Primary>minus")
; (gtk_accel_path "<Actions>/win.file.print" "<Primary>p")
; (gtk_accel_path "<Actions>/win.document.next-tab" "<Primary>Page_Down")
; (gtk_accel_path "<Actions>/win.edit.select-all" "<Primary>a")
; (gtk_accel_path "<Actions>/win.edit.convert.to-uppercase" "")
; (gtk_accel_path "<Actions>/win.document.go-to-tab" "")
; (gtk_accel_path "<Actions>/win.file.open-recent.clear-history" "")
; (gtk_accel_path "<Actions>/win.edit.convert.to-opposite-case" "<Primary><Alt>u")
; (gtk_accel_path "<Actions>/win.document" "")
; (gtk_accel_path "<Actions>/app.preferences.window.cycle-tabs" "")
; (gtk_accel_path "<Actions>/win.help.contents" "F1")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(3)" "<Alt>4")
; (gtk_accel_path "<Actions>/win.edit.redo" "<Primary>y")
; (gtk_accel_path "<Actions>/win.document.write-unicode-bom" "")
; (gtk_accel_path "<Actions>/app.preferences.window.toolbar-visible" "")

View File

@ -0,0 +1,92 @@
; Thunar GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Actions>/ThunarLauncher/delete-3" "<Shift>KP_Delete")
; (gtk_accel_path "<Actions>/ThunarLauncher/delete" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/invert-selection" "")
; (gtk_accel_path "<Actions>/ThunarLauncher/open-in-new-tab" "<Primary><Shift>p")
; (gtk_accel_path "<Actions>/ThunarLauncher/delete-2" "<Shift>Delete")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>KP_Add")
; (gtk_accel_path "<Actions>/ThunarWindow/empty-trash" "")
; (gtk_accel_path "<Actions>/ThunarLauncher/open" "<Primary>o")
; (gtk_accel_path "<Actions>/ThunarWindow/reload" "<Primary>r")
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-menu" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-ascending" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-network" "")
; (gtk_accel_path "<Actions>/ThunarWindow/contents/help-menu" "")
; (gtk_accel_path "<Actions>/ThunarLauncher/move-to-trash" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/back-alt" "BackSpace")
; (gtk_accel_path "<Actions>/ThunarLauncher/paste" "<Primary>v")
; (gtk_accel_path "<Actions>/ThunarWindow/switch-next-tab" "<Primary>Page_Down")
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-menu" "F10")
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "<Primary>3")
; (gtk_accel_path "<Actions>/ThunarWindow/about" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-computer" "")
; (gtk_accel_path "<Actions>/ThunarWindow/clear-directory-specific-settings" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-system" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-parent" "<Alt>Up")
; (gtk_accel_path "<Actions>/ThunarWindow/view-menu" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/properties" "<Alt>Return")
; (gtk_accel_path "<Actions>/ThunarLauncher/open-in-new-window" "<Primary><Shift>o")
; (gtk_accel_path "<Actions>/ThunarStandardView/back" "<Alt>Left")
; (gtk_accel_path "<Actions>/ThunarLauncher/trash-delete" "Delete")
; (gtk_accel_path "<Actions>/ThunarWindow/sendto-menu" "")
; (gtk_accel_path "<Actions>/ThunarWindow/reload-alt" "F5")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out-alt" "<Primary>minus")
; (gtk_accel_path "<Actions>/ThunarStandardView/select-by-pattern" "<Primary>s")
; (gtk_accel_path "<Actions>/ThunarStandardView/configure-columns" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/create-document" "")
; (gtk_accel_path "<Actions>/ThunarWindow/close-tab" "<Primary>w")
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-tree" "<Primary>e")
; (gtk_accel_path "<Actions>/ThunarShortcutsPane/sendto-shortcuts" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/rename" "F2")
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-side-pane" "F9")
; (gtk_accel_path "<Actions>/ThunarWindow/open-home" "<Alt>Home")
; (gtk_accel_path "<Actions>/ThunarWindow/open-location-alt" "<Alt>d")
; (gtk_accel_path "<Actions>/ThunarWindow/open-templates" "")
; (gtk_accel_path "<Actions>/ThunarLauncher/execute" "")
; (gtk_accel_path "<Actions>/ThunarWindow/close-window" "<Primary>q")
; (gtk_accel_path "<Actions>/ThunarLauncher/cut" "<Primary>x")
; (gtk_accel_path "<Actions>/ThunarLauncher/sendto-desktop" "")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt2" "<Primary>equal")
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-toolbar" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/select-all-files" "<Primary>a")
; (gtk_accel_path "<Actions>/ThunarLauncher/open-with-other" "")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out" "<Primary>KP_Subtract")
; (gtk_accel_path "<Actions>/ThunarStandardView/duplicate" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-shortcuts" "<Primary>b")
; (gtk_accel_path "<Actions>/ThunarWindow/edit-menu" "")
; (gtk_accel_path "<Actions>/ThunarWindow/contents" "F1")
; (gtk_accel_path "<Actions>/ThunarWindow/preferences" "")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt1" "<Primary>plus")
; (gtk_accel_path "<Actions>/ThunarWindow/switch-previous-tab" "<Primary>Page_Up")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-menu" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-statusbar" "")
; (gtk_accel_path "<Actions>/ThunarWindow/close-all-windows" "<Primary><Shift>w")
; (gtk_accel_path "<Actions>/ThunarWindow/open-trash" "")
; (gtk_accel_path "<Actions>/ThunarLauncher/restore" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-desktop" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/arrange-items-menu" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/create-folder" "<Primary><Shift>n")
; (gtk_accel_path "<Actions>/ThunarWindow/open-location" "<Primary>l")
; (gtk_accel_path "<Actions>/ThunarWindow/view-menubar" "<Primary>m")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset-alt" "<Primary>0")
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-detailed-list" "<Primary>2")
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "<Primary>1")
; (gtk_accel_path "<Actions>/ThunarWindow/new-window" "<Primary>n")
; (gtk_accel_path "<Actions>/ThunarStandardView/forward" "<Alt>Right")
; (gtk_accel_path "<Actions>/ThunarLauncher/copy" "<Primary>c")
; (gtk_accel_path "<Actions>/ThunarWindow/file-menu" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/make-link" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-descending" "")
; (gtk_accel_path "<Actions>/ThunarWindow/new-tab" "<Primary>t")
; (gtk_accel_path "<Actions>/ThunarWindow/go-menu" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-size" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-pathbar" "")
; (gtk_accel_path "<Actions>/ThunarWindow/show-hidden" "<Primary>h")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-name" "")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset" "<Primary>KP_0")
; (gtk_accel_path "<Actions>/ThunarLauncher/trash-delete-2" "KP_Delete")
; (gtk_accel_path "<Actions>/ThunarWindow/detach-tab" "")

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<icon>utilities-terminal</icon>
<name>Open Terminal Here</name>
<unique-id>1651766956100690-1</unique-id>
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
<description>Example for a custom action</description>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
</actions>

Binary file not shown.

View File

@ -0,0 +1,15 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

View File

@ -0,0 +1 @@
/home/default/.config/xfce4/desktop/icons.screen0-1008x725.rc

View File

@ -0,0 +1,11 @@
[xfdesktop-version-4.10.3+-rcfile_format]
4.10.3+=true
[Trash]
row=0
col=0
[/home/default]
row=1
col=0

View File

@ -0,0 +1,15 @@
[xfdesktop-version-4.10.3+-rcfile_format]
4.10.3+=true
[Trash]
row=0
col=0
[/home/default]
row=1
col=0
[/]
row=2
col=0

View File

@ -0,0 +1,81 @@
favorites=xfce4-web-browser.desktop,xfce4-mail-reader.desktop,xfce4-file-manager.desktop,xfce4-terminal-emulator.desktop
recent=
button-title=<b>Start</b>
button-icon=xfce4-whiskermenu
button-single-row=false
show-button-title=true
show-button-icon=true
launcher-show-name=true
launcher-show-description=true
launcher-show-tooltip=true
item-icon-size=1
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=0
favorites-in-recent=true
position-search-alternate=true
position-commands-alternate=false
position-categories-alternate=true
stay-on-focus-out=false
confirm-session-command=true
menu-width=399
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=Man Pages
pattern=#
command=exo-open --launch TerminalEmulator man %s
regex=false
[action1]
name=Web Search
pattern=?
command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u
regex=false
[action2]
name=Wikipedia
pattern=!w
command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u
regex=false
[action3]
name=Run in Terminal
pattern=!
command=exo-open --launch TerminalEmulator %s
regex=false
[action4]
name=Open URI
pattern=^(file|http|https):\\/\\/(.*)$
command=exo-open \\0
regex=true

View File

@ -0,0 +1,58 @@
; xfce4-terminal GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
(gtk_accel_path "<Actions>/terminal-window/goto-tab-2" "<Alt>2")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-6" "<Alt>6")
; (gtk_accel_path "<Actions>/terminal-window/copy-input" "")
; (gtk_accel_path "<Actions>/terminal-window/close-other-tabs" "")
; (gtk_accel_path "<Actions>/terminal-window/move-tab-right" "<Primary><Shift>Page_Down")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-7" "<Alt>7")
; (gtk_accel_path "<Actions>/terminal-window/set-title-color" "")
; (gtk_accel_path "<Actions>/terminal-window/edit-menu" "")
; (gtk_accel_path "<Actions>/terminal-window/zoom-menu" "")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-1" "<Alt>1")
; (gtk_accel_path "<Actions>/terminal-window/fullscreen" "F11")
; (gtk_accel_path "<Actions>/terminal-window/read-only" "")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-5" "<Alt>5")
; (gtk_accel_path "<Actions>/terminal-window/preferences" "")
; (gtk_accel_path "<Actions>/terminal-window/reset-and-clear" "")
; (gtk_accel_path "<Actions>/terminal-window/about" "")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-4" "<Alt>4")
; (gtk_accel_path "<Actions>/terminal-window/close-window" "<Primary><Shift>q")
; (gtk_accel_path "<Actions>/terminal-window/reset" "")
; (gtk_accel_path "<Actions>/terminal-window/save-contents" "")
(gtk_accel_path "<Actions>/terminal-window/toggle-menubar" "F10")
; (gtk_accel_path "<Actions>/terminal-window/copy" "<Primary><Shift>c")
; (gtk_accel_path "<Actions>/terminal-window/copy-html" "")
; (gtk_accel_path "<Actions>/terminal-window/last-active-tab" "")
; (gtk_accel_path "<Actions>/terminal-window/show-borders" "")
; (gtk_accel_path "<Actions>/terminal-window/view-menu" "")
; (gtk_accel_path "<Actions>/terminal-window/detach-tab" "<Primary><Shift>d")
; (gtk_accel_path "<Actions>/terminal-window/scroll-on-output" "")
; (gtk_accel_path "<Actions>/terminal-window/show-toolbar" "")
; (gtk_accel_path "<Actions>/terminal-window/next-tab" "<Primary>Page_Down")
; (gtk_accel_path "<Actions>/terminal-window/tabs-menu" "")
; (gtk_accel_path "<Actions>/terminal-window/search-next" "")
; (gtk_accel_path "<Actions>/terminal-window/search-prev" "")
; (gtk_accel_path "<Actions>/terminal-window/undo-close-tab" "")
; (gtk_accel_path "<Actions>/terminal-window/set-title" "<Primary><Shift>s")
; (gtk_accel_path "<Actions>/terminal-window/contents" "F1")
; (gtk_accel_path "<Actions>/terminal-window/zoom-reset" "<Primary>0")
; (gtk_accel_path "<Actions>/terminal-window/close-tab" "<Primary><Shift>w")
; (gtk_accel_path "<Actions>/terminal-window/new-tab" "<Primary><Shift>t")
; (gtk_accel_path "<Actions>/terminal-window/new-window" "<Primary><Shift>n")
; (gtk_accel_path "<Actions>/terminal-window/terminal-menu" "")
; (gtk_accel_path "<Actions>/terminal-window/show-menubar" "")
; (gtk_accel_path "<Actions>/terminal-window/select-all" "<Primary><Shift>a")
; (gtk_accel_path "<Actions>/terminal-window/paste" "<Primary><Shift>v")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-9" "<Alt>9")
; (gtk_accel_path "<Actions>/terminal-window/move-tab-left" "<Primary><Shift>Page_Up")
; (gtk_accel_path "<Actions>/terminal-window/search" "<Primary><Shift>f")
; (gtk_accel_path "<Actions>/terminal-window/file-menu" "")
; (gtk_accel_path "<Actions>/terminal-window/prev-tab" "<Primary>Page_Up")
; (gtk_accel_path "<Actions>/terminal-window/paste-selection" "")
; (gtk_accel_path "<Actions>/terminal-window/zoom-in" "<Primary>plus")
; (gtk_accel_path "<Actions>/terminal-window/zoom-out" "<Primary>minus")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-8" "<Alt>8")
; (gtk_accel_path "<Actions>/terminal-window/help-menu" "")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-3" "<Alt>3")

View File

@ -0,0 +1,30 @@
[Configuration]
FontUseSystem=TRUE
MiscAlwaysShowTabs=FALSE
MiscBell=FALSE
MiscBellUrgent=FALSE
MiscBordersDefault=TRUE
MiscCursorBlinks=FALSE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
MiscDefaultGeometry=80x24
MiscInheritGeometry=FALSE
MiscMenubarDefault=FALSE
MiscMouseAutohide=FALSE
MiscMouseWheelZoom=TRUE
MiscToolbarDefault=FALSE
MiscConfirmClose=TRUE
MiscCycleTabs=TRUE
MiscTabCloseButtons=TRUE
MiscTabCloseMiddleClick=TRUE
MiscTabPosition=GTK_POS_TOP
MiscHighlightUrls=TRUE
MiscMiddleClickOpensUri=FALSE
MiscCopyOnSelect=FALSE
MiscShowRelaunchDialog=TRUE
MiscRewrapOnResize=TRUE
MiscUseShiftArrowsToScroll=FALSE
MiscSlimTabs=FALSE
MiscNewTabAdjacent=FALSE
MiscSearchDialogOpacity=100
MiscShowUnsafePasteDialog=TRUE

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="displays" version="1.0">
<property name="ActiveProfile" type="string" value="Default"/>
<property name="Default" type="empty">
<property name="LVDS1" type="string" value="Laptop">
<property name="Active" type="bool" value="true"/>
<property name="EDID" type="string" value=""/>
<property name="Resolution" type="string" value="1024x768"/>
<property name="RefreshRate" type="double" value="50.006277"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="true"/>
<property name="Scale" type="empty">
<property name="X" type="double" value="1.000000"/>
<property name="Y" type="double" value="1.000000"/>
</property>
<property name="Position" type="empty">
<property name="X" type="int" value="0"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
</property>
<property name="Fallback" type="empty">
<property name="LVDS1" type="string" value="Laptop">
<property name="Active" type="bool" value="true"/>
<property name="EDID" type="string" value=""/>
<property name="Resolution" type="string" value="1024x768"/>
<property name="RefreshRate" type="double" value="50.006277"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="true"/>
<property name="Scale" type="empty">
<property name="X" type="double" value="1.000000"/>
<property name="Y" type="double" value="1.000000"/>
</property>
<property name="Position" type="empty">
<property name="X" type="int" value="0"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
</property>
</channel>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="keyboard-layout" version="1.0">
<property name="Default" type="empty">
<property name="XkbDisable" type="bool" value="true"/>
<property name="XkbLayout" type="string" value="us"/>
<property name="XkbVariant" type="string" value=""/>
</property>
</channel>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="keyboards" version="1.0">
<property name="Default" type="empty">
<property name="Numlock" type="bool" value="false"/>
</property>
</channel>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="thunar" version="1.0">
<property name="last-view" type="string" value="ThunarDetailsView"/>
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_50_PERCENT"/>
<property name="last-side-pane" type="string" value="ThunarTreePane"/>
<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_25_PERCENT"/>
<property name="last-details-view-column-widths" type="string" value="50,120,50,50,226,50,50,57,50,60"/>
<property name="last-separator-position" type="int" value="170"/>
</channel>

View File

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-desktop" version="1.0">
<property name="desktop-icons" type="empty">
<property name="style" type="empty"/>
<property name="file-icons" type="empty">
<property name="show-home" type="empty"/>
<property name="show-filesystem" type="bool" value="true"/>
<property name="show-removable" type="bool" value="true"/>
<property name="show-trash" type="empty"/>
</property>
<property name="icon-size" type="uint" value="32"/>
<property name="tooltip-size" type="double" value="48.000000"/>
</property>
<property name="backdrop" type="empty">
<property name="screen0" type="empty">
<property name="monitor0" type="empty">
<property name="image-path" type="empty"/>
<property name="image-style" type="empty"/>
<property name="image-show" type="empty"/>
</property>
<property name="monitor1" type="empty">
<property name="image-path" type="empty"/>
<property name="image-style" type="empty"/>
<property name="image-show" type="empty"/>
</property>
<property name="monitor2" type="empty">
<property name="image-path" type="empty"/>
<property name="image-style" type="empty"/>
<property name="image-show" type="empty"/>
</property>
<property name="monitor3" type="empty">
<property name="image-path" type="empty"/>
<property name="image-style" type="empty"/>
<property name="image-show" type="empty"/>
</property>
<property name="monitorLVDS1" type="empty">
<property name="workspace0" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/images/desktop-base/desktop-background"/>
</property>
<property name="workspace1" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/images/desktop-base/desktop-background"/>
</property>
<property name="workspace2" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/images/desktop-base/desktop-background"/>
</property>
<property name="workspace3" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/images/desktop-base/desktop-background"/>
</property>
</property>
</property>
</property>
<property name="desktop-menu" type="empty">
<property name="show" type="bool" value="true"/>
</property>
<property name="last" type="empty">
<property name="window-width" type="int" value="635"/>
<property name="window-height" type="int" value="558"/>
</property>
</channel>

View File

@ -0,0 +1,152 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-keyboard-shortcuts" version="1.0">
<property name="commands" type="empty">
<property name="default" type="empty">
<property name="&lt;Alt&gt;F1" type="empty"/>
<property name="&lt;Alt&gt;F2" type="empty">
<property name="startup-notify" type="empty"/>
</property>
<property name="&lt;Alt&gt;F3" type="empty">
<property name="startup-notify" type="empty"/>
</property>
<property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;l" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;t" type="empty"/>
<property name="XF86Display" type="empty"/>
<property name="&lt;Super&gt;p" type="empty"/>
<property name="&lt;Primary&gt;Escape" type="empty"/>
<property name="XF86WWW" type="empty"/>
<property name="HomePage" type="empty"/>
<property name="XF86Mail" type="empty"/>
<property name="Print" type="empty"/>
<property name="&lt;Alt&gt;Print" type="empty"/>
<property name="&lt;Shift&gt;Print" type="empty"/>
<property name="&lt;Super&gt;e" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;f" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Escape" type="empty"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;Escape" type="empty"/>
<property name="&lt;Super&gt;r" type="empty">
<property name="startup-notify" type="empty"/>
</property>
</property>
<property name="custom" type="empty">
<property name="&lt;Alt&gt;F2" type="empty">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="&lt;Alt&gt;Print" type="string" value="xfce4-screenshooter -w"/>
<property name="&lt;Super&gt;r" type="string" value="xfce4-appfinder -c">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/>
<property name="XF86Mail" type="string" value="exo-open --launch MailReader"/>
<property name="&lt;Alt&gt;F3" type="empty">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="Print" type="string" value="xfce4-screenshooter"/>
<property name="&lt;Shift&gt;Print" type="string" value="xfce4-screenshooter -r"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;t" type="string" value="exo-open --launch TerminalEmulator"/>
<property name="&lt;Super&gt;p" type="string" value="xfce4-display-settings --minimal"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;Escape" type="string" value="xfce4-taskmanager"/>
<property name="&lt;Super&gt;e" type="string" value="thunar"/>
<property name="HomePage" type="string" value="exo-open --launch WebBrowser"/>
<property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/>
<property name="override" type="bool" value="true"/>
<property name="&lt;Super&gt;l" type="string" value="xsecurelock"/>
<property name="&lt;Super&gt;x" type="string" value="exo-open --launch TerminalEmulator"/>
</property>
</property>
<property name="xfwm4" type="empty">
<property name="default" type="empty">
<property name="&lt;Alt&gt;Insert" type="empty"/>
<property name="Escape" type="empty"/>
<property name="Left" type="empty"/>
<property name="Right" type="empty"/>
<property name="Up" type="empty"/>
<property name="Down" type="empty"/>
<property name="&lt;Alt&gt;Tab" type="empty"/>
<property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="empty"/>
<property name="&lt;Alt&gt;Delete" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Down" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Left" type="empty"/>
<property name="&lt;Shift&gt;&lt;Alt&gt;Page_Down" type="empty"/>
<property name="&lt;Alt&gt;F4" type="empty"/>
<property name="&lt;Alt&gt;F6" type="empty"/>
<property name="&lt;Alt&gt;F7" type="empty"/>
<property name="&lt;Alt&gt;F8" type="empty"/>
<property name="&lt;Alt&gt;F9" type="empty"/>
<property name="&lt;Alt&gt;F10" type="empty"/>
<property name="&lt;Alt&gt;F11" type="empty"/>
<property name="&lt;Alt&gt;F12" type="empty"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;End" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Home" type="empty"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="empty"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_1" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_2" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_3" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_4" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_5" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_6" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_7" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_8" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_9" type="empty"/>
<property name="&lt;Alt&gt;space" type="empty"/>
<property name="&lt;Shift&gt;&lt;Alt&gt;Page_Up" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Right" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;d" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Up" type="empty"/>
<property name="&lt;Super&gt;Tab" type="empty"/>
<property name="&lt;Primary&gt;F1" type="empty"/>
<property name="&lt;Primary&gt;F2" type="empty"/>
<property name="&lt;Primary&gt;F3" type="empty"/>
<property name="&lt;Primary&gt;F4" type="empty"/>
<property name="&lt;Primary&gt;F5" type="empty"/>
<property name="&lt;Primary&gt;F6" type="empty"/>
<property name="&lt;Primary&gt;F7" type="empty"/>
<property name="&lt;Primary&gt;F8" type="empty"/>
<property name="&lt;Primary&gt;F9" type="empty"/>
<property name="&lt;Primary&gt;F10" type="empty"/>
<property name="&lt;Primary&gt;F11" type="empty"/>
<property name="&lt;Primary&gt;F12" type="empty"/>
<property name="&lt;Super&gt;KP_Left" type="empty"/>
<property name="&lt;Super&gt;KP_Right" type="empty"/>
<property name="&lt;Super&gt;KP_Up" type="empty"/>
<property name="&lt;Super&gt;KP_Down" type="empty"/>
<property name="&lt;Super&gt;KP_Page_Up" type="empty"/>
<property name="&lt;Super&gt;KP_Home" type="empty"/>
<property name="&lt;Super&gt;KP_End" type="empty"/>
<property name="&lt;Super&gt;KP_Next" type="empty"/>
</property>
<property name="custom" type="empty">
<property name="&lt;Super&gt;KP_Down" type="string" value="tile_up_key"/>
<property name="&lt;Alt&gt;F4" type="string" value="close_window_key"/>
<property name="&lt;Super&gt;KP_Up" type="string" value="tile_down_key"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="string" value="move_window_left_key"/>
<property name="&lt;Super&gt;KP_Right" type="string" value="tile_right_key"/>
<property name="Right" type="string" value="right_key"/>
<property name="Down" type="string" value="down_key"/>
<property name="&lt;Alt&gt;Tab" type="string" value="cycle_windows_key"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="string" value="move_window_right_key"/>
<property name="&lt;Super&gt;KP_Page_Up" type="string" value="tile_up_right_key"/>
<property name="Up" type="string" value="up_key"/>
<property name="&lt;Alt&gt;space" type="string" value="popup_menu_key"/>
<property name="&lt;Super&gt;KP_Home" type="string" value="tile_up_left_key"/>
<property name="Escape" type="string" value="cancel_key"/>
<property name="&lt;Super&gt;KP_Next" type="string" value="tile_down_right_key"/>
<property name="&lt;Super&gt;KP_Left" type="string" value="tile_left_key"/>
<property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="string" value="cycle_reverse_windows_key"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="string" value="move_window_up_key"/>
<property name="&lt;Super&gt;KP_End" type="string" value="tile_down_left_key"/>
<property name="Left" type="string" value="left_key"/>
<property name="override" type="bool" value="true"/>
<property name="&lt;Super&gt;Up" type="string" value="maximize_window_key"/>
<property name="&lt;Super&gt;d" type="string" value="show_desktop_key"/>
</property>
</property>
<property name="providers" type="array">
<value type="string" value="xfwm4"/>
<value type="string" value="commands"/>
</property>
</channel>

View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-panel" version="1.0">
<property name="configver" type="int" value="2"/>
<property name="panels" type="array">
<value type="int" value="1"/>
<property name="dark-mode" type="bool" value="false"/>
<property name="panel-1" type="empty">
<property name="position" type="string" value="p=8;x=512;y=754"/>
<property name="length" type="uint" value="100"/>
<property name="position-locked" type="bool" value="true"/>
<property name="icon-size" type="uint" value="16"/>
<property name="size" type="uint" value="26"/>
<property name="plugin-ids" type="array">
<value type="int" value="7"/>
<value type="int" value="2"/>
<value type="int" value="3"/>
<value type="int" value="6"/>
<value type="int" value="8"/>
<value type="int" value="10"/>
<value type="int" value="15"/>
<value type="int" value="12"/>
<value type="int" value="9"/>
</property>
</property>
</property>
<property name="plugins" type="empty">
<property name="plugin-2" type="string" value="tasklist">
<property name="grouping" type="uint" value="1"/>
</property>
<property name="plugin-3" type="string" value="separator">
<property name="expand" type="bool" value="true"/>
<property name="style" type="uint" value="0"/>
</property>
<property name="plugin-6" type="string" value="systray">
<property name="square-icons" type="bool" value="true"/>
<property name="icon-size" type="int" value="16"/>
</property>
<property name="plugin-8" type="string" value="pulseaudio">
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
<property name="show-notifications" type="bool" value="true"/>
</property>
<property name="plugin-10" type="string" value="notification-plugin"/>
<property name="plugin-12" type="string" value="clock">
<property name="mode" type="uint" value="2"/>
<property name="digital-format" type="string" value="%_H:%M"/>
</property>
<property name="plugin-7" type="string" value="whiskermenu"/>
<property name="plugin-9" type="string" value="showdesktop"/>
<property name="plugin-15" type="string" value="power-manager-plugin"/>
</property>
</channel>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-power-manager" version="1.0">
<property name="xfce4-power-manager" type="empty">
<property name="power-button-action" type="empty"/>
<property name="show-tray-icon" type="bool" value="false"/>
<property name="show-panel-label" type="int" value="0"/>
<property name="brightness-switch-restore-on-exit" type="int" value="-1"/>
<property name="brightness-switch" type="int" value="0"/>
</property>
</channel>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-session" version="1.0">
<property name="general" type="empty">
<property name="FailsafeSessionName" type="empty"/>
<property name="LockCommand" type="empty"/>
<property name="SessionName" type="string" value="Default"/>
<property name="SaveOnExit" type="bool" value="false"/>
</property>
<property name="sessions" type="empty">
<property name="Failsafe" type="empty">
<property name="IsFailsafe" type="empty"/>
<property name="Count" type="empty"/>
<property name="Client0_Command" type="empty"/>
<property name="Client0_Priority" type="empty"/>
<property name="Client0_PerScreen" type="empty"/>
<property name="Client1_Command" type="empty"/>
<property name="Client1_Priority" type="empty"/>
<property name="Client1_PerScreen" type="empty"/>
<property name="Client2_Command" type="empty"/>
<property name="Client2_Priority" type="empty"/>
<property name="Client2_PerScreen" type="empty"/>
<property name="Client3_Command" type="empty"/>
<property name="Client3_Priority" type="empty"/>
<property name="Client3_PerScreen" type="empty"/>
<property name="Client4_Command" type="empty"/>
<property name="Client4_Priority" type="empty"/>
<property name="Client4_PerScreen" type="empty"/>
</property>
</property>
</channel>

View File

@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfwm4" version="1.0">
<property name="general" type="empty">
<property name="activate_action" type="empty"/>
<property name="borderless_maximize" type="bool" value="false"/>
<property name="box_move" type="empty"/>
<property name="box_resize" type="bool" value="true"/>
<property name="button_layout" type="empty"/>
<property name="button_offset" type="empty"/>
<property name="button_spacing" type="empty"/>
<property name="click_to_focus" type="empty"/>
<property name="cycle_apps_only" type="empty"/>
<property name="cycle_draw_frame" type="empty"/>
<property name="cycle_raise" type="empty"/>
<property name="cycle_hidden" type="empty"/>
<property name="cycle_minimum" type="empty"/>
<property name="cycle_minimized" type="empty"/>
<property name="cycle_preview" type="empty"/>
<property name="cycle_tabwin_mode" type="int" value="1"/>
<property name="cycle_workspaces" type="empty"/>
<property name="double_click_action" type="empty"/>
<property name="double_click_distance" type="empty"/>
<property name="double_click_time" type="empty"/>
<property name="easy_click" type="string" value="Super"/>
<property name="focus_delay" type="empty"/>
<property name="focus_hint" type="empty"/>
<property name="focus_new" type="empty"/>
<property name="frame_opacity" type="empty"/>
<property name="frame_border_top" type="empty"/>
<property name="full_width_title" type="empty"/>
<property name="horiz_scroll_opacity" type="empty"/>
<property name="inactive_opacity" type="empty"/>
<property name="maximized_offset" type="empty"/>
<property name="mousewheel_rollup" type="empty"/>
<property name="move_opacity" type="empty"/>
<property name="placement_mode" type="empty"/>
<property name="placement_ratio" type="empty"/>
<property name="popup_opacity" type="empty"/>
<property name="prevent_focus_stealing" type="empty"/>
<property name="raise_delay" type="empty"/>
<property name="raise_on_click" type="empty"/>
<property name="raise_on_focus" type="empty"/>
<property name="raise_with_any_button" type="empty"/>
<property name="repeat_urgent_blink" type="empty"/>
<property name="resize_opacity" type="empty"/>
<property name="scroll_workspaces" type="bool" value="false"/>
<property name="shadow_delta_height" type="empty"/>
<property name="shadow_delta_width" type="empty"/>
<property name="shadow_delta_x" type="empty"/>
<property name="shadow_delta_y" type="empty"/>
<property name="shadow_opacity" type="empty"/>
<property name="show_app_icon" type="empty"/>
<property name="show_dock_shadow" type="empty"/>
<property name="show_frame_shadow" type="empty"/>
<property name="show_popup_shadow" type="empty"/>
<property name="snap_resist" type="empty"/>
<property name="snap_to_border" type="empty"/>
<property name="snap_to_windows" type="bool" value="true"/>
<property name="snap_width" type="empty"/>
<property name="vblank_mode" type="empty"/>
<property name="theme" type="string" value="Clearlooks-Phenix-Deepsea"/>
<property name="tile_on_move" type="empty"/>
<property name="title_alignment" type="string" value="left"/>
<property name="title_font" type="string" value="Sans Bold 8"/>
<property name="title_horizontal_offset" type="empty"/>
<property name="titleless_maximize" type="empty"/>
<property name="title_shadow_active" type="empty"/>
<property name="title_shadow_inactive" type="empty"/>
<property name="title_vertical_offset_active" type="empty"/>
<property name="title_vertical_offset_inactive" type="empty"/>
<property name="toggle_workspaces" type="empty"/>
<property name="unredirect_overlays" type="empty"/>
<property name="urgent_blink" type="empty"/>
<property name="use_compositing" type="bool" value="false"/>
<property name="workspace_count" type="int" value="1"/>
<property name="wrap_cycle" type="empty"/>
<property name="wrap_layout" type="bool" value="true"/>
<property name="wrap_resistance" type="empty"/>
<property name="wrap_windows" type="bool" value="false"/>
<property name="wrap_workspaces" type="empty"/>
<property name="zoom_desktop" type="empty"/>
<property name="zoom_pointer" type="empty"/>
<property name="workspace_names" type="empty"/>
</property>
</channel>

View File

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xsettings" version="1.0">
<property name="Net" type="empty">
<property name="ThemeName" type="empty"/>
<property name="IconThemeName" type="empty"/>
<property name="DoubleClickTime" type="empty"/>
<property name="DoubleClickDistance" type="empty"/>
<property name="DndDragThreshold" type="empty"/>
<property name="CursorBlink" type="empty"/>
<property name="CursorBlinkTime" type="empty"/>
<property name="SoundThemeName" type="empty"/>
<property name="EnableEventSounds" type="empty"/>
<property name="EnableInputFeedbackSounds" type="empty"/>
</property>
<property name="Xft" type="empty">
<property name="DPI" type="empty"/>
<property name="Antialias" type="empty"/>
<property name="Hinting" type="int" value="1"/>
<property name="HintStyle" type="string" value="hintfull"/>
<property name="RGBA" type="empty"/>
</property>
<property name="Gtk" type="empty">
<property name="CanChangeAccels" type="empty"/>
<property name="ColorPalette" type="empty"/>
<property name="FontName" type="string" value="Sans 8"/>
<property name="MonospaceFontName" type="string" value="Monospace 8"/>
<property name="IconSizes" type="empty"/>
<property name="KeyThemeName" type="empty"/>
<property name="ToolbarStyle" type="empty"/>
<property name="ToolbarIconSize" type="empty"/>
<property name="MenuImages" type="empty"/>
<property name="ButtonImages" type="bool" value="false"/>
<property name="MenuBarAccel" type="empty"/>
<property name="CursorThemeName" type="empty"/>
<property name="CursorThemeSize" type="empty"/>
<property name="DecorationLayout" type="empty"/>
</property>
</channel>

0
input/stage99/isRawImage Normal file
View File

7
input/stage99/setupdisk Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
apt -y install cloud-utils
apt -y autoclean
grub-install --boot-directory="/boot" --modules=part_msdos "${DISK_LOOP}"
update-grub
update-initramfs -u -k all
rm /setupdisk

10
make-os Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
cd "$(dirname "$(realpath -s "$BASH_SOURCE")")"
source shell
source "env-$1"
make-base # Base image
apply-stage "$OPUS_HOME/input/stage01" "$OPUS_OUTPUT/base" # Packages (non-graphical)
apply-stage "$OPUS_HOME/input/stage02" "$OPUS_OUTPUT/base" # Packages (graphical)
apply-stage "$OPUS_HOME/input/stage98" "$OPUS_OUTPUT/base" # Default configs, etc.
apply-stage "$OPUS_HOME/input/stage99" "$OPUS_OUTPUT/base" # Disk image preparation
make-image "$OPUS_OUTPUT/base" # Disk image

16
path/apply-stage Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
alias cp="cp --reflink=auto"
export STAGE_INPUT="$1"
export STAGE_OUTPUT="$2"
if [ -f "$STAGE_INPUT/bin/login" ]; then
if [ -f "$STAGE_OUTPUT/bin/login.bak" ]; then
rm "$STAGE_OUTPUT/bin/login"
else
mv "$STAGE_OUTPUT/bin/login" "$STAGE_OUTPUT/bin/login.bak"
fi
fi
cp -rf "$STAGE_INPUT/." "$STAGE_OUTPUT"
if [ -f "$STAGE_OUTPUT/setup" ]; then
fchroot "$STAGE_OUTPUT" "/setup"
find "$STAGE_OUTPUT/var/log" -type f -delete
fi

2
path/dupe Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
cp --reflink=auto -a "$1" "$2"

3
path/env-amd64 Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
export OPUS_ARCH=amd64
export OPUS_LINUX=linux-image-amd64

3
path/env-i386 Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
export OPUS_ARCH=i386
export OPUS_LINUX=linux-image-686

10
path/fchroot Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
mount -o bind "/dev" "$1/dev"
mount -o bind "/dev/pts" "$1/dev/pts"
mount -o bind "/sys" "$1/sys"
mount -o bind "/proc" "$1/proc"
chroot "$1" ${@:2}
umount -l "$1/proc"
umount -l "$1/sys"
umount -l "$1/dev/pts"
umount -l "$1/dev"

8
path/make-base Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
if [ -d "$OPUS_OUTPUT/base" ]; then
rm -rf "$OPUS_OUTPUT/base"
fi
mkdir "$OPUS_OUTPUT/base"
debootstrap --arch="$OPUS_ARCH" "$OPUS_DIST" "$OPUS_OUTPUT/base" "$OPUS_URL"
fchroot "$OPUS_OUTPUT/base" apt -y autoclean
find "$OPUS_OUTPUT/base/var/log" -type f -delete

62
path/make-image Executable file
View File

@ -0,0 +1,62 @@
#!/usr/bin/env bash
export DISK_IMAGE="$OPUS_OUTPUT/${OPUS_NAME}-${OPUS_DIST}-${OPUS_ARCH}_$(date "+%Y.%m.%d-%H.%M.%S").img"
export ROOT_MOUNT="$OPUS_OUTPUT/mount"
# Get the approximate size required for the image
export DISK_SIZE=$(du -sb "$1" | cut -f1)
# Add 256MB for SWAP, and 700MB for overhead
export DISK_SIZE=$(( $DISK_SIZE + ( 256 * 1000000 ) + ( 700 * 1000000 ) ))
# Add size of additional files
export DISK_SIZE=$(( $DISK_SIZE + $(du -sb "$OPUS_HOME/input/root-image" | cut -f1) ))
# Create and mount disk
fallocate -l $DISK_SIZE "$DISK_IMAGE"
export DISK_LOOP="$(losetup --show -f -P "$DISK_IMAGE")"
# Partition disk
(
echo n
echo e
echo
echo
echo +256M
echo t
echo swap
echo n
echo p
echo
echo
echo
echo t
echo
echo linux
echo w
echo
echo
) | fdisk "$DISK_LOOP"
# Format partions
mkswap "${DISK_LOOP}p1"
mkfs.ext4 "${DISK_LOOP}p2"
# Mount root
mkdir "$ROOT_MOUNT"
mount "${DISK_LOOP}p2" "$ROOT_MOUNT"
# Add files
dupe "$1/." "$ROOT_MOUNT"
# Make fstab
echo "UUID=$(blkid -o value -s UUID "${DISK_LOOP}p1") none swap sw 0 0" >"$ROOT_MOUNT/etc/fstab"
echo "UUID=$(blkid -o value -s UUID "${DISK_LOOP}p2") / ext4 errors=remount-ro 0 1" >>"$ROOT_MOUNT/etc/fstab"
# Set up GRUB and misc
fchroot "$ROOT_MOUNT" "/setupdisk"
# Clear logs
find "$ROOT_MOUNT/var/log" -type f -delete
# Unmount root
umount -l "$ROOT_MOUNT"
rmdir "$ROOT_MOUNT"
losetup -d "$DISK_LOOP"

22
shell Normal file
View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
export OPUS_NAME="opus-dvn"
export OPUS_HOME="$(dirname "$(realpath -s "$BASH_SOURCE")")"
export PATH="$OPUS_HOME/path:$PATH"
export OPUS_PID="$BASHPID"
export OPUS_OUTPUT="$OPUS_HOME/output"
export OPUS_URL="http://deb.devuan.org/merged"
export OPUS_DIST="chimaera"
export OPUS_SOURCES="deb http://deb.devuan.org/merged $OPUS_DIST main
# deb-src http://deb.devuan.org/merged $OPUS_DIST main
deb http://pkgmaster.devuan.org/merged $OPUS_DIST-security main
# deb-src http://pkgmaster.devuan.org/merged $OPUS_DIST-security main
# chimaera-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates>
# deb http://deb.devuan.org/merged $OPUS_DIST-updates main
# deb-src http://deb.devuan.org/merged $OPUS_DIST-updates main
"
env
echo ""
echo "Environment expanded."