You are not logged in.
hi there,
perhaps somebody has an idea on how to accomplish the following:
i'm using mpd+ncmpcpp to listen to my music. the panel i'm using is dockbarX (dockX standalone) which groups similar windows in one single icon - just like windows' superbar.
this actually is just the way i like it - with the exception of ncmpcpp which of course gets grouped with other opened xterm-windows. but i'd rather have an extra icon for it.
can somebody share his thoughts on this? maybe specify an alternative default terminal-emulator for ncmpcpp? how can it be done? with a bash-script?
any help is welcome. thnak you very much.
Last edited by mumo (2012-11-08 18:47:03)
Offline
Short of using a different teerminal emulator, I think one would have to know what this dockbarX uses to distinguish between programs. Are the *.desktop files used? And if so, maybe you could create one for ncmpcpp? I notice that there is not one standard for that player (as I too use that).
BTW, if you like xterm, you should try rxvt-unicode. It is amazing, and it includes a daemon/client function so that you can esseintially have overhead for only one daemon instead of a bazillion stand alone terminals.
Offline
hi,
dockX indeed supports .desktop-files to be pinned to it.
that's exactly the way i tried to accomplish this
i created music.desktop which links to music.sh which again starts mpd+ncmpcpp. of course it gets grouped in the default terminal icon. and that's where i'm stuck
i just do not have a clue on how to differentiate between those.
i have used urxvt for a while but i have to admit i have never figured out about its benefits^^ might it be easier to accomplish with urxvt?
Offline
I don't think it would be easier to accomplish this with urxvt. I just think it is pretty great, especially since it is extensible with perl scripts, and the daemon/client setup.
I did some thinking (it was dangerous), and what you actually need to do (I think), is have the title of the window changed to a custom title. I can't offhand remember how to do this, or if it is a function of the window manager or what. I have never had a real reason to do this, so I never actually took care of it.
Offline
i guessed it would be problematic ![]()
thought about the window-titlebar as a distinguishing criterion, too - but i seriously have no idea where to go from here...
maybe i'll give sonata a try.i just learned to love ncmpcpp ![]()
Last edited by mumo (2012-11-08 19:26:51)
Offline
Stick with what you want to use, as that is one of the key advantages of being an Arch Linux user I think. I found this with about a second and a half of google use.
Offline
i guess window-titles are just fine the way they are: xterm displays: "username@archdesktop" whereas ncmpcpp reads "artist - title" by default. just how to prevent dockbarX from grouping them anyway? :-/
maybe there is a chance to play with windows rules in compiz (which I use as standalone WM) - but i haven't found anything promising so far.
Offline
From the launchpad FAQ, i seems that it groups by resource class name. Use the xorg-xprop package (command is simply xprop) to find this information. I am not entirely sure, but I think it is what xprop tells you is the class. I think you can use xdotool to set the class name as well.
Keep in mind, that these ideas are merely that, ideas. I do not use dockbarX, so I am really not sure. But these are just things I would try.
Offline