Bug 7072 - firstboot.sh userland script enabled in KDE prevent sound level restoration with next new session
: firstboot.sh userland script enabled in KDE prevent sound level restoration w...
Status: CONFIRMED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-25 13:09 MSD by Svyatoslav Vorona
Modified: 2016-05-25 13:09 MSD (History)
0 users

See Also:
RPM Package: firstboot.sh userland script
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svyatoslav Vorona 2016-05-25 13:09:50 MSD
Description of problem: These files prevents user to restore sound levels at each new sessions:

/etc/skel/.kde4/Autostart/firstboot.sh
/root/.kde4/Autostart/firstboot.sh

For example:

svorona@rosa ~ $ cat /etc/skel/.kde4/Autostart/firstboot.sh
#!/bin/sh
/usr/bin/firstboot_user
svorona@rosa ~ $ cat /usr/bin/firstboot_user
#!/bin/sh 
rm ~/.kde4/Autostart/firstboot.sh
amixer set Master 33%

#(users | grep live) && akonadictl stop && sed -i -e "s/StartServer=true/StartServer=false/" ~/.config/akonadi/akonadiserverrc

#(users | grep -v live) && zenity --question --title "Отключение сервиса индексации akonadi" --text "Вы хотите отключить сервис индексации akonadi ?" && akonadictl stop && sed -i -e "s/StartServer=true/StartServer=false/" ~/.config/akonadi/akonadiserverrc
svorona@rosa ~ $

This means sound level set to 33% anytime even if you changed it in mixer applet in Plasma5. Please find a way to exclude it from userland after system installation, because I need to manually remove this script from System settings -> System start and stop from script list, it's really annoying and may not be too clear for beginners. Please find a way to remove it now or with next Rosa version.


Version-Release number of selected component (if applicable): ROSA.Fresh R7 Plasma 5.


How reproducible: Install fresh system, login to new user. Set plasma session dispatcher to start from blank session next time, change mixer level. See old 33% mixer level in each new session.


Steps to Reproduce:
1.Install fresh system, login to new user
2.Set plasma session dispatcher to start from blank session next time
3.Change mixer level. See old 33% mixer level in each new session