From 1b07af78192bf628d88d400c592b109044b5828a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 6 Jun 2020 01:11:36 -0500 Subject: boot: Add Boot to Horizon resources --- boot/README.rst | 80 ++++++++++++++++++++++++++++++++++++++++++++ boot/horizon-session.desktop | 6 ++++ boot/horizon.qss | 4 +++ boot/horizon.sddm.conf | 3 ++ boot/qt5ct.conf | 25 ++++++++++++++ boot/start-horizon-qt5 | 8 +++++ 6 files changed, 126 insertions(+) create mode 100644 boot/README.rst create mode 100644 boot/horizon-session.desktop create mode 100644 boot/horizon.qss create mode 100644 boot/horizon.sddm.conf create mode 100644 boot/qt5ct.conf create mode 100755 boot/start-horizon-qt5 (limited to 'boot') 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 . + +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 -- cgit v1.2.3-60-g2f50