Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild on a Kinoite base #1

Merged
merged 8 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions config/files/etc/yum.repos.d/charm.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[charm]
name=Charm
baseurl=https://repo.charm.sh/yum/
enabled=1
gpgcheck=1
gpgkey=https://repo.charm.sh/yum/gpg.key
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[KDE]
LookAndFeelPackage=com.valve.vapor.desktop
LookAndFeelPackage=org.kde.breezedark.desktop
widgetStyle=Breeze
SingleClick=false

[General]
Expand All @@ -19,4 +20,4 @@ Theme=Papirus-Dark
# However we cannot ship this file anymore since upstream konsole ships now this file
# https://gitlab.steamos.cloud/jupiter/tasks/-/issues/854
[Desktop Entry]
DefaultProfile=Vapor.profile
DefaultProfile=Dracula.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
L %t/discord-ipc-0 - - - - app/com.discordapp.Discord/discord-ipc-0
8 changes: 8 additions & 0 deletions config/files/overrides/usr/etc/xdg/kdedefaults/kdeglobals
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[General]
ColorScheme=DraculaPurple

[Icons]
Theme=Papirus-Dark

[KDE]
widgetStyle=Breeze
23 changes: 23 additions & 0 deletions config/files/overrides/usr/etc/xdg/kdeglobals
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[KDE]
LookAndFeelPackage=org.kde.breezedark.desktop
widgetStyle=Breeze
SingleClick=false

[General]
ColorScheme=DraculaPurple
TerminalApplication=konsole
TerminalService=org.kde.konsole.desktop
fixed=Fira Code,10,-1,5,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

[Icons]
Theme=Papirus-Dark

# This is a konsole specific setting belonging to /etc/xdg/konsolerc
# However we cannot ship this file anymore since upstream konsole ships now this file
# https://gitlab.steamos.cloud/jupiter/tasks/-/issues/854
[Desktop Entry]
DefaultProfile=Dracula.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
[ActionPlugins][0]
RightButton;NoModifier=org.kde.contextmenu

[ActionPlugins][1]
RightButton;NoModifier=org.kde.contextmenu

[Containments][1]
ItemGeometries-1280x800=
ItemGeometries-1920x1080=
ItemGeometries-2560x1440=
ItemGeometriesHorizontal=
activityId=dded76df-a6c7-4624-a1c8-ad0ec2a333ab
formfactor=0
immutability=1
lastScreen=0
location=0
plugin=org.kde.plasma.folder
wallpaperplugin=org.kde.image

[Containments][2]
activityId=
formfactor=2
immutability=1
lastScreen=0
location=4
plugin=org.kde.panel
wallpaperplugin=org.kde.image

[Containments][2][Applets][21]
immutability=1
plugin=org.kde.plasma.digitalclock

[Containments][2][Applets][21][Configuration][Appearance]
fontWeight=400

[Containments][2][Applets][26]
immutability=1
plugin=org.kde.plasma.panelspacer

[Containments][2][Applets][27]
immutability=1
plugin=org.kde.plasma.panelspacer

[Containments][2][Applets][3]
immutability=1
plugin=org.kde.plasma.kickoff

[Containments][2][Applets][3][Configuration]
PreloadWeight=100
popupHeight=520
popupWidth=657

[Containments][2][Applets][3][Configuration][General]
favoritesPortedToKAstats=true
icon=start-here

[Containments][2][Applets][3][Configuration][Shortcuts]
global=Alt+F1

[Containments][2][Applets][3][Shortcuts]
global=Alt+F1

[Containments][2][Applets][5]
immutability=1
plugin=org.kde.plasma.icontasks

[Containments][2][Applets][6]
immutability=1
plugin=org.kde.plasma.marginsseparator

[Containments][2][Applets][7]
immutability=1
plugin=org.kde.plasma.systemtray

[Containments][2][Applets][7][Configuration]
PreloadWeight=55
SystrayContainmentId=8

[Containments][2][General]
AppletOrder=3;27;5;26;6;7;21

[Containments][8]
activityId=
formfactor=2
immutability=1
lastScreen=0
location=4
plugin=org.kde.plasma.private.systemtray
popupHeight=432
popupWidth=432
wallpaperplugin=org.kde.image

