Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
09-21-2013, 04:20 PM
|
#1
|
Member
Registered: Jun 2008
Posts: 399
Rep:
|
Xfce4-mixer in the taskbar of Fluxbox - possible?
I'm asking this question here as I'm hoping there are a good number of people running Fluxbox and/or XFCE4 on Slackware - and someone might know the answer. But if I'm wrong about it, maybe I should move the question to the Software forum?
I run Fluxbox as my main WM - and I've recently discovered that Slackware ships with, among other things, the xfce4-mixer - as part of XFCE4. In XFCE, when the mixer is started, it creates an applet in the toolbar panel in the top right corner of the screen - or I'm not sure what exactly they call it. I was wondering if there is a way to get the mixer to do the same in Fluxbox - so that it displays a speaker icon, which, when clicked, brings up the mixer. When I start xfce4-mixer in Fluxbox, I get the actual mixer, but no icon/applet in the system tray - so when I close it, it disappears completely.
|
|
|
09-21-2013, 04:55 PM
|
#2
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,366
|
SImply add it to your ~/.fluxbox/startup script somewhere ahead of the exec line.
|
|
|
09-21-2013, 04:56 PM
|
#3
|
LQ Newbie
Registered: May 2012
Location: Napier - New Zealand
Distribution: Slackware 64 Current
Posts: 21
Rep: 
|
I am running fluxbox 1.3.5
Dont know about xfce-4 mixer
but i do know that kmix works fine on the fluxbox taskbar
Craig Miles
|
|
|
09-21-2013, 05:27 PM
|
#4
|
Member
Registered: Jun 2008
Posts: 399
Original Poster
Rep:
|
Quote:
Originally Posted by astrogeek
SImply add it to your ~/.fluxbox/startup script somewhere ahead of the exec line.
|
Thanks for the suggestion. I know how to start software automatically when fluxbox starts. However, as per my OP, xfce4-mixer doesn't add an icon in the system tray - so it disappears completely when I close it.
Quote:
Dont know about xfce-4 mixer
but i do know that kmix works fine on the fluxbox taskbar
|
Thanks Craig. I don't have any KDE stuff installed normally - but I'll make a note and install the required libs and kmix to test it.
|
|
|
09-21-2013, 05:46 PM
|
#5
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,366
|
Quote:
Originally Posted by xj25vm
Thanks for the suggestion. I know how to start software automatically when fluxbox starts. However, as per my OP, xfce4-mixer doesn't add an icon in the system tray - so it disappears completely when I close it.
Thanks Craig. I don't have any KDE stuff installed normally - but I'll make a note and install the required libs and kmix to test it.
|
Oops... My mistake, I misread the question.
As Craig, I too am using kmix and it works fine from the Fluxbox toolbar - but no experience with xfce4-mixer.
|
|
|
09-21-2013, 07:28 PM
|
#6
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,366
|
Bump...
Since I had misread that, I have been searching online for a solution, but have found none. So I'll bump this back to the top to see if any Xfce/Flux gurus want to chime in.
I did find several forum posts, including this one that all say that the xfce4-mixer cannot be used in the tray as earlier xfce-mixers could, so not looking good.
I do not use KDE but I install the basic KDE stuff for compat, and have been using kmix with the Fluxbox tray since KDE 3.x. A good option if you installed KDE base.
|
|
|
09-21-2013, 10:01 PM
|
#7
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,932
|
Quote:
I know how to start software automatically when fluxbox starts. However, as per my OP, xfce4-mixer doesn't add an icon in the system tray - so it disappears completely when I close it.
|
This is a shot in the dard, but did you follow it with an ampersand when you added it to the Fluxbox startup file, like this:
Code:
xscreensaver &
conky &
swisswatch &
keepassx &
Alternatively, though it's cumbersome, don't close it, just minimize it.
Last edited by frankbell; 09-21-2013 at 10:04 PM.
|
|
|
09-22-2013, 02:12 AM
|
#8
|
Member
Registered: Jun 2008
Posts: 399
Original Poster
Rep:
|
Quote:
This is a shot in the dard, but did you follow it with an ampersand when you added it to the Fluxbox startup file, like this:
|
I didn't follow it with the ampersand, as I tried it from a terminal window. Surely, if when run from a terminal window, it doesn't create a systemtray icon and it disappears when closed - it won't make any difference if I start it from the Fluxbox startup? Or am I missing something?
Thanks astrogeek for the extra info and research. It's not looking good - but as long as I know there is now way to make it work.
|
|
|
09-22-2013, 02:34 AM
|
#9
|
Member
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Rep: 
|
I dont know answer to your question, I am using hot keys(shortcut buttons) on my keyboard to control volume, mute, and pause, work great, just a suggestion.
|
|
|
09-22-2013, 03:12 AM
|
#10
|
Member
Registered: Jun 2008
Posts: 399
Original Poster
Rep:
|
Thanks number22. I've been using for years alsamixer - and I'm pretty happy with it. But sometimes I install laptops for "regular" users - and although I like Fluxbox, having a little volume icon/applet in the systemtray would be nice.
|
|
|
09-22-2013, 03:17 AM
|
#11
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,366
|
Quote:
Originally Posted by xj25vm
Thanks astrogeek for the extra info and research. It's not looking good - but as long as I know there is now way to make it work.
|
You are welcome.
I also found a BSD forum post that indicated it might be due to missing or moved icons for xfce4-mixer. But I looked on an up to date -current box here and I found a full selection of xfce4-mixer icons under /usr/share/xfce4-mixer/..., so that did not look like a problem to me.
From what I read in other places it appears to me that xfce4-mixer itself does not support the tray placement (but I admit that I do not know how that normally works in any detail).
|
|
|
09-23-2013, 03:01 AM
|
#12
|
Member
Registered: Jun 2008
Posts: 399
Original Poster
Rep:
|
Just when I was about to give up on this one, I stumbled over the following post, which lists not one, but three simple volume icon applications which should work with Fluxbox:
http://forums.bodhilinux.com/index.p...ox-volumeicon/
I've only tried the (aptly named) volumeicon so far - which incidentally is in SBo already. The other two are available in SBo as well.
So far volumeicon is great - it can be configured to mute on click, or to open a volume slider, or to open alsamixer, or to increase/decrease volume when rolling the mouse wheel over it. No funky dependencies or needing gstreamer to work. Exactly what I was after.
Beware - it looks like the server which is hosting the volumeicon download might be misconfigured as the file is corrupted after download. I think it might be defaulting to an ASCII download when using Firefox. However, if done with wget, it seems to come down OK. That slowed me down for a while.
Last edited by xj25vm; 09-23-2013 at 03:02 AM.
Reason: Spelling error
|
|
1 members found this post helpful.
|
09-23-2013, 05:43 PM
|
#13
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,366
|
Hey thanks!
I was not aware of those either. I use fluxbox on all my systems, but as I said my use of kmix is a holdover from KDE 3.x. But I have rid myself of most other KDE-isms so I think I'll try these out while it is on my (limited) mind!
|
|
|
09-24-2013, 03:50 AM
|
#14
|
Member
Registered: Jun 2008
Posts: 399
Original Poster
Rep:
|
What I did was to use volumeicon with xfce4-mixer. Volumeicon offers a simple slider for the main control - and I've configured it to open the full xfce4-mixer on middle-click (I think one or both of the others have their own full mixer though).
Last edited by xj25vm; 09-24-2013 at 03:51 AM.
|
|
|
09-24-2013, 09:16 AM
|
#15
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158
|
xfce4-mixer does not appear in the tray because it is included in the xfce panel as an xfce4-panel plugin (it's not in the tray when running xfce either). You may, however, have your xfce4-panel running under fluxbox if you want to (...but would you?  ).
|
|
|
All times are GMT -5. The time now is 10:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|