You are not logged in.

#1 2009-06-23 02:13:44

YamiFrankc
Member
From: Mexico
Registered: 2009-06-19
Posts: 177
Website

Some Openbox questions

Hello.

1.I use xcompmgr and transset for transparency.Its awesome.
But,how i can tweak my configuration files to automatically transparent windows im not focusing?The window im focusing wold be solid.
And,this will not affect urxtv wich is always transparent.

2.I run Openbox from a laptop,so i need to know the batery status.Whats an good and light energy monitor that can run on the tray?

3.Lastly,how i know what "button" my volume wheel is and how to link it to alsa-mixer?

Thanks smile


Thanks and greetings.

Offline

#2 2009-06-23 02:53:17

snoblo
Member
Registered: 2008-05-01
Posts: 47

Re: Some Openbox questions

Sorry I don't know the answer for no 1
2) you can use batterymon or gbatt, neither of which I have used much. I've personally used gnome-power-manager and xfce4-power-manager, but I don't think they would be considered really 'light'. If you want something really light you can make it display the battery status in your conky setup (if you use conky already)
3) usually the buttons are XF86AudioRaiseVolume, XF86AudioLowerVolume, and XF86AudioMute. (you can check yours with the xev command)
This is what I have in my rc.xml inside the keyboard tags

<keybind key="XF86AudioRaiseVolume">
      <action name="execute">
        <execute>amixer -q set Master 5+ unmute</execute>
      </action>
    </keybind>
    <keybind key="XF86AudioLowerVolume">
      <action name="execute">
        <execute>amixer -q set Master 5- unmute</execute>
      </action>
    </keybind>
    <keybind key="XF86AudioMute">
      <action name="execute">
        <execute>amixer -q set Master toggle</execute>
      </action>
    </keybind>

Hope this helps!


pacman is hungry today
My webcomic series about lonely programmers smile

Offline

#3 2009-06-23 04:41:57

YamiFrankc
Member
From: Mexico
Registered: 2009-06-19
Posts: 177
Website

Re: Some Openbox questions

Cool snoblo,thanks a lot smile.
Batterymon is very good,ill use it. gbatt tells me the battery is charging when not tongue.

Your rc.xml helped a lo to,it works smile. Maybe ill mod it a bit to change the Front channel with "Alt+Xf86AudioRaise(lower/mute)volume"

Thanks a lot,again.

Edit:An entire line was a typo

Last edited by YamiFrankc (2009-06-23 04:42:39)


Thanks and greetings.

Offline

#4 2009-06-23 07:01:58

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: Some Openbox questions

qbat is another simple battery manager. It's in the aur as qbat-git I believe.

For your first question, transset as it is doesn't really work for that purpose because you must select the window.

Check out transset-df. It's an expanded version of transset that has some awesome window selecting command line options. You'll then have to figure out how to use it with openbox events. It'll be interesting to get working, but that's a start for you anyway.


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#5 2009-06-26 00:55:26

YamiFrankc
Member
From: Mexico
Registered: 2009-06-19
Posts: 177
Website

Re: Some Openbox questions

Neither qbat or qbat-git works for running it,but im ok with batterymon,its very cool.

Ill check transset-df later,lastly i have spend so many time with my configs that i havent done homework :S.

Now,when i use real transparency with a terminal(any),and move it,i get a "shadow" behind it:
200906251950201280x800s.th.png
How to make them do not appear?


Thanks and greetings.

Offline

#6 2009-06-26 02:06:54

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Some Openbox questions

That's just part of xcompmgr, unfortunately. Someone on the forums posted a script that instantly resizes your terminal window when you launch it, which eliminates that trail.

Bottom line is that you can't have transparency and shadows at the same time with xcompmgr.

Does xcompmgr-dana fix that issue?

Offline

Board footer

Powered by FluxBB