Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you have KDE set up to restore the last session, then kmix will start up in the same state it was in when you last logged out. I take advantage of this to have kmix start up minimized. I do NOT have kmix or anything else in KDE's autostart folder, I just rely upon the session restore feature to restart programs like kmix or gaim which I have in the background.
On my KDE desktop, whatever is open when I logout stays that way at startup/login for my user. I minimized kmix to the tray and then I logged out. Anytime I reboot or log back in, kmix is in the tray.
Similarly, if I leave a konsole open and logout, next time I login there will be a konsole already open.
You are, of course, right. Problem is, I am playing around with restoring saved session (as opposed to last), as I sometimes switch form single to dual display and back (saving the session manually on that switch). As such, I need to have the Restore Manually Saved Session enabled.
As a normal logout doesn't seem to manually save the session, this won't be restored, so I was hoping that there was some way of telling kmix to start minimised. All I can find placement and size (--geometry), though no minimising.
kmix has -options you can pass to it to force it to minimize. I remember writing a little one-line script to do this and stuck it in KDE's autostartup folder. I did this because I didn't want to use the save session method for a custom Knoppix CD I built. I wanted kmix to have the default behavior of minimizing itself. for the default user. And I put the script in the KDE autostartup of the /etc/skel configuration too, so new user's would inherit the script in their KDE configs.
kmix has -options you can pass to it to force it to minimize. I remember writing a little one-line script to do this and stuck it in KDE's autostartup folder. I did this because I didn't want to use the save session method for a custom Knoppix CD I built. I wanted kmix to have the default behavior of minimizing itself. for the default user. And I put the script in the KDE autostartup of the /etc/skel configuration too, so new user's would inherit the script in their KDE configs.
# XMMS
###
# TV
Control Mod1 e :ExecCommand dcop kmix Mixer0 decreaseVolume 6
Control Mod1 r :ExecCommand dcop kmix Mixer0 increaseVolume 6
Control Mod1 t :ExecCommand dcop kmix Mixer0 decreaseVolume 0
Control Mod1 y :ExecCommand dcop kmix Mixer0 increaseVolume 0
Control Mod1 m :ExecCommand /home/acrequy/bin/setmute.sh
Control Mod1 a :ExecCommand /home/acrequy/bin/mplayer-tv
Control Mod1 q :ExecCommand xawdecode -plugin /usr/local/lib/libxawdecode.so
Control Mod1 o :ExecCommand killall mplayer
Control Mod1 z :ExecCommand /home/acrequy/bin/mplayer-cam
Control Mod1 x :ExecCommand killall aplay ; killall artsd ; xmms-shell -e play
Control Mod1 w :ExecCommand xmms-shell -e previous
Control Mod1 b :ExecCommand xmms-shell -e next
Control Mod1 c :ExecCommand xmms-shell -e pause
Control Mod1 v :ExecCommand xmms-shell -e stop
Control Mod1 n :ExecCommand xmms-shell -e rand
Control Mod1 q :ExecCommand xmms-shell -e "xmmsquit"
Control Mod1 Up :ExecCommand xmms-shell -e "+"
Control Mod1 Down :ExecCommand xmms-shell -e "-"
#Control PgUp :ExecCommand xmms-shell -e upvolume
#Control PageDown :ExecCommand xmms-shell -e rand
#Control Mod1 w :ExecCommand xmms-shell -e "window main toggle"
#Control Mod1 e :ExecCommand xmms-shell -e "window playlist toggle"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.