[Containments][8][Applets][10]
immutability=1
plugin=org.kde.kscreen

[Containments][8][Applets][11]
immutability=1
plugin=org.kde.plasma.cameraindicator

[Containments][8][Applets][12]
immutability=1
plugin=org.kde.plasma.clipboard

[Containments][8][Applets][13]
immutability=1
plugin=org.kde.plasma.devicenotifier

[Containments][8][Applets][14]
immutability=1
plugin=org.kde.plasma.keyboardindicator

[Containments][8][Applets][15]
immutability=1
plugin=org.kde.plasma.keyboardlayout

[Containments][8][Applets][16]
immutability=1
plugin=org.kde.plasma.manage-inputmethod

[Containments][8][Applets][17]
immutability=1
plugin=org.kde.plasma.notifications

[Containments][8][Applets][18]
immutability=1
plugin=org.kde.plasma.printmanager

[Containments][8][Applets][19]
immutability=1
plugin=org.kde.plasma.vault

[Containments][8][Applets][20]
immutability=1
plugin=org.kde.plasma.volume

[Containments][8][Applets][20][Configuration][General]
migrated=true

[Containments][8][Applets][23]
immutability=1
plugin=org.kde.plasma.networkmanagement

[Containments][8][Applets][24]
immutability=1
plugin=org.kde.plasma.battery

[Containments][8][Applets][24][Configuration]
PreloadWeight=26

[Containments][8][Applets][25]
immutability=1
plugin=org.kde.plasma.brightness

[Containments][8][Applets][25][Configuration]
PreloadWeight=26

[Containments][8][Applets][9]
immutability=1
plugin=org.kde.kdeconnect

[Containments][8][ConfigDialog]
DialogHeight=540
DialogWidth=720

[Containments][8][General]
extraItems=org.kde.kdeconnect,org.kde.kscreen,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.brightness,org.kde.plasma.cameraindicator,org.kde.plasma.clipboard,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.keyboardlayout,org.kde.plasma.manage-inputmethod,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.notifications,org.kde.plasma.printmanager,org.kde.plasma.vault,org.kde.plasma.volume
knownItems=org.kde.kdeconnect,org.kde.kscreen,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.brightness,org.kde.plasma.cameraindicator,org.kde.plasma.clipboard,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.keyboardlayout,org.kde.plasma.manage-inputmethod,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.notifications,org.kde.plasma.printmanager,org.kde.plasma.vault,org.kde.plasma.volume

[ScreenMapping]
itemsOnDisabledScreens=
screenMapping=
2 changes: 2 additions & 0 deletions config/files/overrides/usr/etc/xdg/plasmarc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Theme]
name=Dracula-Solid
11 changes: 11 additions & 0 deletions config/files/overrides/usr/etc/xdg/plasmashellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[PlasmaTransientsConfig]
PreloadWeight=34

[PlasmaViews][Panel 2]
floating=0

[PlasmaViews][Panel 2][Defaults]
thickness=44

[Updates]
performed=/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/00-start-here-2.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/containmentactions_middlebutton.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_font_settings.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_showseconds_setting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_rename_timezonedisplay_key.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/folderview_fix_recursive_screenmapping.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_migrateiconsetting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_remove_shortcut.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/klipper_clear_config.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/maintain_existing_desktop_icon_sizes.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/mediaframe_migrate_useBackground_setting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/migrate_font_weights.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/move_desktop_layout_config.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/no_middle_click_paste_on_panels.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/systemloadviewer_systemmonitor.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/unlock_widgets.js
8 changes: 8 additions & 0 deletions config/files/overrides/usr/etc/xdg/weston/weston.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[core]
idle-time=0

