From 41e1a43616cbdd12ac6a32fd12172748bc1aa336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Tue, 3 Dec 2019 15:05:00 +0100 Subject: [PATCH] [manjaro] add plasma-mobile profile --- manjaro/plasma-mobile/Packages-Desktop | 126 ++++++++++++++++ manjaro/plasma-mobile/Packages-Live | 1 + manjaro/plasma-mobile/Packages-Mhwd | 1 + manjaro/plasma-mobile/Packages-Root | 1 + .../desktop-overlay/etc/pam.d/sddm | 8 ++ .../desktop-overlay/etc/sddm.conf | 129 +++++++++++++++++ .../etc/sysctl.d/50-max_user_watches.conf | 1 + .../usr/share/icons/default/index.theme | 2 + .../plasma-mobile/live-overlay/etc/default | 1 + manjaro/plasma-mobile/live-overlay/etc/fstab | 1 + manjaro/plasma-mobile/live-overlay/etc/issue | 1 + manjaro/plasma-mobile/live-overlay/etc/pam.d | 1 + .../etc/skel/.config/kcmdisplayrc | 9 ++ .../etc/skel/.config/kscreenlockerrc | 3 + .../live-overlay/etc/skel/.config/kwalletrc | 11 ++ .../live-overlay/etc/skel/.config/manjaro | 1 + .../live-overlay/etc/xdg/kdeglobals | 136 ++++++++++++++++++ manjaro/plasma-mobile/profile.conf | 81 +++++++++++ 18 files changed, 514 insertions(+) create mode 100644 manjaro/plasma-mobile/Packages-Desktop create mode 120000 manjaro/plasma-mobile/Packages-Live create mode 120000 manjaro/plasma-mobile/Packages-Mhwd create mode 120000 manjaro/plasma-mobile/Packages-Root create mode 100644 manjaro/plasma-mobile/desktop-overlay/etc/pam.d/sddm create mode 100644 manjaro/plasma-mobile/desktop-overlay/etc/sddm.conf create mode 100644 manjaro/plasma-mobile/desktop-overlay/etc/sysctl.d/50-max_user_watches.conf create mode 100644 manjaro/plasma-mobile/desktop-overlay/usr/share/icons/default/index.theme create mode 120000 manjaro/plasma-mobile/live-overlay/etc/default create mode 120000 manjaro/plasma-mobile/live-overlay/etc/fstab create mode 120000 manjaro/plasma-mobile/live-overlay/etc/issue create mode 120000 manjaro/plasma-mobile/live-overlay/etc/pam.d create mode 100644 manjaro/plasma-mobile/live-overlay/etc/skel/.config/kcmdisplayrc create mode 100755 manjaro/plasma-mobile/live-overlay/etc/skel/.config/kscreenlockerrc create mode 100644 manjaro/plasma-mobile/live-overlay/etc/skel/.config/kwalletrc create mode 120000 manjaro/plasma-mobile/live-overlay/etc/skel/.config/manjaro create mode 100644 manjaro/plasma-mobile/live-overlay/etc/xdg/kdeglobals create mode 100644 manjaro/plasma-mobile/profile.conf diff --git a/manjaro/plasma-mobile/Packages-Desktop b/manjaro/plasma-mobile/Packages-Desktop new file mode 100644 index 0000000..f084cc1 --- /dev/null +++ b/manjaro/plasma-mobile/Packages-Desktop @@ -0,0 +1,126 @@ +## Network +avahi +networkmanager +networkmanager-openconnect +networkmanager-openvpn +networkmanager-pptp +networkmanager-vpnc +nss-mdns # NSS support for mDNS (optdepend for avahi) +ntp +mobile-broadband-provider-info +modemmanager +openresolv +openssh +samba +usb_modeswitch + +## Libraries for Sound/Audio/Video +alsa-firmware +alsa-utils +ffmpeg +gst-libav +gst-plugins-bad +gst-plugins-base +gst-plugins-good +gst-plugins-ugly +libcanberra +>multilib lib32-libcanberra +libcanberra-pulse +>multilib lib32-libcanberra-pulse +libcanberra-gstreamer +libdvdcss +manjaro-alsa +manjaro-pulse +phonon-qt5-gstreamer +pulseaudio-bluetooth +pulseaudio-ctl +pulseaudio-zeroconf + +## Connect Packages +android-tools +android-udev +gvfs +gvfs-afc +gvfs-gphoto2 +gvfs-mtp +gvfs-nfs +gvfs-smb +kamera +mtpfs +udiskie +udisks2 + +## AUR Support/Development +# Missing base-devel packages +>extra autoconf +>extra automake +>extra binutils +>extra bison +>extra fakeroot +>extra flex +>extra gcc +>extra >multilib gcc-libs-multilib +>extra >multilib gcc-multilib +>extra libtool +>extra m4 +>extra make +>extra patch +>extra pkg-config +>extra >multilib lib32-flex +# Extra packages for AUR support +>extra git +>extra patchutils +>extra subversion +#yaourt + +## Fonts +# cantarell-fonts # Installed as gnome-themes-standard dependency +noto-fonts # default font +noto-fonts-cjk # asian fonts - needed big package, ~76 mb compressed +>extra noto-fonts-emoji +terminus-font +>extra ttf-bitstream-vera +# ttf-dejavu # Installed as gnome-themes-standard dependency +# ttf-hack # Installed as plasma-integration dependency +>extra ttf-inconsolata +>extra ttf-indic-otf +>extra ttf-liberation +>extra ttf-droid + +## Display manager +#sddm +#sddm-kcm + +## Plasma5 +plasma-settings # Settings application and modules. +plasma-camera # Camera application. +marble # Maps application. +koko # Gallery application. +#vvave # Music player. +okular # Document Viewer. +#discover # Software Center. +plasma-angelfish # Webbrowser for phones. +#plasma-samegame # Small example game, pure QML. +#mtp-server # Fork of Ubuntu’s MTP server +kaidan # XMPP based Messenger. +qmlkonsole # Terminal application. +peruse # A comic book viewer. +calindori # Calendar and todo management application. +#plasmatube # Work-in-progress youtube client. +index # File manager. +#plasma-pix # Maui Image Gallery. +#qrca # QR Code scanner. +keysmith # OTP client. + +## Plasma phone components +simplelogin # Display manager for launching the plasma-phone shell +plasma-phone-components # Dialer and Phone shell QtQuick code, application launcher model, etc. +kpeoplevcard # Provides the vCard based contact management backend used by the dialer, plasma-phonebook and others. +plasma-phonebook # Contact management application. +#spacebar # Work-in-progress SMS application. + +## Maui Applications +dialer + +## Optional dependencies for okular +poppler-data # encoding data to display PDF documents containing CJK characters diff --git a/manjaro/plasma-mobile/Packages-Live b/manjaro/plasma-mobile/Packages-Live new file mode 120000 index 0000000..5e66e00 --- /dev/null +++ b/manjaro/plasma-mobile/Packages-Live @@ -0,0 +1 @@ +../../shared/Packages-Live \ No newline at end of file diff --git a/manjaro/plasma-mobile/Packages-Mhwd b/manjaro/plasma-mobile/Packages-Mhwd new file mode 120000 index 0000000..9df3d5e --- /dev/null +++ b/manjaro/plasma-mobile/Packages-Mhwd @@ -0,0 +1 @@ +../../shared/Packages-Mhwd \ No newline at end of file diff --git a/manjaro/plasma-mobile/Packages-Root b/manjaro/plasma-mobile/Packages-Root new file mode 120000 index 0000000..60cc7bd --- /dev/null +++ b/manjaro/plasma-mobile/Packages-Root @@ -0,0 +1 @@ +../../shared/Packages-Root \ No newline at end of file diff --git a/manjaro/plasma-mobile/desktop-overlay/etc/pam.d/sddm b/manjaro/plasma-mobile/desktop-overlay/etc/pam.d/sddm new file mode 100644 index 0000000..1ed30b3 --- /dev/null +++ b/manjaro/plasma-mobile/desktop-overlay/etc/pam.d/sddm @@ -0,0 +1,8 @@ +#%PAM-1.0 + +auth include system-login +auth optional pam_kwallet5.so +account include system-login +password include system-login +session include system-login +session optional pam_kwallet5.so auto_start diff --git a/manjaro/plasma-mobile/desktop-overlay/etc/sddm.conf b/manjaro/plasma-mobile/desktop-overlay/etc/sddm.conf new file mode 100644 index 0000000..9f46d10 --- /dev/null +++ b/manjaro/plasma-mobile/desktop-overlay/etc/sddm.conf @@ -0,0 +1,129 @@ +[Autologin] +# Whether sddm should automatically log back into sessions when they exit +Relogin=false + +# Name of session file for autologin session (if empty try last logged in) +Session=plasma.desktop + +# Username for autologin session +User= + + +[General] +# Halt command +HaltCommand=/usr/bin/systemctl poweroff + +# Input method module +InputMethod= + +# Initial NumLock state. Can be on, off or none. +# If property is set to none, numlock won't be changed +# NOTE: Currently ignored if autologin is enabled. +Numlock=none + +# Reboot command +RebootCommand=/usr/bin/systemctl reboot + + +[Theme] +# Current theme name +Current=breath + +# Cursor theme used in the greeter +CursorTheme=breeze_cursors + +# Number of users to use as threshold +# above which avatars are disabled +# unless explicitly enabled with EnableAvatars +DisableAvatarsThreshold=7 + +# Enable display of custom user avatars +EnableAvatars=true + +# Global directory for user avatars +# The files should be named .face.icon +FacesDir=/usr/share/sddm/faces + +# Theme directory path +ThemeDir=/usr/share/sddm/themes + + +[Users] +# Default $PATH for logged in users +DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin + +# Comma-separated list of shells. +# Users with these shells as their default won't be listed +HideShells= + +# Comma-separated list of users that should not be listed +HideUsers= + +# Maximum user id for displayed users +MaximumUid=60000 + +# Minimum user id for displayed users +MinimumUid=1000 + +# Remember the session of the last successfully logged in user +RememberLastSession=true + +# Remember the last successfully logged in user +RememberLastUser=true + +# When logging in as the same user twice, restore the original session, rather than create a new one +ReuseSession=false + + +[Wayland] +# Enable Qt's automatic high-DPI scaling +EnableHiDPI=false + +# Path to a script to execute when starting the desktop session +SessionCommand=/usr/share/sddm/scripts/wayland-session + +# Directory containing available Wayland sessions +SessionDir=/usr/share/wayland-sessions + +# Path to the user session log file +SessionLogFile=.local/share/sddm/wayland-session.log + + +[X11] +# Path to a script to execute when starting the display server +DisplayCommand=/usr/share/sddm/scripts/Xsetup + +# Path to a script to execute when stopping the display server +DisplayStopCommand=/usr/share/sddm/scripts/Xstop + +# Enable Qt's automatic high-DPI scaling +EnableHiDPI=false + +# The lowest virtual terminal number that will be used. +MinimumVT=1 + +# Arguments passed to the X server invocation +ServerArguments=-nolisten tcp + +# Path to X server binary +ServerPath=/usr/bin/X + +# Path to a script to execute when starting the desktop session +SessionCommand=/usr/share/sddm/scripts/Xsession + +# Directory containing available X sessions +SessionDir=/usr/share/xsessions + +# Path to the user session log file +SessionLogFile=.local/share/sddm/xorg-session.log + +# Path to the Xauthority file +UserAuthFile=.Xauthority + +# Path to xauth binary +XauthPath=/usr/bin/xauth + +# Path to Xephyr binary +XephyrPath=/usr/bin/Xephyr + + diff --git a/manjaro/plasma-mobile/desktop-overlay/etc/sysctl.d/50-max_user_watches.conf b/manjaro/plasma-mobile/desktop-overlay/etc/sysctl.d/50-max_user_watches.conf new file mode 100644 index 0000000..afb47d1 --- /dev/null +++ b/manjaro/plasma-mobile/desktop-overlay/etc/sysctl.d/50-max_user_watches.conf @@ -0,0 +1 @@ +fs.inotify.max_user_watches = 16384 diff --git a/manjaro/plasma-mobile/desktop-overlay/usr/share/icons/default/index.theme b/manjaro/plasma-mobile/desktop-overlay/usr/share/icons/default/index.theme new file mode 100644 index 0000000..05623f3 --- /dev/null +++ b/manjaro/plasma-mobile/desktop-overlay/usr/share/icons/default/index.theme @@ -0,0 +1,2 @@ +[icon theme] +Inherits=xcursor-breeze diff --git a/manjaro/plasma-mobile/live-overlay/etc/default b/manjaro/plasma-mobile/live-overlay/etc/default new file mode 120000 index 0000000..812b9ff --- /dev/null +++ b/manjaro/plasma-mobile/live-overlay/etc/default @@ -0,0 +1 @@ +../../../../shared/manjaro/live-overlay/etc/default \ No newline at end of file diff --git a/manjaro/plasma-mobile/live-overlay/etc/fstab b/manjaro/plasma-mobile/live-overlay/etc/fstab new file mode 120000 index 0000000..8750aca --- /dev/null +++ b/manjaro/plasma-mobile/live-overlay/etc/fstab @@ -0,0 +1 @@ +../../../../shared/manjaro/live-overlay/etc/fstab \ No newline at end of file diff --git a/manjaro/plasma-mobile/live-overlay/etc/issue b/manjaro/plasma-mobile/live-overlay/etc/issue new file mode 120000 index 0000000..c519805 --- /dev/null +++ b/manjaro/plasma-mobile/live-overlay/etc/issue @@ -0,0 +1 @@ +../../../../shared/manjaro/live-overlay/etc/issue \ No newline at end of file diff --git a/manjaro/plasma-mobile/live-overlay/etc/pam.d b/manjaro/plasma-mobile/live-overlay/etc/pam.d new file mode 120000 index 0000000..68de596 --- /dev/null +++ b/manjaro/plasma-mobile/live-overlay/etc/pam.d @@ -0,0 +1 @@ +../../../../shared/manjaro/live-overlay/etc/pam.d \ No newline at end of file diff --git a/manjaro/plasma-mobile/live-overlay/etc/skel/.config/kcmdisplayrc b/manjaro/plasma-mobile/live-overlay/etc/skel/.config/kcmdisplayrc new file mode 100644 index 0000000..32d417f --- /dev/null +++ b/manjaro/plasma-mobile/live-overlay/etc/skel/.config/kcmdisplayrc @@ -0,0 +1,9 @@ +[X11] +exportKDEColors=true +exportKDEFonts=false + +[DisplayEnergy] +displayEnergySaving=false +displayStandby=7 +displaySuspend=13 +displayPowerOff=19 diff --git a/manjaro/plasma-mobile/live-overlay/etc/skel/.config/kscreenlockerrc b/manjaro/plasma-mobile/live-overlay/etc/skel/.config/kscreenlockerrc new file mode 100755 index 0000000..d9c11d9 --- /dev/null +++ b/manjaro/plasma-mobile/live-overlay/etc/skel/.config/kscreenlockerrc @@ -0,0 +1,3 @@ +[Daemon] +Autolock=false +Timeout=0 \ No newline at end of file diff --git a/manjaro/plasma-mobile/live-overlay/etc/skel/.config/kwalletrc b/manjaro/plasma-mobile/live-overlay/etc/skel/.config/kwalletrc new file mode 100644 index 0000000..ba04734 --- /dev/null +++ b/manjaro/plasma-mobile/live-overlay/etc/skel/.config/kwalletrc @@ -0,0 +1,11 @@ +[Wallet] +Close When Idle=false +Close on Screensaver=false +Enabled=false +Idle Timeout=10 +Launch Manager=false +Leave Manager Open=false +Leave Open=true +Prompt on Open=false +Use One Wallet=true + diff --git a/manjaro/plasma-mobile/live-overlay/etc/skel/.config/manjaro b/manjaro/plasma-mobile/live-overlay/etc/skel/.config/manjaro new file mode 120000 index 0000000..3a25db6 --- /dev/null +++ b/manjaro/plasma-mobile/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/manjaro/plasma-mobile/live-overlay/etc/xdg/kdeglobals b/manjaro/plasma-mobile/live-overlay/etc/xdg/kdeglobals new file mode 100644 index 0000000..7909220 --- /dev/null +++ b/manjaro/plasma-mobile/live-overlay/etc/xdg/kdeglobals @@ -0,0 +1,136 @@ +[$Version] +update_info=fonts_global.upd:Fonts_Global + +[ColorEffects:Disabled] +Color=56,56,56 +ColorAmount=0 +ColorEffect=0 +ContrastAmount=0.65 +ContrastEffect=1 +IntensityAmount=0.1 +IntensityEffect=2 + +[ColorEffects:Inactive] +ChangeSelectionColor=true +Color=112,111,110 +ColorAmount=-0.95000000000000007 +ColorEffect=0 +ContrastAmount=0.10000000000000001 +ContrastEffect=0 +Enable=false +IntensityAmount=0 +IntensityEffect=0 + +[Colors:Button] +BackgroundAlternate=224,223,222 +BackgroundNormal=236,236,236 +DecorationFocus=26,188,156 +DecorationHover=54,215,183 +ForegroundActive=155,89,182 +ForegroundInactive=164,166,166 +ForegroundLink=76,107,138 +ForegroundNegative=231,76,60 +ForegroundNeutral=230,126,34 +ForegroundNormal=41,47,52 +ForegroundPositive=52,152,219 +ForegroundVisited=145,61,136 + +[Colors:Selection] +BackgroundAlternate=62,138,204 +BackgroundNormal=26,188,156 +DecorationFocus=26,188,156 +DecorationHover=54,215,183 +ForegroundActive=96,55,113 +ForegroundInactive=222,222,222 +ForegroundLink=0,98,218 +ForegroundNegative=231,76,60 +ForegroundNeutral=168,88,23 +ForegroundNormal=255,255,255 +ForegroundPositive=37,116,165 +ForegroundVisited=145,61,136 + +[Colors:Tooltip] +BackgroundAlternate=196,224,255 +BackgroundNormal=41,47,52 +DecorationFocus=26,188,156 +DecorationHover=54,215,183 +ForegroundActive=155,89,182 +ForegroundInactive=164,166,166 +ForegroundLink=126,178,230 +ForegroundNegative=231,76,60 +ForegroundNeutral=230,126,34 +ForegroundNormal=247,247,247 +ForegroundPositive=52,152,219 +ForegroundVisited=145,61,136 + +[Colors:View] +BackgroundAlternate=248,247,246 +BackgroundNormal=255,255,255 +DecorationFocus=26,188,156 +DecorationHover=54,215,183 +ForegroundActive=155,89,182 +ForegroundInactive=164,166,166 +ForegroundLink=76,107,138 +ForegroundNegative=231,76,60 +ForegroundNeutral=230,126,34 +ForegroundNormal=41,47,52 +ForegroundPositive=52,152,219 +ForegroundVisited=145,61,136 + +[Colors:Window] +BackgroundAlternate=218,217,216 +BackgroundNormal=236,236,236 +DecorationFocus=54,215,183 +DecorationHover=26,188,156 +ForegroundActive=155,89,182 +ForegroundInactive=164,166,166 +ForegroundLink=76,107,138 +ForegroundNegative=231,76,60 +ForegroundNeutral=230,126,34 +ForegroundNormal=41,47,52 +ForegroundPositive=52,152,219 +ForegroundVisited=145,61,136 + +[General] +shadeSortColumn=true +BrowserApplication=firefox +ColorScheme=Breath +Name=Breath +fixed=Noto Mono,9,-1,0,50,0,0,0,0,0 +font=Noto Sans,10,-1,5,50,0,0,0,0,0 +menuFont=Noto Sans,10,-1,5,50,0,0,0,0,0 +smallestReadableFont=Noto Sans,8,-1,5,50,0,0,0,0,0 +toolBarFont=Noto Sans,9,-1,5,50,0,0,0,0,0 +XftAntialias=true +XftHintStyle=hintmedium +XftSubPixel=none + +[Icons] +Theme=breath + +[KDE] +ChangeCursor=true +ColorScheme=Breath +contrast=7 +LookAndFeelPackage=org.kde.breath.desktop +widgetStyle=breeze + +[WM] +activeBackground=236,236,236 +activeBlend=236,236,236 +activeForeground=41,47,52 +inactiveBackground=236,236,236 +inactiveBlend=236,236,236 +inactiveForeground=159,185,202 + +[KFileDialog Settings] +Breadcrumb Navigation=true + +[PreviewSettings] +MaximumSize=3145728 +camera=true +file=true +fonts=true + +[Directories] +dir_pixmap=/usr/share/pixmaps diff --git a/manjaro/plasma-mobile/profile.conf b/manjaro/plasma-mobile/profile.conf new file mode 100644 index 0000000..ac24813 --- /dev/null +++ b/manjaro/plasma-mobile/profile.conf @@ -0,0 +1,81 @@ +########################################## +###### use this file in the profile ###### +########################################## + +# use multilib packages; x86_64 only +# multilib="true" + +displaymanager="sddm" + +# Set to false to disable autologin in the livecd +# autologin="true" + +# nonfree mhwd drivers +# nonfree_mhwd="true" + +# use extra packages as defined in pkglist to activate a full profile +# extra="false" +# extra="true" + +################ install ################ + +# unset defaults to given value +# efi_boot_loader="grub" + +# configure calamares for netinstall +# netinstall="false" + +# configure calamares to use chrootcfg instead of unpackfs +# chrootcfg="false" + +# use geoip for localization +# geoip='true' + +# 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" + +# unset defaults to given values +# names must match systemd service names +enable_systemd=('avahi-daemon' 'bluetooth' 'cronie' 'ModemManager' 'NetworkManager' 'org.cups.cupsd' 'tlp' 'tlp-sleep' 'haveged' 'apparmor' 'snapd.apparmor' 'snapd') +#enable_systemd=('avahi-daemon' 'bluetooth' 'cronie' 'ModemManager' 'NetworkManager' 'org.cups.cupsd' 'tlp' 'tlp-sleep' 'haveged') +disable_systemd=('pacman-init') + +# unset defaults to given values, +# names must match openrc service names +# enable_openrc=('acpid' 'bluetooth' 'elogind' 'cronie' 'cupsd' 'dbus' 'syslog-ng' 'NetworkManager') +# disable_openrc=() + +# the same workgroup name if samba is used +# smb_workgroup="" + +################# livecd ################# + +# unset defaults to given value +# hostname="manjaro" + +# unset defaults to given value +# username="manjaro" + +# unset defaults to given value +# password="manjaro" + +# the login shell +# defaults to bash +# login_shell=/bin/bash + +# unset defaults to given values +# addgroups="lp,network,power,wheel" + +# 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' 'mhwd-live' 'pacman-init' 'mirrors-live') + +# unset defaults to given values, +# names must match openrc service names +# services in enable_openrc array don't need to be listed here +# enable_openrc_live=('manjaro-live' 'mhwd-live' 'pacman-init' 'mirrors-live')