LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-18-2017, 11:37 AM   #1
rtlewis1
LQ Newbie
 
Registered: Jul 2017
Posts: 29

Rep: Reputation: Disabled
Cannot Get Audio Control Panel App to Appear


Hi all,

I am an LXDE user, and I really need some help getting a particular media indicator up on my panel. The principle files involved are called indicator-sound, and indicator-sound-gtk2, and work in tandem to act as a system sound indicator - providing easy, drop-down-menu control of the PulseAudio sound daemon. Moreover, the sound menu provides integration with several multimedia players - I've used it, on-and-off for years. Yesterday, I noticed that indicator-sound, along with its indicator-sound-gtk2, still exists in the software repos - so I installed them, and their half-dozen, tiny, dependencies.

My work situation calls for a quick-control feature, of some sort, and his little app has the ability to toggle the active media player's volume and pause features - as if it were a full-fledged system tray. Three days ago, I upgraded to the stable Linux desktop-client for Spotify - which no longer sports a system tray controller - therefore, I must get this indicator for displaying a drop-down, unified sound menu. The few sites providing help, to get it to show up on the panel, explain that - although it used to work for everyone, right out-of-the-box, Unity took it over; and now non-Unity users merely have to change the executive command to get it to launch for their precise distro. Well, I am familiar with that concept - and pointed to the file, and such - but to no avail.

I know it can be done successfully; because I read where LXDE users still enjoy it; and due to the fact that it is still in the repos, I am assuming that users are currently utilizing this on-the-job necessity.

Here is a post where LXDE users (but not I) found success - maybe I missed something:
https://www.reddit.com/r/linux4noobs...onger_working/

A solution, here, would be real a game-changer for the LXDE on-the-job, Spotify users - who need this app to quickly control their music when the phone rings, or the boss or a client walks in, etc. After researching why the new Spotify desktop-client is missing a system tray, I simultaneously found out that many Spotify users were forced to go back to the beta desktop-client because of this new deficit.

My panel is not the standard lxpanel, but alternatively, lxpanelx.

Thank you!

Last edited by rtlewis1; 07-18-2017 at 01:44 PM. Reason: Typo
 
Old 07-18-2017, 04:32 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
If that volume control no longer works, there must be one that does. I'm a bit surprised there is no volume control on the desktop. That doesn't seem right. How are you supposed to control the sound?
 
Old 07-18-2017, 05:19 PM   #3
rtlewis1
LQ Newbie
 
Registered: Jul 2017
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
I'm a bit surprised there is no volume control on the desktop. That doesn't seem right. How are you supposed to control the sound?
Hahaha, I agree, AwesomeMachine, you definitely gotta have a volume controller! Rest assured, my LXpanelX panel has a good volume control app; but the pause/play/stop buttons also come with the particular panel app I am currently fighting with - and that is the key feature I need.

We are on the same same wavelength, though - so far as thinking there must be another out there which can do the job. I looked on the major GTK and Linux app sites, and everything is for KDE; archived for years; or strictly for the GNOME3 panel.

Yep, I need a panel app that controls the media player's volume, as well as the pause/play/stop buttons.

Thanks for checking in anyway!
 
Old 07-18-2017, 09:24 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Integrating pause/play/stop may be the difficulty, because those functions would vary depending on which player was being used. The volume control would require some means to find out which player was being used, and would then need to know exactly how that specific player executes pause/play/stop.
 
Old 07-18-2017, 10:24 PM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: IceWM on Debian
Posts: 5,489

Rep: Reputation: Disabled
can I chip in please....

I use KDE and have a multimedia kb which has buttons above the function buttons. If I start vlc and press next track button it works without any config.

but just as easlily, if OP can handle VLC, I can leave vlc on its own window and just click the next file etc, raise volumes within vlc etc

ie mouse control

If OP really wants to use kb shortcuts he/she might like to know they are openbox controlled as per
http://xahlee.info/linux/linux_lxde_...shortcuts.html

so make a backup of your current files

read what your current kb shortcuts are....you may like to change them and then have some kind of memory system of what letters in combo with
ctrl or shift etc get to do things (modifier keys)

eg shift + n could mean forward next track
shift + b back one track

but how that interacts with which media player I have clueless

ok some info here and here
http://wiki.linuxquestions.org/wiki/...yboard_symbols
https://wiki.archlinux.org/index.php...ultimedia_keys

still clueless on next track but volume changes seem to be solvable

Last edited by aus9; 07-18-2017 at 10:32 PM.
 
Old 07-19-2017, 01:06 AM   #6
rtlewis1
LQ Newbie
 
Registered: Jul 2017
Posts: 29

Original Poster
Rep: Reputation: Disabled
AwesomeMachine & aus9, I highly appreciate your advice and other direction. I filed the LXDE KB links on my speed dial page for LXDE-necessities - good stuff, thanks!

My LXpanelX already furnishes a simple volume/mute drop-down, by default - so, at least I have that. What I really need is for, maybe, someone to check out the link I posted up top - here it is again: https://www.reddit.com/r/linux4noobs...onger_working/; and help me see what I am missing with the LXDE solution presented right there. Or, perhaps a configuration is simply a tiny bit different now, since that link is a few years old.

The panel app I need, and have used in the past, is available - I just appear to require help getting it to show up on my panel, and then work.

Now if another panel-drop-down app sports those needed control buttons (pause/play/stop buttons + volume) - like this app I have been struggling with - then I'll happily install it and shut-up already, hahaha! I have already been on an exhaustive hunt though

Last edited by rtlewis1; 07-19-2017 at 01:14 AM.
 
Old 07-19-2017, 01:06 AM   #7
rtlewis1
LQ Newbie
 
