DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th July 2015
mattthumper mattthumper is offline
Real Name: Matt Morrow
Port Guard
 
Join Date: Jul 2015
Location: Virginia, USA
Posts: 20
Question Volume Control Graphical Utility

.

Last edited by mattthumper; 29th July 2015 at 11:05 AM.
Reply With Quote
  #2   (View Single Post)  
Old 28th July 2015
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Openports.se search for mixer
amixer was recently removed. Some media players also have their own mixer/volume controls

Last edited by shep; 29th July 2015 at 02:39 AM.
Reply With Quote
  #3   (View Single Post)  
Old 28th July 2015
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 344
Default

This is what I use, it is in a script file called vol,
Code:
mixerctl outputs.master=$1,$1
run from the terminal as
Code:
./vol 170
Perhaps this would suit you instead of a GUI.
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
  #4   (View Single Post)  
Old 28th July 2015
mattthumper mattthumper is offline
Real Name: Matt Morrow
Port Guard
 
Join Date: Jul 2015
Location: Virginia, USA
Posts: 20
Wink

.

Last edited by mattthumper; 29th July 2015 at 11:05 AM.
Reply With Quote
  #5   (View Single Post)  
Old 28th July 2015
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Not sure what setting you wish to use a volume control in? Are you using a Desktop Environment, a Window manager, FVWM/CMW. Do you want laptop hotkeys, a python script?

My OpenBox hotkeys
Code:
 <!-- Keybindings for Audio Volume -->
    <keybind key="C-Up">
      <action name="Execute">
        <command>mixerctl outputs.master=+12</command>
      </action>
    </keybind>
    <keybind key="C-Down">
      <action name="Execute">
        <command>mixerctl outputs.master=-12 </command>
      </action>
    </keybind>
    <keybind key="C-m">
      <action name="Execute">
        <command>mixerctl outputs.master.mute=toggle</command>
      </action>
    </keybind>
Reply With Quote
  #6   (View Single Post)  
Old 28th July 2015
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

This question is slightly malformed. It's not that OpenBSD provides a graphical volume slider, it's that desktop environments tend to do so. If you're running Gnome3, KDE4, or Xfce4, then you get a slider. If not, then you probably won't.

x11/xfce4/xfce4-mixer will run standalone.
Reply With Quote
  #7   (View Single Post)  
Old 28th July 2015
mattthumper mattthumper is offline
Real Name: Matt Morrow
Port Guard
 
Join Date: Jul 2015
Location: Virginia, USA
Posts: 20
Default

.

Last edited by mattthumper; 29th July 2015 at 11:06 AM.
Reply With Quote
  #8   (View Single Post)  
Old 29th July 2015
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 408
Default

Quote:
Originally Posted by mattthumper View Post
For my desktop OpenBSD(...)
And what is your Desktop Environment ?

Quote:
Originally Posted by ibara View Post
If you're running Gnome3, KDE4, or Xfce4, then you get a slider. If not, then you probably won't.
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD
Reply With Quote
  #9   (View Single Post)  
Old 29th July 2015
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Quote:
Originally Posted by mattthumper View Post
For my desktop OpenBSD, I'd like a graphical volume control that makes the sound coming out of my speakers go up or down.
I already answered this.

Quote:
Originally Posted by ibara View Post
x11/xfce4/xfce4-mixer will run standalone.
Reply With Quote
Old 29th July 2015
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Here is the tray-app website complete with screenshots. It also lists various "trays", that meet freedesktop specs, for fvwm, cwm, xfce4, windowmaker .....

I use it with tint2 -- click the speaker icon on your upper right and a volume slider pops up.

Last edited by shep; 29th July 2015 at 01:21 AM.
Reply With Quote
Old 29th July 2015
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Also in ports:
sysutils/tray-app

And very nice, may I add. I don't need the eject but I've already added battery and sound to my .xsession
Integrates nicely with fluxbox too!

It could use someone to maintain it though...
Reply With Quote
Old 29th July 2015
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Quote:
Does your code above provide a GUI?
These are keybindings, and in the example given, if you hold the control key and press the up arrow, the audio volume on my system will increase. This is from my OpenBox window manager which uses <xml> syntax for the configuration settings. Other window managers use a different syntax - fluxbox uses plain text.

I think you are also not clear on "desktop OpenBSD". The base install for OpenBSD comes with fvwm, cwm and twm as window managers. If you just ran $ startx you will get fvwm which is the global default. If you set your own .xsession you can start twm or cwm.

If your "command line" days are behind you, OpenBSD may not be a good fit for you. Many of the configuration files are set via a terminal and a text editor.

Last edited by shep; 29th July 2015 at 02:53 AM.
Reply With Quote
Old 29th July 2015
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Nah, OpenBSD with a good desktop environment is perfectly fine for someone who doesn't want to use the terminal. I don't think mattthumper is saying no terminal, ever. I think he's just saying minimal terminal usage, if I really need it to set something up, fine.

With that said: I honestly thing you'd be best served by running one of the large desktop environments on your machine. OpenBSD has all three: Gnome3, KDE4, and Xfce4.

Unfortunately, though, there is no GUI package manager, so you will need the terminal to install/uninstall packages.

Code:
# pkg_add gnome
# pkg_add kde4
# pkg_add xfce
Choose any one. All three have graphical volume control.
Reply With Quote
Old 29th July 2015
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 283
Default

I use xmix. it does not have a "slider", but increasing and decreasing volume is a simple left or right-click with the mouse. It is in the collection of packages on the mirrors.
Reply With Quote
Old 30th July 2015
mattthumper mattthumper is offline
Real Name: Matt Morrow
Port Guard
 
Join Date: Jul 2015
Location: Virginia, USA
Posts: 20
Default

Matt,

Have you tried this?
xfce4-mixer

I believe it's just what you're looking for.
It's a simple graphical volume control for OpenBSD.

-Matt
Reply With Quote
Old 30th July 2015
mattthumper mattthumper is offline
Real Name: Matt Morrow
Port Guard
 
Join Date: Jul 2015
Location: Virginia, USA
Posts: 20
Default Solved. Thanks Matt

Quote:
Originally Posted by mattthumper View Post
Matt,

Have you tried this?
xfce4-mixer

I believe it's just what you're looking for.
It's a simple graphical volume control for OpenBSD.

-Matt
Hey Matt, thanks!
You solved it!

Any other future Googlers looking for A SIMPLE GRAPHICAL VOLUME CONTROL for OpenBSD which makes the...now wait for this...
THE SOUND VOLUME GO UP AND DOWN
...well look no further.

Try
pkg_add xfce4-mixer
Then
/usr/local/bin/xfce4-mixer

-Matt
Reply With Quote
Old 30th July 2015
mattthumper mattthumper is offline
Real Name: Matt Morrow
Port Guard
 
Join Date: Jul 2015
Location: Virginia, USA
Posts: 20
Default

Quote:
Originally Posted by mattthumper View Post
Hey Matt, thanks!
You solved it!

Any other future Googlers looking for A SIMPLE GRAPHICAL VOLUME CONTROL for OpenBSD which makes the...now wait for this...
THE SOUND VOLUME GO UP AND DOWN
...well look no further.

Try
pkg_add xfce4-mixer
Then
/usr/local/bin/xfce4-mixer

-Matt
Matt,

No sweat!
Glad I could help.

If you have any other questions, ask me.

-Matt
Reply With Quote
Old 30th July 2015
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 408
Default

Quote:
Originally Posted by mattthumper View Post
Hey Matt, thanks!
You solved it!
Hey Matt, You should learn to read...


Quote:
Originally Posted by ibara View Post
x11/xfce4/xfce4-mixer will run standalone.
ibara solved it just...

... 24 hours before you
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD
Reply With Quote
Old 30th July 2015
mattthumper mattthumper is offline
Real Name: Matt Morrow
Port Guard
 
Join Date: Jul 2015
Location: Virginia, USA
Posts: 20
Default

Quote:
Originally Posted by LeFrettchen View Post
Hey Matt, You should learn to read...




ibara solved it just...

... 24 hours before you
Guff clot jehsuein gig!
Funded. Gggztgj dud ugh ugh fig, voguish?
Gagging get hhjkffty🍟
Gghb'nn

Nbbbhh🍤
Reply With Quote
Old 30th July 2015
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 408
Default

Of course !
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Systray Audio Volume control shep OpenBSD Packages and Ports 2 30th April 2013 02:29 PM
MS DOS volume labels? bigearsbilly FreeBSD General 2 1st April 2009 10:50 PM
Going graphical or not? tamtam FreeBSD General 35 1st November 2008 11:41 PM
mplayer volume cannot increase. bsdnewbie999 OpenBSD General 3 19th June 2008 03:16 PM
Remote backup utility stukov General software and network 18 13th June 2008 08:42 PM


All times are GMT. The time now is 12:44 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick