summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-06 01:11:36 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-06 01:11:36 -0500
commit1b07af78192bf628d88d400c592b109044b5828a (patch)
tree0828543259503c3e1b1fbf96442c6c136799754c /boot
parentf90a6dee60feb7a341d55003123cc9a7451ffc0c (diff)
downloadhorizon-1b07af78192bf628d88d400c592b109044b5828a.tar.gz
horizon-1b07af78192bf628d88d400c592b109044b5828a.tar.bz2
horizon-1b07af78192bf628d88d400c592b109044b5828a.tar.xz
horizon-1b07af78192bf628d88d400c592b109044b5828a.zip
boot: Add Boot to Horizon resources
Diffstat (limited to 'boot')
-rw-r--r--boot/README.rst80
-rw-r--r--boot/horizon-session.desktop6
-rw-r--r--boot/horizon.qss4
-rw-r--r--boot/horizon.sddm.conf3
-rw-r--r--boot/qt5ct.conf25
-rwxr-xr-xboot/start-horizon-qt58
6 files changed, 126 insertions, 0 deletions
diff --git a/boot/README.rst b/boot/README.rst
new file mode 100644
index 0000000..b8f46f2
--- /dev/null
+++ b/boot/README.rst
@@ -0,0 +1,80 @@
+============================
+ README for Boot to Horizon
+============================
+:Status:
+ Release Candidate
+:Copyright:
+ © 2015-2020 Adélie Linux.
+ Code: AGPL-3.0 license.
+ Documentation: CC BY-NC-SA open source license.
+
+
+Boot to Horizon is the component of Project Horizon controlling the boot
+environment for Horizon-based System Installation media. This includes
+configuration and scripts.
+
+
+
+Introduction
+============
+
+This directory contains the development documentation, configuration,
+back-end source code, and front-end source code for Boot to Horizon.
+
+
+License
+```````
+Development documentation for Project Horizon is licensed under the
+Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
+
+You should have received a copy of the license along with this
+work. If not, see <http://creativecommons.org/licenses/by-nc-sa/4.0/>.
+
+Code is licensed under the Affero GPL (AGPL) 3 license.
+
+
+Changes
+```````
+Any changes to this repository must be reviewed before being pushed to the
+master branch.
+
+
+
+Directory Layout
+================
+
+``horizon-session.desktop``
+ X session file.
+ Installed as ``/usr/share/xsessions/horizon.desktop``.
+
+``horizon.qss``
+ Qt 5 stylesheet, making buttons slightly easier to use.
+ Installed as ``/usr/share/qt5ct/qss/horizon.qss``.
+
+``horizon.sddm.conf``
+ SDDM configuration file to automatically start the Horizon wizard.
+ Installed as ``/etc/sddm.conf.d/horizon.conf``.
+
+``qt5ct.conf``
+ Qt 5 theme.
+ Installed as ``/usr/share/qt5ct/qt5ct.conf``.
+
+``start-horizon-qt5``
+ Session controller script.
+ Installed as ``/usr/bin/start-horizon-qt5``.
+
+
+
+Reporting Issues
+================
+
+If you have an issue using Project Horizon, including with Boot to Horizon,
+you may view our BTS_. You may also `submit an issue`_ directly.
+
+For general discussion, questions, or to submit a patch, please use the
+`Horizon mailing list`_.
+
+.. _BTS: https://bts.adelielinux.org/buglist.cgi?product=Horizon&resolution=---
+.. _`submit an issue`: https://bts.adelielinux.org/enter_bug.cgi?product=Horizon
+.. _`Horizon mailing list`: https://lists.adelielinux.org/postorius/lists/horizon.lists.adelielinux.org/
+
diff --git a/boot/horizon-session.desktop b/boot/horizon-session.desktop
new file mode 100644
index 0000000..fbcaa35
--- /dev/null
+++ b/boot/horizon-session.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Application
+Name=Horizon
+Comment=Install Adelie to your computer
+Exec=/usr/bin/start-horizon-qt5
+TryExec=/usr/bin/start-horizon-qt5
diff --git a/boot/horizon.qss b/boot/horizon.qss
new file mode 100644
index 0000000..835fa92
--- /dev/null
+++ b/boot/horizon.qss
@@ -0,0 +1,4 @@
+QPushButton {
+ padding: 0.4em;
+ min-width: 5em;
+} \ No newline at end of file
diff --git a/boot/horizon.sddm.conf b/boot/horizon.sddm.conf
new file mode 100644
index 0000000..f3a1a06
--- /dev/null
+++ b/boot/horizon.sddm.conf
@@ -0,0 +1,3 @@
+[Autologin]
+User=root
+Session=horizon.desktop
diff --git a/boot/qt5ct.conf b/boot/qt5ct.conf
new file mode 100644
index 0000000..3569f12
--- /dev/null
+++ b/boot/qt5ct.conf
@@ -0,0 +1,25 @@
+[Appearance]
+color_scheme_path=/usr/share/qt5ct/colors/simple.conf
+custom_palette=true
+icon_theme=Papirus
+standard_dialogs=default
+style=Fusion
+
+[Fonts]
+fixed=@Variant(\0\0\0@\0\0\0\x1e\0L\0i\0\x62\0\x65\0r\0\x61\0t\0i\0o\0n\0 \0S\0\x61\0n\0s@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
+general=@Variant(\0\0\0@\0\0\0\x1e\0L\0i\0\x62\0\x65\0r\0\x61\0t\0i\0o\0n\0 \0S\0\x61\0n\0s@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
+
+[Interface]
+activate_item_on_single_click=1
+buttonbox_layout=2
+cursor_flash_time=1000
+dialog_buttons_have_icons=1
+double_click_interval=400
+gui_effects=@Invalid()
+keyboard_scheme=2
+menus_have_icons=true
+show_shortcuts_in_context_menus=true
+stylesheets=/usr/share/qt5ct/qss/horizon.qss
+toolbutton_style=4
+underline_shortcut=1
+wheel_scroll_lines=3
diff --git a/boot/start-horizon-qt5 b/boot/start-horizon-qt5
new file mode 100755
index 0000000..0541de6
--- /dev/null
+++ b/boot/start-horizon-qt5
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+kwin_x11 &
+horizon-qt5
+if [ $? -eq 0 ]; then
+ horizon-run-qt5
+fi
+reboot