You are not logged in.
Good evening,
I have been wondering how I can add simple bash commands to the KDE Autostart. I know that, if I put a symbolic link of a binary onto ~/.kde/Autostart, it will be started automatically, but I do not think that this will work for bash scripts, as the one I inserted into ~/.kde/Autostart does not do the job for me (at least I have no intention believing that way, as alsactl restore placed in there does not affect alsa levels).
I would be grateful to get to know a quick explanation how to solve this rather trivial problem.
Regards
cg
celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository
Offline
I just tested you hypothesis that bash scripts do not get executed when placed in ~/.kde/Autostart by adding the following script to mine:
#!/bin/sh
kcalc
after logging out and back in again, kcalc does start up immediately. so the problem isn't that bash scripts don't get executed.
I see two possible things that may be the issue:
the script is not executable
or
at no point have you previously executed alsactl store, so restore can't possibly work. (store must be done as root)
if the latter is the problem, I might point out that the easiest way to save and restore your alsa levels would be to add alsa to your daemons array.
Offline
Thanks for your answer. The problem has therefore to lie somewhere else. The alsa daemon does not solve my problem - it's an ongoing issue, that levels are never restored upon reboot, even with daemon enabled, alsactl store in rc.local.shutdown and alsactl restore in rc.local
celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository
Offline
Check your KMix settings, there's an option "restore sound levels on login" or some such that can mess with alsa levels.
Offline