[kde] [Bug 380113] New: Plymouth KCM update-alternatives not able to set available themes

Leszek Lesner bugzilla_noreply at kde.org
Tue May 23 09:35:19 BST 2017


https://bugs.kde.org/show_bug.cgi?id=380113

            Bug ID: 380113
           Summary: Plymouth KCM update-alternatives not able to set
                    available themes
           Product: kde
           Version: Git
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: leszek.lesner at web.de
  Target Milestone: ---

Trying to change the plymouth boot splash screen to solar theme. Go to 'System
Settings->Startup and shutdown->Boot Splash' and I select solar theme then
apply. It asks for password. But when hitting ok after providing password it
shows an error message: 
"Unable to authenticate/execute the action: 2, update-alternatives returned
with error condition 2."

The reason for this error is that the solar theme is not "installed" as
alternative in the update-alternatives system. So using the update-alternatives
--set command (line 69 of helper.cpp) will fail for it. In fact it will fail
for every theme that isn't known to update-alternatives. 
This also means if I manually download and extract a theme to plymouths theme
directory I am not able to set it

The best solution would be checking with 
update-alternatives --list default.plymouth 
if it outputs the path of the plymouth theme we want to set. 
If its not in there that means the update-alternatives needs to install the
.plymouth file first before using set.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list