Registered: Jul 2017
Posts: 29

Original Poster
Rep: Reputation: Disabled
Duplicate Reply Edited Out.

Last edited by rtlewis1; 07-19-2017 at 01:12 AM. Reason: Duplicate Reply
 
Old 07-19-2017, 07:05 PM   #8
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: IceWM on Debian
Posts: 5,489

Rep: Reputation: Disabled
generally speaking light DE/WM and applets designed for a larger DE/WM do not always work well/

I would suggest the first thing to do is to make sure alsamixer card order sees your preferred device as card 0.

so

Code:
aplay -l
if this list is huge like that poster had 3 devices, if they are all intel sound devices you can disable them

--if you are not sure if both or all are intel based run

alsamixer -c0 top LH corner for card will reveal intel....press F6 other cards will reveal their make too

most people have the order as hdmi then analog so try this first....change order if its reversed (most don't have 3 devices but that just needs a third string)

Code:
sudo echo 'options snd_hda_intel enable=0,1' > /etc/modprobe.d/intel.conf
now full reboot of computer

alsamixer -c1 will now show nothing as that card no longer exists

Code:
alsamixer -c0
will now show the analog card

2) I gather you are not running pulseaudio (PA)?
 
Old 07-19-2017, 07:09 PM   #9
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: IceWM on Debian
Posts: 5,489

Rep: Reputation: Disabled
also do you have indicator successfully?

does applet start?

Last edited by aus9; 07-19-2017 at 07:21 PM.
 
Old 07-20-2017, 12:53 PM   #10
rtlewis1
LQ Newbie
 
Registered: Jul 2017
Posts: 29

Original Poster
Rep: Reputation: Disabled
Hi aus9,

I do have Pulseaudio, and everything, in that regard, is working properly. The GTK panel app, at issue, is merely not being recognized via the argument I am using to point to the executable file: Exec=/usr/lib/indicator-sound-gtk2/indicator-sound-service

This method is all based on tutorials/workarounds to get this popular app (and only one of its kind) up on different distros' panels. I took what different sites were posting, and realized they were all replacing the default arguments to commands pointing to wherever that particular distro put the indicator-sound-service file.

Everyone on these sites had success with this method; so I just figure I missed a step that these posters assumed readers/users already had configured... or something.

Your help is golden though; and I hope this points you to where you may discover my error. I was going just uninstall this stuff and do without, for now; but I'll leave these packages installed, for a little longer, to see if there is anything fruitful which pops up. Everything pertaining to the debacle (packages, etc.) starts at the top of this posting.

As alwalys, thank you for your assistance!

Last edited by rtlewis1; 07-20-2017 at 12:56 PM. Reason: Left something out
 
Old 07-20-2017, 06:49 PM   #11
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: IceWM on Debian
Posts: 5,489

Rep: Reputation: Disabled
ahh well if you think your pathway is wrong why not search it?

Code:
sudo su
updatedb
locate indicator-sound-service > /tmp/iss.txt
locate indicator-sound > /tmp/IS.txt
then read those text files and check them against your config

I am now sure how big the lists will be which is why I put them into a text file instead of piping them into less
 
Old 07-20-2017, 08:36 PM   #12
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
You also might want to manually start the control and see if it shows up.
 
Old 07-21-2017, 10:33 AM   #13
rtlewis1
LQ Newbie
 
Registered: Jul 2017
Posts: 29

Original Poster
Rep: Reputation: Disabled
Well, I did that the other day -
Quote:
manually start the control
- and it I said something was out of sink. I put a SUSE build in a laptop of mine, to go at this (self imposed) problem with another box. When I get the darn thing to finally configure its wifi connection, I'll start over with some of this latest advice.
That will be in a few hours; and in the mean time, know that you are highly appreciated - regardless of the turnout - you help me discover more of the world of Linux. After over 2 years with it - a college-level Linux OS class - and most of that time building OS's from scratch over at Suse Studio, I still feel like a 1st-month newbie with this one (and lots of other stuff).
 
Old 07-21-2017, 10:08 PM   #14
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
OK, good luck.
 
Old 07-23-2017, 01:06 PM   #15
rtlewis1
LQ Newbie
 
Registered: Jul 2017
Posts: 29

Original Poster
Rep: Reputation: Disabled
Hi again AwesomeMachine,

That did nothing, so I went on ahead and installed Lubuntu on that laptop - owing to the fact that it is Ubuntu-based - just like the panel app. Plus, the whole set of these same indicator packages is already pre-installed on that model of LXDE. Nevertheless, nothing happens when you click on Lubuntu's version of my needed audio-app either; so I just uninstalled that temporary OS out of frustration (instead of spending another several hours tearing Lubuntu apart looking for their fix - which isn't even my type of LXDE to begin with - yielding me the potential for new, additional, crossover tweaks - absolute madness).

I'll re-visit all of this - as I generally do with these sorts of things - soon enough; and I'll get you going again - if you have interest in the progress of such an elusive quest as this have proven to be.

Thanks!

Last edited by rtlewis1; 07-23-2017 at 01:13 PM. Reason: Typo
 
  


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
Problems with front panel audio and audio capture KGigi Linux - Hardware 3 07-26-2011 10:37 AM
Panel Replacement App dosnlinux Linux - Software 2 02-04-2007 04:42 PM
In search of a cost-control app for 3g/GPRS - bandwidth control and limiting per app motin Linux - Software 0 09-07-2006 06:50 AM
Control center (control panel) WayneS SUSE / openSUSE 2 09-04-2006 03:53 PM
Panel-like terminal app? Tylerious Linux - Software 3 12-06-2005 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:47 PM.

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