Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Add ansible configuration playbook
- Loading branch information
Showing
18 changed files
with
455 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<actions> | ||
<action> | ||
<icon>utilities-terminal</icon> | ||
<name>Open Terminal Here</name> | ||
<command>exo-open --working-directory %f --launch TerminalEmulator</command> | ||
<description>Example for a custom action</description> | ||
<patterns>*</patterns> | ||
<startup-notify/> | ||
<directories/> | ||
</action> | ||
<action> | ||
<icon>org.xfce.catfish</icon> | ||
<name>Search</name> | ||
<command>catfish --path=%f</command> | ||
<description></description> | ||
<patterns>*</patterns> | ||
<directories/> | ||
</action> | ||
</actions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[Seat:*] | ||
allow-user-switching=false | ||
allow-guest=false | ||
session-setup-script=/usr/local/sbin/revert-home.sh |
Binary file not shown.
Binary file added
BIN
+11.4 MB
...es/common/files/pkg/libreoffice-extension-orthos-greek-dictionary-0.4.0-1-any.pkg.tar.zst
Binary file not shown.
Binary file added
BIN
+219 KB
...les/common/files/pkg/libreoffice-extension-orthos-greek-thesaurus-0.4.0-1-any.pkg.tar.zst
Binary file not shown.
35 changes: 35 additions & 0 deletions
35
ansible/roles/common/files/polkit-1/rules.d/10-admin-override.rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Prevent suspend and hibernate for labuser | ||
polkit.addRule(function(action, subject) { | ||
if ((action.id == "org.freedesktop.login1.suspend" || | ||
action.id == "org.freedesktop.login1.suspend-multiple-sessions" || | ||
action.id == "org.freedesktop.login1.hibernate" || | ||
action.id == "org.freedesktop.login1.hibernate-multiple-sessions") && | ||
subject.user == "labuser") { | ||
|
||
return polkit.Result.NO; | ||
} | ||
}); | ||
|
||
|
||
// Prevent shut down for labuser | ||
polkit.addRule(function(action, subject) { | ||
if ((action.id == "org.freedesktop.login1.halt" || | ||
action.id == "org.freedesktop.login1.halt-multiple-sessions" || | ||
action.id == "org.freedesktop.login1.power-off" || | ||
action.id == "org.freedesktop.login1.power-off-multiple-sessions") && | ||
subject.user == "labuser") { | ||
|
||
return polkit.Result.NO; | ||
} | ||
}); | ||
|
||
|
||
// Prevent running xfsm-shutdown-helper and xfce4-pm-helper for labuser | ||
polkit.addRule(function(action, subject) { | ||
if ((action.id == "org.xfce.session.xfsm-shutdown-helper" || | ||
action.id == "org.xfce.power.xfce4-pm-helper") && | ||
subject.user == "labuser") { | ||
|
||
return polkit.Result.NO; | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
WebBrowser=firefox |
13 changes: 13 additions & 0 deletions
13
ansible/roles/common/files/xfce4/panel/launcher-3/16215916401.desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Desktop Entry] | ||
Version=1.0 | ||
Type=Application | ||
Exec=exo-open --launch TerminalEmulator | ||
Icon=org.xfce.terminalemulator | ||
StartupNotify=true | ||
Terminal=false | ||
Categories=Utility;X-XFCE;X-Xfce-Toplevel; | ||
OnlyShowIn=XFCE; | ||
X-AppStream-Ignore=True | ||
Name=Terminal Emulator | ||
Comment=Use the command line | ||
X-XFCE-Source=file:///usr/share/applications/xfce4-terminal-emulator.desktop |
14 changes: 14 additions & 0 deletions
14
ansible/roles/common/files/xfce4/panel/launcher-4/16215916912.desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[Desktop Entry] | ||
Version=1.0 | ||
Type=Application | ||
Exec=exo-open --launch FileManager %u | ||
Icon=org.xfce.filemanager | ||
StartupNotify=true | ||
Terminal=false | ||
Categories=Utility;X-XFCE;X-Xfce-Toplevel; | ||
OnlyShowIn=XFCE; | ||
X-XFCE-MimeType=inode/directory;x-scheme-handler/trash; | ||
X-AppStream-Ignore=True | ||
Name=File Manager | ||
Comment=Browse the file system | ||
X-XFCE-Source=file:///usr/share/applications/xfce4-file-manager.desktop |
27 changes: 27 additions & 0 deletions
27
ansible/roles/common/files/xfce4/panel/launcher-5/16217825961.desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[Desktop Entry] | ||
Version=1.0 | ||
Name=Firefox | ||
GenericName=Web Browser | ||
Comment=Browse the World Wide Web | ||
Keywords=Internet;WWW;Browser;Web;Explorer | ||
Exec=/usr/lib/firefox/firefox %u | ||
Icon=firefox | ||
Terminal=false | ||
X-MultipleArgs=false | ||
Type=Application | ||
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json; | ||
StartupNotify=true | ||
StartupWMClass=firefox | ||
Categories=Network;WebBrowser; | ||
Actions=new-window;new-private-window; | ||
X-XFCE-Source=file:///usr/share/applications/firefox.desktop | ||
|
||
[Desktop Action new-window] | ||
Name=New Window | ||
Name[en_US]=New Window | ||
Exec=/usr/lib/firefox/firefox --new-window %u | ||
|
||
[Desktop Action new-private-window] | ||
Name=New Private Window | ||
Name[en_US]=New Private Window | ||
Exec=/usr/lib/firefox/firefox --private-window %u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
button-title=Start | ||
show-button-title=true | ||
default-category=2 | ||
show-command-lockscreen=false |
11 changes: 11 additions & 0 deletions
11
ansible/roles/common/files/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<channel name="keyboard-layout" version="1.0"> | ||
<property name="Default" type="empty"> | ||
<property name="XkbOptions" type="empty"> | ||
<property name="Group" type="string" value="grp:alt_shift_toggle"/> | ||
</property> | ||
<property name="XkbLayout" type="string" value="us,gr"/> | ||
<property name="XkbDisable" type="bool" value="false"/> | ||
</property> | ||
</channel> |
7 changes: 7 additions & 0 deletions
7
ansible/roles/common/files/xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<channel name="thunar-volman" version="1.0"> | ||
<property name="automount-drives" type="empty"> | ||
<property name="enabled" type="bool" value="true"/> | ||
</property> | ||
</channel> |
63 changes: 63 additions & 0 deletions
63
ansible/roles/common/files/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?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=960;y=949"/> <!-- TODO: Verify these --> | ||
<property name="length" type="uint" value="100"/> | ||
<property name="position-locked" type="bool" value="true"/> | ||
<property name="size" type="uint" value="26"/> | ||
<property name="plugin-ids" type="array"> | ||
<value type="int" value="1"/> | ||
<value type="int" value="2"/> | ||
<value type="int" value="3"/> | ||
<value type="int" value="4"/> | ||
<value type="int" value="5"/> | ||
<value type="int" value="6"/> | ||
<value type="int" value="7"/> | ||
<value type="int" value="8"/> | ||
<value type="int" value="9"/> | ||
<value type="int" value="10"/> | ||
<value type="int" value="11"/> | ||
<value type="int" value="12"/> | ||
</property> | ||
</property> | ||
</property> | ||
<property name="plugins" type="empty"> | ||
<property name="plugin-1" type="string" value="whiskermenu"/> | ||
<property name="plugin-2" type="string" value="separator"> | ||
<property name="style" type="uint" value="0"/> | ||
</property> | ||
<property name="plugin-3" type="string" value="launcher"> | ||
<property name="items" type="array"> | ||
<value type="string" value="16215916401.desktop"/> | ||
</property> | ||
</property> | ||
<property name="plugin-4" type="string" value="launcher"> | ||
<property name="items" type="array"> | ||
<value type="string" value="16215916912.desktop"/> | ||
</property> | ||
</property> | ||
<property name="plugin-5" type="string" value="launcher"> | ||
<property name="items" type="array"> | ||
<value type="string" value="16217825961.desktop"/> | ||
</property> | ||
</property> | ||
<property name="plugin-6" type="string" value="tasklist"/> | ||
<property name="plugin-7" type="string" value="separator"> | ||
<property name="expand" type="bool" value="true"/> | ||
<property name="style" type="uint" value="0"/> | ||
</property> | ||
<property name="plugin-8" type="string" value="systray"/> | ||
<property name="plugin-9" type="string" value="xkb"> | ||
<property name="group-policy" type="uint" value="1"/> | ||
<property name="display-type" type="uint" value="2"/> | ||
</property> | ||
<property name="plugin-10" type="string" value="pulseaudio"/> | ||
<property name="plugin-11" type="string" value="clock"/> | ||
<property name="plugin-12" type="string" value="notification-plugin"/> | ||
</property> | ||
</channel> |
7 changes: 7 additions & 0 deletions
7
ansible/roles/common/files/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<channel name="xfce4-session" version="1.0"> | ||
<property name="general" type="empty"> | ||
<property name="SaveOnExit" type="bool" value="false"/> | ||
</property> | ||
</channel> |
7 changes: 7 additions & 0 deletions
7
ansible/roles/common/files/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<channel name="xfwm4" version="1.0"> | ||
<property name="general" type="empty"> | ||
<property name="workspace_count" type="int" value="1"/> | ||
</property> | ||
</channel> |
Oops, something went wrong.