Package Details: prime-switcher 1.0.2-1

Git Clone URL: https://aur.archlinux.org/prime-switcher.git (read-only)
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: 1
Popularity: 0.174125
First Submitted: 2019-03-26 13:02
Last Updated: 2019-03-27 16:18

Latest Comments

x-user commented on 2019-08-15 05:03

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()):