Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
transset without clicking (transset-df)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
upiom
n00b
n00b


Joined: 13 Jan 2005
Posts: 8
Location: Lund, Sweden

PostPosted: Thu Jan 13, 2005 6:35 pm    Post subject: transset without clicking (transset-df) Reply with quote

Hi fellow gentoo'ers

I patched transset so that it doesn't wait for you to click on a window to make it transparent. Instead it makes the window where the cursor currently is transparent. Bind this to a key or mouse-button and you have really easy access to transparent windowses.

I'm planning on adding an increase/decrease-option aswell, than that could be bound to the scrollwheel. But school is starting so I don't know if I have time to. I was also thinking about selecting windowses by name and id but I see that there are already several patches doing this.

Anyways get it from www.forchheimer.se/transset-df/

/daniel
Back to top
View user's profile Send private message
upiom
n00b
n00b


Joined: 13 Jan 2005
Posts: 8
Location: Lund, Sweden

PostPosted: Thu Jan 20, 2005 6:24 pm    Post subject: Reply with quote

I've made some updates to the program.
added flags:
--inc/dec increase/decrease opacity
--max/min set borders if you for instance don't want to be able to decrease to 0
--name select window by name (yep, added it after all for completeness)
--id select window by id

I don't really have any more ideas of what could be added, if you have any just tell me, or code it or whatever. I had an idea of having a config file with preffered flags for windowses with certain names. For instance:

xclock toggle 0.2

In the config would make sure that if you run 'transset-df' and click on xclock it would be the same as running 'transset-df --toggle 0.2'. It does however seem like an awfull lot of work for a very limited usage. If you think this would be usefull: convince me.
Back to top
View user's profile Send private message
nx12
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 193

PostPosted: Tue Feb 01, 2005 8:43 pm    Post subject: Reply with quote

Really nice thingy, and the most important, exactly what I've been looking for, :wink:

I've written an ebuild for all those lazy guys who don't like to do things by hands:
Code:

#Name it transset-df-3.ebuild
#And put it in transset-df dir in your overlay

IUSE=""

S=${WORKDIR}/${P}
DESCRIPTION="Set the transparency levels of windows in an X11 environment the easy way"
HOMEPAGE="http://www.forchheimer.se/transset-df/"
SRC_URI="http://www.forchheimer.se/transset-df/${P}.tar.gz"

SLOT="0"
LICENSE="BSD"
KEYWORDS="~x86 ~ppc ~amd64"

DEPEND=">=x11-base/xorg-x11-6.7.99.902"

src_compile() {
    emake || die "emake failed"
}

src_install() {
    into /usr
    dobin transset-df
    dodoc ChangeLog README
}

_________________
signature sucks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum