From 9cc5c83b52e5b066372062a5f4db3c6e9cdbb689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Wed, 12 Aug 2020 08:47:46 +0200 Subject: [PATCH] [oem] add initial Beelink GTR profile --- oem/beelink-oem-gnome/Packages-Desktop | 196 ++++++++++++++++++ oem/beelink-oem-gnome/Packages-Live | 5 + oem/beelink-oem-gnome/Packages-Root | 1 + .../etc/X11/xorg.conf.d/30-touchpad.conf | 6 + .../desktop-overlay/etc/environment | 19 ++ .../desktop-overlay/etc/gdm/custom.conf | 16 ++ .../desktop-overlay/etc/pam.d/polkit-1 | 10 + .../desktop-overlay/etc/pam.d/sudo | 9 + .../usr/share/icons/default/index.theme | 2 + .../live-overlay/etc/default | 1 + oem/beelink-oem-gnome/live-overlay/etc/fstab | 1 + oem/beelink-oem-gnome/live-overlay/etc/issue | 1 + .../live-overlay/etc/localtime | 1 + oem/beelink-oem-gnome/live-overlay/etc/pam.d | 1 + .../skel/.config/autostart/calamares.desktop | 14 ++ .../.config/autostart/manjaro-hello.desktop | 1 + .../.config/autostart/no-lock-screen.desktop | 7 + .../live-overlay/etc/skel/.config/manjaro | 1 + .../live-overlay/etc/sudoers.d | 1 + .../root/.config/Kvantum/kvantum.kvconfig | 2 + .../root/.config/qt5ct/qt5ct.conf | 24 +++ oem/beelink-oem-gnome/live-overlay/usr | 1 + oem/beelink-oem-gnome/profile.conf | 87 ++++++++ 23 files changed, 407 insertions(+) create mode 100644 oem/beelink-oem-gnome/Packages-Desktop create mode 100644 oem/beelink-oem-gnome/Packages-Live create mode 120000 oem/beelink-oem-gnome/Packages-Root create mode 100644 oem/beelink-oem-gnome/desktop-overlay/etc/X11/xorg.conf.d/30-touchpad.conf create mode 100644 oem/beelink-oem-gnome/desktop-overlay/etc/environment create mode 100644 oem/beelink-oem-gnome/desktop-overlay/etc/gdm/custom.conf create mode 100644 oem/beelink-oem-gnome/desktop-overlay/etc/pam.d/polkit-1 create mode 100644 oem/beelink-oem-gnome/desktop-overlay/etc/pam.d/sudo create mode 100644 oem/beelink-oem-gnome/desktop-overlay/usr/share/icons/default/index.theme create mode 120000 oem/beelink-oem-gnome/live-overlay/etc/default create mode 120000 oem/beelink-oem-gnome/live-overlay/etc/fstab create mode 120000 oem/beelink-oem-gnome/live-overlay/etc/issue create mode 120000 oem/beelink-oem-gnome/live-overlay/etc/localtime create mode 120000 oem/beelink-oem-gnome/live-overlay/etc/pam.d create mode 100755 oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/calamares.desktop create mode 100644 oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/manjaro-hello.desktop create mode 100644 oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/no-lock-screen.desktop create mode 120000 oem/beelink-oem-gnome/live-overlay/etc/skel/.config/manjaro create mode 120000 oem/beelink-oem-gnome/live-overlay/etc/sudoers.d create mode 100644 oem/beelink-oem-gnome/live-overlay/root/.config/Kvantum/kvantum.kvconfig create mode 100644 oem/beelink-oem-gnome/live-overlay/root/.config/qt5ct/qt5ct.conf create mode 120000 oem/beelink-oem-gnome/live-overlay/usr create mode 100644 oem/beelink-oem-gnome/profile.conf diff --git a/oem/beelink-oem-gnome/Packages-Desktop b/oem/beelink-oem-gnome/Packages-Desktop new file mode 100644 index 00000000..4b4995d9 --- /dev/null +++ b/oem/beelink-oem-gnome/Packages-Desktop @@ -0,0 +1,196 @@ +adwaita-icon-theme +adwaita-maia +alsa-firmware +>extra alacarte +>extra apparmor +>extra baobab +>extra dconf-editor +dmidecode +gthumb +evince +manjaro-log-helper +>extra mntray +>basic epiphany +>extra firefox +>extra firefox-gnome-theme-maia +>extra rygel +gdm +manjaro-gdm-theme +gedit +gtksourceview-pkgbuild #highlight for PKGBUILD +#manjaro-gnome-vanilla +gnome-backgrounds +gnome-calculator +gnome-control-center +gnome-desktop +gnome-disk-utility +gnome-firmware +>extra gnome-font-viewer +gnome-keyring +fprintd #need for finger id reader +>extra gnome-online-accounts +>extra gnome-contacts +gnome-screenshot +gnome-session +gnome-settings-daemon +gnome-shell +gnome-shell-extensions +gnome-shell-extension-nightthemeswitcher +gnome-system-log +gnome-system-monitor +gnome-terminal +gnome-themes-standard +gnome-tweak-tool +>extra gnome-user-docs +>extra gnome-user-share +gnome-wallpapers +gparted +papirus-maia-icon-theme +>extra gnome-calendar +>extra evolution-data-server +>extra gnome-characters +>extra gnome-clocks +>extra gnome-weather +>extra gnome-maps +>extra gnome-todo +>extra gtkhash-nautilus +>extra seahorse +file-roller +grilo-plugins +gst-libav +gst-plugins-bad +gst-plugins-base +gst-plugins-good +gst-plugins-ugly +gufw +gvfs-afc +gvfs +gvfs-mtp +gvfs-google +gvfs-smb +ibus +inxi +>extra etcher +#cli tool# +pacui +mc +manjaro-ranger-settings +bmenu +######## +manjaro-alsa +manjaro-artwork +>extra wallpapers-2018 +>extra manjaro-wallpapers-18.0 +>extra wallpapers-juhraya +illyria-wallpaper +>extra libreoffice-still +manjaro-browser-settings +manjaro-dynamic-wallpaper +manjaro-settings-manager-notifier +manjaro-gnome-assets +>extra gnome-layout-switcher +manjaro-hotfixes +manjaro-pulse +manjaro-hello +manjaro-application-utility +mesa-demos +mobile-broadband-provider-info +modemmanager +mousetweaks +>multilib lib32-mesa-demos +mutter +nautilus +nautilus-admin +nautilus-empty-file +netctl +networkmanager-openconnect +networkmanager-openvpn +networkmanager-pptp +networkmanager-vpnc +nss-mdns +numlockx +openresolv +#gnome-software-snap +#>extra flatpak +#>extra bauh +pamac-gtk +#>extra snapd +>extra snapd-glib +>extra pamac-snap-plugin +>extra pamac-flatpak-plugin +pamac-gnome-integration +polkit-gnome +powertop +pulseaudio-bluetooth +pulseaudio-ctl +pulseaudio-zeroconf +>extra simple-scan +>basic squashfs-tools +sushi +alsa-utils +avahi +networkmanager +ntp +openssh +terminus-font-otb +totem +tracker +tracker-miners +>extra noto-fonts-compat +noto-fonts # default font +>extra noto-fonts-cjk # asian fonts - needed big package, ~76 mb compressed +qgnomeplatform +ttf-dejavu +ttf-droid +ttf-inconsolata +ttf-indic-otf +ttf-liberation +usb_modeswitch +>extra vino +xdg-user-dirs +xdg-user-dirs-gtk +xdg-utils +xf86-input-elographics +xf86-input-evdev +xf86-input-libinput +xf86-input-void +xf86-video-amdgpu +xorg-server +xorg-twm +xorg-xinit +>extra xf86-input-wacom #support for tablet and pen display ( wacom ecc. ) +>extra yelp +>extra caffeine-ng +>extra libappindicator-gtk3 + +#extra depends for file-roller +>extra gnome-getting-started-docs +>extra p7zip +>extra unrar +>extra unace +>extra lrzip +>extra gtk3-print-backends +>extra geary +>extra gnome-calendar +>extra evolution-data-server +>extra lollypop +>extra transmission-gtk +>extra manjaro-documentation-en +#>extra jre8-openjdk +#>extra jre8-openjdk-headless +>extra libdvdcss +>x86_64 >extra steam-manjaro +>extra manjaro-printer +>extra simple-scan +>extra ffmpegthumbnailer +>extra timeshift +>extra kernel-alive +>extra gnome-shell-extension-gsconnect + +>basic lighter-gnome +>basic disable-tracker + +## OEM +calamares +calamares-oem-modules +calamares-oem-bldbk-gnome-settings diff --git a/oem/beelink-oem-gnome/Packages-Live b/oem/beelink-oem-gnome/Packages-Live new file mode 100644 index 00000000..a6851f29 --- /dev/null +++ b/oem/beelink-oem-gnome/Packages-Live @@ -0,0 +1,5 @@ +grub-theme-live-manjaro +manjaro-live-skel +manjaro-live-systemd +mkinitcpio-nfs-utils +nbd diff --git a/oem/beelink-oem-gnome/Packages-Root b/oem/beelink-oem-gnome/Packages-Root new file mode 120000 index 00000000..60cc7bde --- /dev/null +++ b/oem/beelink-oem-gnome/Packages-Root @@ -0,0 +1 @@ +../../shared/Packages-Root \ No newline at end of file diff --git a/oem/beelink-oem-gnome/desktop-overlay/etc/X11/xorg.conf.d/30-touchpad.conf b/oem/beelink-oem-gnome/desktop-overlay/etc/X11/xorg.conf.d/30-touchpad.conf new file mode 100644 index 00000000..4bd1a175 --- /dev/null +++ b/oem/beelink-oem-gnome/desktop-overlay/etc/X11/xorg.conf.d/30-touchpad.conf @@ -0,0 +1,6 @@ +Section "InputClass" + Identifier "touchpad" + Driver "libinput" + MatchIsTouchpad "on" + Option "Tapping" "on" +EndSection diff --git a/oem/beelink-oem-gnome/desktop-overlay/etc/environment b/oem/beelink-oem-gnome/desktop-overlay/etc/environment new file mode 100644 index 00000000..52602862 --- /dev/null +++ b/oem/beelink-oem-gnome/desktop-overlay/etc/environment @@ -0,0 +1,19 @@ +# +# This file is parsed by pam_env module +# +# Syntax: simple "KEY=VAL" pairs on separate lines +# + +QT_AUTO_SCREEN_SCALE_FACTOR=1 + +QT_QPA_PLATFORMTHEME="gnome" + +QT_STYLE_OVERRIDE="kvantum" + +# Force to use Xwayland backend +# QT_QPA_PLATFORM=xcb + +#Not tested: this should disable window decorations +# QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + +EDITOR=/usr/bin/nano diff --git a/oem/beelink-oem-gnome/desktop-overlay/etc/gdm/custom.conf b/oem/beelink-oem-gnome/desktop-overlay/etc/gdm/custom.conf new file mode 100644 index 00000000..d2556512 --- /dev/null +++ b/oem/beelink-oem-gnome/desktop-overlay/etc/gdm/custom.conf @@ -0,0 +1,16 @@ +# GDM configuration storage + +[daemon] +# Uncoment the line below to force the login screen to use Xorg +WaylandEnable=false + +[security] + +[xdmcp] + +[chooser] + +[debug] +# Uncomment the line below to turn on debugging +#Enable=true + diff --git a/oem/beelink-oem-gnome/desktop-overlay/etc/pam.d/polkit-1 b/oem/beelink-oem-gnome/desktop-overlay/etc/pam.d/polkit-1 new file mode 100644 index 00000000..8807a85d --- /dev/null +++ b/oem/beelink-oem-gnome/desktop-overlay/etc/pam.d/polkit-1 @@ -0,0 +1,10 @@ +#%PAM-1.0 + +auth required pam_env.so +auth sufficient pam_fprintd.so +auth sufficient pam_unix.so try_first_pass likeauth nullok +auth required pam_deny.so +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/oem/beelink-oem-gnome/desktop-overlay/etc/pam.d/sudo b/oem/beelink-oem-gnome/desktop-overlay/etc/pam.d/sudo new file mode 100644 index 00000000..52d351a2 --- /dev/null +++ b/oem/beelink-oem-gnome/desktop-overlay/etc/pam.d/sudo @@ -0,0 +1,9 @@ +#%PAM-1.0 + +auth required pam_env.so +auth sufficient pam_fprintd.so +auth sufficient pam_unix.so try_first_pass likeauth nullok +auth required pam_deny.so +auth include system-auth +account include system-auth +session include system-auth diff --git a/oem/beelink-oem-gnome/desktop-overlay/usr/share/icons/default/index.theme b/oem/beelink-oem-gnome/desktop-overlay/usr/share/icons/default/index.theme new file mode 100644 index 00000000..1270d0d6 --- /dev/null +++ b/oem/beelink-oem-gnome/desktop-overlay/usr/share/icons/default/index.theme @@ -0,0 +1,2 @@ +[Icon Theme] +Inherits=xcursor-breeze diff --git a/oem/beelink-oem-gnome/live-overlay/etc/default b/oem/beelink-oem-gnome/live-overlay/etc/default new file mode 120000 index 00000000..812b9ffe --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/etc/default @@ -0,0 +1 @@ +../../../../shared/manjaro/live-overlay/etc/default \ No newline at end of file diff --git a/oem/beelink-oem-gnome/live-overlay/etc/fstab b/oem/beelink-oem-gnome/live-overlay/etc/fstab new file mode 120000 index 00000000..8750acae --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/etc/fstab @@ -0,0 +1 @@ +../../../../shared/manjaro/live-overlay/etc/fstab \ No newline at end of file diff --git a/oem/beelink-oem-gnome/live-overlay/etc/issue b/oem/beelink-oem-gnome/live-overlay/etc/issue new file mode 120000 index 00000000..c5198056 --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/etc/issue @@ -0,0 +1 @@ +../../../../shared/manjaro/live-overlay/etc/issue \ No newline at end of file diff --git a/oem/beelink-oem-gnome/live-overlay/etc/localtime b/oem/beelink-oem-gnome/live-overlay/etc/localtime new file mode 120000 index 00000000..5df1bb1b --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/etc/localtime @@ -0,0 +1 @@ +../../../../shared/manjaro/live-overlay/etc/localtime \ No newline at end of file diff --git a/oem/beelink-oem-gnome/live-overlay/etc/pam.d b/oem/beelink-oem-gnome/live-overlay/etc/pam.d new file mode 120000 index 00000000..68de5965 --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/etc/pam.d @@ -0,0 +1 @@ +../../../../shared/manjaro/live-overlay/etc/pam.d \ No newline at end of file diff --git a/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/calamares.desktop b/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/calamares.desktop new file mode 100755 index 00000000..40b44648 --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/calamares.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Install Manjaro Linux +GenericName=Live Installer +Comment=Install the operating system to disk +Comment[de]=Manjaro Linux installieren +X-GNOME-Autostart-enabled=true +Exec=kstart5 --fullscreen calamares_polkit +Icon=calamares +Terminal=false +StartupNotify=true +Type=Application +Categories=Qt;System; diff --git a/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/manjaro-hello.desktop b/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/manjaro-hello.desktop new file mode 100644 index 00000000..8d1c8b69 --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/manjaro-hello.desktop @@ -0,0 +1 @@ + diff --git a/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/no-lock-screen.desktop b/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/no-lock-screen.desktop new file mode 100644 index 00000000..014d3eac --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/autostart/no-lock-screen.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Deactive lock screen +Comment=Deactive the gnome lock screen in the live session +Type=Application +Icon=nautilus +Exec=sh -c "gsettings set org.gnome.desktop.screensaver lock-enabled false" + diff --git a/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/manjaro b/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/manjaro new file mode 120000 index 00000000..3a25db6a --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/etc/skel/.config/manjaro @@ -0,0 +1 @@ +../../../../../../shared/manjaro/live-overlay/etc/skel/.config/manjaro \ No newline at end of file diff --git a/oem/beelink-oem-gnome/live-overlay/etc/sudoers.d b/oem/beelink-oem-gnome/live-overlay/etc/sudoers.d new file mode 120000 index 00000000..c784c2a2 --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/etc/sudoers.d @@ -0,0 +1 @@ +../../../../shared/manjaro/live-overlay/etc/sudoers.d \ No newline at end of file diff --git a/oem/beelink-oem-gnome/live-overlay/root/.config/Kvantum/kvantum.kvconfig b/oem/beelink-oem-gnome/live-overlay/root/.config/Kvantum/kvantum.kvconfig new file mode 100644 index 00000000..c470e304 --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/root/.config/Kvantum/kvantum.kvconfig @@ -0,0 +1,2 @@ +[General] +theme=Matchama diff --git a/oem/beelink-oem-gnome/live-overlay/root/.config/qt5ct/qt5ct.conf b/oem/beelink-oem-gnome/live-overlay/root/.config/qt5ct/qt5ct.conf new file mode 100644 index 00000000..372a44a6 --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/root/.config/qt5ct/qt5ct.conf @@ -0,0 +1,24 @@ +[Appearance] +color_scheme_path= +custom_palette=false +icon_theme=Papirus-Adapta-Maia +style=kvantum + +[Fonts] +fixed=@Variant(\0\0\0@\0\0\0\x12\0\x43\0\x61\0n\0t\0\x61\0r\0\x65\0l\0l@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) +general=@Variant(\0\0\0@\0\0\0\x12\0\x43\0\x61\0n\0t\0\x61\0r\0\x65\0l\0l@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) + +[Interface] +activate_item_on_single_click=1 +buttonbox_layout=0 +cursor_flash_time=1000 +dialog_buttons_have_icons=1 +double_click_interval=400 +gui_effects=@Invalid() +menus_have_icons=true +stylesheets=@Invalid() +toolbutton_style=4 +wheel_scroll_lines=3 + +[SettingsWindow] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\x1\x9a\0\0\0\x80\0\0\x3\xd6\0\0\x2\xff\0\0\x1\x9a\0\0\0\xa2\0\0\x3\xd6\0\0\x2\xff\0\0\0\0\0\0\0\0\x5V) diff --git a/oem/beelink-oem-gnome/live-overlay/usr b/oem/beelink-oem-gnome/live-overlay/usr new file mode 120000 index 00000000..8aca2d58 --- /dev/null +++ b/oem/beelink-oem-gnome/live-overlay/usr @@ -0,0 +1 @@ +../../../shared/oem/live-overlay/usr \ No newline at end of file diff --git a/oem/beelink-oem-gnome/profile.conf b/oem/beelink-oem-gnome/profile.conf new file mode 100644 index 00000000..c1d5f724 --- /dev/null +++ b/oem/beelink-oem-gnome/profile.conf @@ -0,0 +1,87 @@ +########################################## +###### use this file in the profile ###### +########################################## + +# use multilib packages; x86_64 only +# multilib="true" + +# use extra packages as defined in pkglist to activate a full profile +# extra="true" + +################ install ################ + +# default displaymanager: none +# supported; lightdm, sddm, gdm, lxdm, mdm +displaymanager="gdm" + +# Set to false to disable autologin in the livecd +# autologin="true" + +# nonfree xorg drivers +# nonfree_mhwd="false" + +# possible values: grub;systemd-boot +# efi_boot_loader="grub" + +# configure calamares for netinstall +# netinstall="false" + +# configure calamares to use chrootcfg instead of unpackfs +# chrootcfg="false" + +# use geoip +# geoip="true" + +# configure calamares for mhwd +mhwd_used="false" + +# configure calamares for oem +oem_used="true" + +windowexp=fullscreen + +# unset defaults to given values +# names must match systemd service names +enable_systemd=('avahi-daemon' 'bluetooth' 'cronie' 'fstrim.timer' 'ModemManager' 'NetworkManager' 'org.cups.cupsd' 'systemd-timesyncd' 'tlp' 'ufw' 'apparmor' 'snapd.apparmor' 'snapd' 'pkgfile–update.timer') + +disable_systemd=('pacman-init') + +# unset defaults to given values +# addgroups="lp,network,power,wheel" +addgroups="lp,network,power,wheel,users,storage,input,audio" + +# add strict snaps: strict_snaps="core core18 gnome-3-28-1804 gtk-common-themes snap-store" +# strict_snaps="" +# add classic snaps: classic_snaps="code" +# classic_snaps="" +# choose the snap channel. Possible options are: stable, candidate, beta, edge +# snap_channel="candidate" + +# the same workgroup name if samba is used +# smb_workgroup="" + +# default system shell is bash +# '/etc/defaults/useradd': " " +# userShell : "/bin/zsh" +# empty value will not be used +user_shell="/bin/zsh" + +################# live-session ################# + +# unset defaults to given value +hostname="manjaro-gnome" + +# unset defaults to given value +# username="manjaro" + +# unset defaults to given value +# password="manjaro" + +# the login shell +# defaults to bash +login_shell="/bin/zsh" + +# unset defaults to given values +# names must match systemd service names +# services in enable_systemd array don't need to be listed here +enable_systemd_live=('manjaro-live' 'pacman-init' 'mirrors-live')