[shell]
locking=false
clock-format=none
panel-position=none
background-color=0xff000000
11 changes: 11 additions & 0 deletions config/files/usr/bin/system76-scheduler-dbus-proxy
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/bash
DBUS_SERVICE="com.system76.Scheduler"
DBUS_PATH="/com/system76/Scheduler"
DBUS_INTERFACE="com.system76.Scheduler"
DBUS_METHOD="SetForegroundProcess"
dbus-monitor "destination=$DBUS_SERVICE,path=$DBUS_PATH,interface=$DBUS_INTERFACE,member=$DBUS_METHOD" |
while true; do
read method call time sender _ dest serial path interface member
read type pid
[ "$member" = "member=$DBUS_METHOD" ] && qdbus --system $DBUS_SERVICE $DBUS_PATH $DBUS_INTERFACE.$DBUS_METHOD $pid
done
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
[org/gnome/Ptyxis]
audible-bell=false
default-profile-uuid='2871e8027773ae74d6c87a5f659bbc74'
profile-uuids=['2871e8027773ae74d6c87a5f659bbc74']
restore-session=false
restore-window-size=false

[org/gnome/Ptyxis/Profiles/2871e8027773ae74d6c87a5f659bbc74]
opacity=1.0
palette='dracula'

[org/gnome/desktop/interface]
color-scheme='prefer-dark'
cursor-size=24
Expand Down
2 changes: 2 additions & 0 deletions config/files/usr/etc/security/limits.d/memlock.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* hard memlock 2147484
* soft memlock 2147484
102 changes: 102 additions & 0 deletions config/files/usr/etc/system76-scheduler/config.kdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
// Version of the configuration file
version "2.0"

// Autogrouping nullifies nice priorities
autogroup-enabled false

// Latency profiles the kernel's Completely Fair Scheduler
cfs-profiles enable=false {
// The kernel-default values which are ideal for battery life and servers
default latency=6 nr-latency=8 wakeup-granularity=1.0 bandwidth-size=5 preempt="voluntary"

// TKG CFS parameters that make the desktop more responsive
responsive latency=3 nr-latency=10 wakeup-granularity=0.5 bandwidth-size=3 preempt="full"
}

// Monitors and applies process priority adjustments
process-scheduler enable=true {
// How often to reload process assignments. 0 to disable
refresh-rate 60

// Enable realtime process priority adjustment with execsnoop
execsnoop true

// Preset process assignment profiles
assignments {
// Prevent crackling and distortion from the sound server
sound-server nice=-19 sched=(fifo)89 io=(realtime)0 {
"/usr/bin/pipewire"
"/usr/bin/pipewire-pulse"
"/usr/bin/jackd"
"/usr/bin/wireplumber"
}

// Applications with realtime audio processing needs
recording nice=-9 io=(best-effort)0

// Enables pipewire process monitoring and assignments
pipewire nice=-6 io=(best-effort)0

// Video games
games nice=-5 io=(best-effort)0

// Desktop environments
desktop-environment nice=-3 io=(best-effort)0

// Foreground process profile
foreground nice=0 io=(best-effort)0

// Background process profile
background nice=6 io="idle"

// Session services belonging to the user
session-services nice=9 io="idle" {
include cgroup="/user.slice/*.service" parent="systemd"
include cgroup="/user.slice/*/session.slice/*" parent="systemd"
exclude cgroup="/user.slice/*app-dbus*"
}

// System services belonging to root
system-services nice=12 io="idle" {
include cgroup="/system.slice/*"
}

// Package management processes
package-manager nice=15 sched="batch" io="idle"

// CPU-intense background tasks
batch nice=19 sched="idle" io="idle"
}

exceptions {
include descends="chrt"
include descends="gamemoderun"
include descends="ionice"
include descends="nice"
include descends="PluginLoader"
include descends="taskset"
include descends="schedtool"
chrt
coolercontrold
coolercontrol-liqctld
dbus
dbus-broker
gamemoderun
gamescope
input-remapper-service
ionice
joystickwake
lact
nice
otd-daemon
oversteer
PluginLoader
rtkit-daemon
systemd
taskset
schedtool
sunshine
tuned
tuned-ppd
}
}
2 changes: 2 additions & 0 deletions config/files/usr/etc/systemd/zram-generator.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[zram0]
compression-algorithm=zstd
2 changes: 2 additions & 0 deletions config/files/usr/etc/ublue-os/topgrade.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[commands]
"Linux AMDGPU Control Application" = "/usr/libexec/topgrade/lact-update"
Loading