LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 05-29-2007, 07:19 PM   #1
Jyde
Member
 
Registered: May 2007
Posts: 72

Rep: Reputation: 16
Start Kmix minimized?


Can't find this anywhere, but hopefully an easy one:

Using KDE, having kmix in my Autostart folder - is there a way to get it to start up minimized, i.e. in the tray?
 
Old 05-29-2007, 07:37 PM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,349

Rep: Reputation: 49
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.
 
Old 05-29-2007, 07:37 PM   #3
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 05-30-2007, 07:12 AM   #4
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Thanks for the quick replies.

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.

Alas, that's a whole different kettle of fish.
 
Old 06-02-2007, 03:21 AM   #5
Xeratul
Senior Member
 
Registered: Jun 2006
Location: Debian Land
Posts: 1,335

Rep: Reputation: 83
(in fluxbox, it might be possible. http://fluxbox-wiki.org/index.php/Ho..._the_apps_file http://www.linuxquestions.org/questi...d.php?t=491448)
 
Old 06-04-2007, 02:28 PM   #6
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Xeratul
I managed to do exactly what I wanted with the KDE windows manager.

I shall still take a look at Fluxbox though, seems neat.

Thanks a lot!
 
Old 06-04-2007, 02:30 PM   #7
Xeratul
Senior Member
 
Registered: Jun 2006
Location: Debian Land
Posts: 1,335

Rep: Reputation: 83
Quote:
Originally Posted by Jyde
I managed to do exactly what I wanted with the KDE windows manager.

I shall still take a look at Fluxbox though, seems neat.

Thanks a lot!
better now :

Code:
sudo apt-get install kdebase-bin
ksystraycmd --startonshow --keeprunning --icon kmix kmix
 
Old 06-04-2007, 04:43 PM   #8
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Better indeed! Thanks!
 
Old 06-04-2007, 11:41 PM   #9
Xeratul
Senior Member
 
Registered: Jun 2006
Location: Debian Land
Posts: 1,335

Rep: Reputation: 83
Quote:
Originally Posted by Jyde
Better indeed! Thanks!
this method is still not perfect, but quite cool indeed.
Too, with fluxbox, you have a .fluxbox/apps that might be well configured

@+
 
Old 06-06-2007, 10:49 AM   #10
arkaine23
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
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.
 
Old 06-06-2007, 01:06 PM   #11
Xeratul
Senior Member
 
Registered: Jun 2006
Location: Debian Land
Posts: 1,335

Rep: Reputation: 83
Quote:
Originally Posted by arkaine23
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.

man kmix

&

http://docs.kde.org/stable/en/kdemul...mix/index.html

are not giving much infos ....

hmm
 
Old 06-06-2007, 01:13 PM   #12
Xeratul
Senior Member
 
Registered: Jun 2006
Location: Debian Land
Posts: 1,335

Rep: Reputation: 83
fluxbox:

Code:
# 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"
 
Old 06-09-2007, 09:02 AM   #13
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by arkaine23
kmix has -options you can pass to it to force it to minimize.
Yes, you can use the --geometry option for a minimised start-up (though it does not minise to the tray, just the taskbar).
 
Old 05-25-2013, 09:41 PM   #14
gi1242
LQ Newbie
 
Registered: Aug 2004
Location: Chicago, USA
Distribution: gentoo
Posts: 3

Rep: Reputation: 0
Try

Code:
kmix --keepvisibility
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kmix window always apears on KDE start falcon56215 Linux - Software 5 04-03-2007 03:36 PM
How to start Rhythmbox 0.9.6 Minimized RAdams Linux - Software 1 01-03-2007 08:42 AM
How to start xmms minimized (iconified) in Fluxbox? BiThian Linux - Desktop 3 10-11-2006 03:17 PM
How To Start A Program Minimized mrclisdue Linux - General 2 04-21-2006 12:01 PM
KDE: kmix no longer start automatic on login Yalla-One Linux - Software 2 11-27-2004 04:22 PM


All times are GMT -5. The time now is 03:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration