Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I've been in a C mood for a for days, and fiddling with Gentoo on my laptop/netbook, I got to thinking I could use a simple little icon in Fluxbox's ...
  1. #1
    Linux User
    Join Date
    Jan 2006
    Posts
    414

    I wrote a little something... thought I'd share it

    I've been in a C mood for a for days, and fiddling with Gentoo on my laptop/netbook, I got to thinking I could use a simple little icon in Fluxbox's system tray that would open alsamixer. It kind of grew from opening an xterm, to embedding a terminal in a gtk window with menus.



    If anyone's interested, the source is here. The usual configure, make, make install, will get it running.

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,142
    This is pretty cool, if I had any use for it, I would download it, but I hardly ever use Alsamixer, usually I setup my machine and hopefully I never need Alsamixer again.
    What a nice dark Desktop you have.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,940
    Cool darkrose.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  4. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    Cool, just what the doctor ordered. Something in my machine made kmix think it is muted, even though it's not. I have sound, but can't control volume through kmix since I had KDE crash on me yesterday.

    So great thanks!!! I installed your fbmix and I can confirm it works on Slackware 12.2 using KDE4.1.3

    I had some simple permission issues, but that I think had more to do with the insane settings on KDE and the problems I am experiencing there. At least, I was able to overcome them and it works.


    I have just two small issue with your tool.
    Everytime I close the fbmix screen in prompts that doing so doesn't quit the program. I can understand that, but after two or three times I am longing for a way to disable that. Yeah, I know, I can edit the source code (heheh, that's the first time I have said that). And maybe I will, cuz that would be the first thing I've done in C....
    Also, pressing [esc] closes alsamixer but doesn't close the window. It would be very useful if pressing [esc] would close the window. I'm not even a newbie when it comes to C, would it be easy to make an adjustment there?



    Also, I really like your screenshot. It looks a bit like my house (the house I want that is, not the house I have )
    Can't tell an OS by it's GUI

  5. #5
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    Quote Originally Posted by MikeTbob View Post
    What a nice dark Desktop you have.
    Yeah it's the first dark desktop I've had that is actually usable The gtk theme is Kupo Finale Dark from gnome-look.

    Quote Originally Posted by Freston View Post
    So great thanks!!! I installed your fbmix and I can confirm it works on Slackware 12.2 using KDE4.1.3
    Woohoo banana! KDE is the last place I expected it to be used, but glad you're finding it usefull.

    I have just two small issue with your tool.
    Everytime I close the fbmix screen in prompts that doing so doesn't quit the program. I can understand that, but after two or three times I am longing for a way to disable that. Yeah, I know, I can edit the source code (heheh, that's the first time I have said that). And maybe I will, cuz that would be the first thing I've done in C....
    Also, pressing esc closes alsamixer but doesn't close the window. It would be very useful if pressing esc would close the window. I'm not even a newbie when it comes to C, would it be easy to make an adjustment there?
    Yep, both things I've noticed, I was thinking of putting a "Don't show this again" checkbox for the first, you can use File->Close or just click on the status icon for now though.
    And I meant to fix the escape issue earlier, got distracted by something - it's not unusual - but yeah, making it close the window is what I was thinking too. Shouldn't be too hard, just gotta catch alsamixer when it closes, which I'm pretty sure there's a vte_terminal callback for.

    Also, I really like your screenshot. It looks a bit like my house (the house I want that is, not the house I have)
    You an' me both.

  6. #6
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    Quote Originally Posted by darkrose
    Woohoo banana! KDE is the last place I expected it to be used, but glad you're finding it usefull.
    Well, you deserve a banana

    As for KDE, well, I always have had my system set up conservatively with a focus on stability first and speed second but one of my partitions was gathering dust and I have five days off so I got bored and decided I'd be a geek and only go with the latest for a chance. It's not my main install, but the dual in the dual boot. Latest Slack, latest Linux (2.6.28-smp), and the latest KDE that I didn't have to build by hand. I even have compiz. Is it ever so slow and unstable, but oh boy it looks good


    Quote Originally Posted by darkrose
    Yep, both things I've noticed, I was thinking of putting a "Don't show this again" checkbox for the first, you can use File->Close or just click on the status icon for now though.
    Checkbox would be perfect! But I have no idea, would that not mean that it would need a ~/.configfile to write to? Not that that is a problem, but it might be easier to just put a line about this in the readme and get rid of the dialog all together.
    Since you put this on the tubes it is good to add a warning, and the checkbox is a very good idea. If on the other hand it's just you and me, well I guess we can manage to remember how to close it

    Quote Originally Posted by darkrose
    And I meant to fix the escape issue earlier, got distracted by something - it's not unusual - but yeah, making it close the window is what I was thinking too. Shouldn't be too hard, just gotta catch alsamixer when it closes, which I'm pretty sure there's a vte_terminal callback for.
    If you come round to it be sure to post an update!


    Quote Originally Posted by darkrose
    You an' me both.
    If ever I get a house like that, you can stay in the guest wing
    Can't tell an OS by it's GUI

  7. #7
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    Here ya go: http://sandbox.ltmnet.com/fbmix-0.1.1.tar.gz
    get rid of the dialogs by starting it with "fbmix -q"
    and hitting escape also closes the window.

  8. #8
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    That is just perfect!

    An action shot: (note the uptime. I am one crash later, compiz )
    Can't tell an OS by it's GUI

  9. #9
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,142
    Freston, which utility is that, on the right side of your screen with the CPU, Memory and Network, I can't remember the name of the one I used,,,is it konky or something like?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  10. #10
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    It's GlassMonitor (0.3.2). It's a superkaramba thing, but it turns out to work in KDE4 also. The borders and background can be made to be fully transparent in KDE3.x (dunno about 4), so it blends in with the desktop real nice
    Can't tell an OS by it's GUI

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •