LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-21-2013, 04:20 PM   #1
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Rep: Reputation: 70
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.
 
Old 09-21-2013, 04:55 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,366
Blog Entries: 24

Rep: Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295
SImply add it to your ~/.fluxbox/startup script somewhere ahead of the exec line.
 
Old 09-21-2013, 04:56 PM   #3
cmiles
LQ Newbie
 
Registered: May 2012
Location: Napier - New Zealand
Distribution: Slackware 64 Current
Posts: 21

Rep: Reputation: Disabled
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
 
Old 09-21-2013, 05:27 PM   #4
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by astrogeek View Post
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.
 
Old 09-21-2013, 05:46 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,366
Blog Entries: 24

Rep: Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295
Quote:
Originally Posted by xj25vm View Post
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.
 
Old 09-21-2013, 07:28 PM   #6
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,366
Blog Entries: 24

Rep: Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295
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.
 
Old 09-21-2013, 10:01 PM   #7
frankbell
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
Blog Entries: 28

Rep: Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353
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.
 
Old 09-22-2013, 02:12 AM   #8
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Original Poster
Rep: Reputation: 70
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.
 
Old 09-22-2013, 02:34 AM   #9
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
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.
 
Old 09-22-2013, 03:12 AM   #10
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Original Poster
Rep: Reputation: 70
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.
 
Old 09-22-2013, 03:17 AM   #11
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,366
Blog Entries: 24

Rep: Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295
Quote:
Originally Posted by xj25vm View Post
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).
 
Old 09-23-2013, 03:01 AM   #12
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Original Poster
Rep: Reputation: 70
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.
Old 09-23-2013, 05:43 PM   #13
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,366
Blog Entries: 24

Rep: Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295Reputation: 4295
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!
 
Old 09-24-2013, 03:50 AM   #14
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Original Poster
Rep: Reputation: 70
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.
 
Old 09-24-2013, 09:16 AM   #15
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158

Rep: Reputation: 237Reputation: 237Reputation: 237
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? ).
 
  


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
I want ALSA mixer to stay in taskbar newbiesforever Linux - Software 2 05-01-2013 11:17 AM
[SOLVED] No sound, xfce4-mixer gives error moonfrog Gentoo 4 11-04-2009 02:53 AM
xfce4 and icon for xfce4-mixer vehn Slackware 1 11-15-2008 03:37 PM
Xfce4 Taskbar Clock? RemusX2 Linux - Software 1 02-25-2006 11:09 PM
Xfce4 .. Taskbar plugin DavidTempler Linux - General 2 08-20-2004 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration