WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: OSS volume control with jwm  (Read 1832 times)

Offline enoch

  • Full Member
  • ***
  • Posts: 122
OSS volume control with jwm
« on: December 08, 2009, 12:55:01 PM »
I would like to configure jwm to control OSS volume how is this done?

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: OSS volume control with jwm
« Reply #1 on: December 08, 2009, 04:10:20 PM »
You could write a little script to adjust the volume up or down using

ossmix vol <nn>

where <nn> is the desired volume percentage and then put a pair of buttons on the JWM tray (bar).

I think there are some extensions that include volume widgets as well.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline enoch

  • Full Member
  • ***
  • Posts: 122
Re: OSS volume control with jwm
« Reply #2 on: December 08, 2009, 08:55:07 PM »
Thanks Lee, if you know the name of any of these widgets let me know.

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: OSS volume control with jwm
« Reply #3 on: December 09, 2009, 12:31:29 PM »
Sorry to provide less detail than I might have - I wasn't in front of a TC machine yesterday.  I'm still not, but I think the Flit extension provides sound control through OSS.

I'll post a sample script in the programming and scripting section that you can use if you want to look at just using the JWM tray.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar