Package Details: prime-switcher 1.0.2-1

Git Clone URL: https://aur.archlinux.org/prime-switcher.git (read-only, click to copy)
Package Base: prime-switcher
Description: Tool (GUI + CLI) to select used GPU for Optimus Laptop
Upstream URL: https://gitlab.com/tuxnvape/prime-switcher
Licenses: GPLv3
Submitter: Wascar
Maintainer: Wascar
Last Packager: Wascar
Votes: 3
Popularity: 0.000000
First Submitted: 2019-03-26 13:02 (UTC)
Last Updated: 2019-03-27 16:18 (UTC)

Latest Comments

MarsSeed commented on 2022-05-17 23:01 (UTC)

Last tagged release was in 2019.

But its main developer has updated it in an untagged commit in 2021. It is available in his personal fork repo:

https://github.com/ajussak/prime-switcher.git

x-user commented on 2019-08-15 05:03 (UTC) (edited on 2019-08-15 05:05 (UTC) by x-user)

SDDM black screen (infinite loop of Xsetup script calling itself).

diff -Naur a/src/switchers.py b/src/switchers.py
--- a/src/switchers.py  2019-03-27 20:05:20.000000000 +0400
+++ b/src/switchers.py  2019-08-01 17:37:50.000000000 +0400
@@ -69,7 +69,7 @@
             # SDDM
             if os.path.exists(sddm_file) and not utils.file_contains(sddm_file,
                                                                      self.get_display_manager_hook_file_path()):
-                utils.write_line_in_file(sddm_file, sddm_file)
+                utils.write_line_in_file(sddm_file, self.get_display_manager_hook_file_path())

     def remove_display_manager_hooks(self) -> None:
         if os.path.exists(self.get_display_manager_hook_file_path()):