This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-10-13 14:39:08 +03:00 committed by GitHub
parent fbb983dc1a
commit 24afa3c31c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 195 deletions

View File

@ -1,4 +1,4 @@
pika-baseos (2.5.2-100pika1) pikauwu; urgency=medium
pika-baseos (2.5.3-100pika1) pikauwu; urgency=medium
* Add optimus commands

View File

@ -115,197 +115,5 @@ Depends: ${misc:Depends},
## Audio and codecs
pika-audio-pipewire | pika-audio-legacy
Recommends: power-profiles-daemon
Conflicts: nvidia-prime
Description: The backbone of PikaOS
Suggests:
## Make pika-gnome-desktop-minimal deps not go to autoremove
# Basic Session
pika-session,
pika-settings,
gdm3,
gnome-shell,
# Gnome VRR Session
gnome-shell-vrr,
mutter-vrr,
# Fonts
fonts-cantarell,
fonts-dejavu-core,
fonts-freefont-ttf,
fonts-liberation,
# Theming
gnome-themes-standard,
gnome-themes-extra,
adwaita-icon-theme-full,
adw-gtk3-theme,
papirus-icon-theme,
sound-theme-freedesktop,
# Plugins
chrome-gnome-shell,
ghostscript-x,
gnome-bluetooth,
gnome-online-miners,
gnome-menus,
gnome-video-effects,
inputattach,
libatk-adaptor,
libcanberra-gtk-module,
libpam-gnome-keyring,
network-manager-pptp-gnome,
network-manager-openvpn-gnome,
appmenu-gtk2-module,
appmenu-gtk3-module,
brltty,
language-selector-gnome,
gnome-remote-desktop,
gnome-shell-extension-legacy-gtk3-theme-scheme-auto-switcher,
gnome-shell-extension-supergfxctl-gex,
nautilus-share,
# Applications
gnome-control-center,
gnome-disk-utility,
gnome-system-monitor,
gnome-terminal | kgx,
nautilus,
fonts-noto-color-emoji,
gnome-shell-extension-manager,
gnome-tweaks,
baobab,
eog,
firmware-manager,
geary,
gnome-text-editor,
gnome-calculator,
gnome-calendar,
gnome-contacts,
gnome-font-viewer,
gnome-power-manager,
gnome-weather,
gnome-photos,
gnome-sushi,
gucharmap,
ibus-table-emoji,
pika-welcome,
seahorse,
simple-scan,
yelp,
pavucontrol,
## Last to replace mime information
file-roller,
## Make pika-kde-desktop-minimal deps not go to autoremove
# Basic Session
kde-plasma-desktop,
kamera,
kgamma5,
svgpart,
plasma-pa,
plasma-nm,
pika-kde-settings,
plasma-workspace-wayland,
kwin-x11,
sddm,
# Fonts
fonts-cantarell,
fonts-dejavu-core,
fonts-freefont-ttf,
fonts-liberation,
fonts-indic,
fonts-kacst-one,
fonts-khmeros-core,
fonts-lao,
fonts-liberation,
fonts-lklug-sinhala,
fonts-noto-cjk,
fonts-noto-color-emoji,
fonts-sil-abyssinica,
fonts-sil-padauk,
fonts-thai-tlwg,
fonts-tibetan-machine,
fonts-ubuntu,
# Theming
breeze,
breeze-icon-theme,
breeze-gtk-theme,
sddm-theme-breeze,
papirus-icon-theme,
sound-theme-freedesktop,
# Plugins
ghostscript-x,
inputattach,
libatk-adaptor,
libcanberra-gtk-module,
appmenu-gtk2-module,
appmenu-gtk3-module,
kdenetwork-filesharing,
kde-zeroconf,
dolphin-plugins,
kdegraphics-mobipocket,
kdegraphics-thumbnailers,
kdeconnect,
kde-cli-tools,
baloo-kf5,
frameworkintegration,
inputattach,
khelpcenter,
khotkeys,
kinfocenter,
kio,
kio-extras,
kmenuedit,
kwrited,
language-selector-common,
bluedevil,
powerdevil,
desktop-file-utils,
kde-config-gtk-style,
kde-config-gtk-style-preview,
kde-config-sddm,
xdg-desktop-portal-kde,
kde-config-tablet,
polkit-kde-agent-1,
go-mtpfs,
kdialog,
kimageformat-plugins,
kio-audiocd,
krdc,
kscreen,
kdialog,
kio-fuse,
kaccounts-integration,
plasma-supergfxctl,
plasma-browser-integration,
dbus-x11,
plasma-widgets-addons,
plasma-wallpapers-addons,
plasma-runners-addons,
plasma-dataengines-addons,
plasma-calendar-addons,
kwin-addons,
kdeplasma-addons-data,
libunity9,
# Applications
kwalletmanager,
print-manager,
fonts-noto-color-emoji,
firmware-manager,
gucharmap,
ibus-table-emoji,
pika-welcome,
pavucontrol-qt,
filelight,
kgpg,
gwenview,
kde-spectacle,
okular,
mpv,
kcalc,
dolphin,
kate,
konsole,
plasma-disks,
plasma-firewall,
plasma-systemmonitor,
plasma-vault,
ksystemlog,
partitionmanager,
gwenview,
## Last to replace mime information
ark,

View File

@ -0,0 +1,4 @@
#! /bin/bash
systemctl disable --now gpu-manager
systemctl mask gpu-manager
systemctl enable --now nvidia-pika-prime

View File

@ -0,0 +1,4 @@
#! /bin/bash
systemctl disable --now nvidia-pika-prime
systemctl unmask gpu-manager
systemctl enable --now gpu-manager

View File

@ -0,0 +1,9 @@
[Unit]
Description=Nvidia prime offload pika-style.
Conflicts=gpu-manager.service
[Service]
ExecStart=rm -rfv /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf
[Install]
WantedBy=multi-user.target