You are not logged in.

#26 2004-06-28 18:58:41

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,751

Re: Change Background Script for Openbox

My threads been hijacked  :cry:

Mr Green


Mr Green

Online

#27 2004-06-28 20:29:13

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Change Background Script for Openbox

dp wrote:

... but i do not use ion! - because of one simple thingy: it organises the windows too stupidely (especially when working with gimp and xsane at the same time)

organises the windows stupidly? I think it does it very well.  gimp, for example here: http://www.archlinux.org/~dusty/gimp-ion-ss.jpg

I have one workspace dedicated to gimp.  I've never used xsane, but you could put it on a separate workspace or tab it up a bit...

I had a lot of trouble with gimp/ion at first but I finally added some kludges that make the windows open in the correct frames:

winprop{
    class = "Gimp",
    name="The GIMP",
    target = "gimpframe1",
}

winprop{
    class = "Gimp",
    role = "gimp-file-open",
    target = "gimpframe2",
}

winprop{
    class = "Gimp",
    role = "gimp-file-save",
    target = "gimpframe2",
}

winprop{
    class = "Gimp",
    role = "gimp-image-window",
    target = "gimpframe2",
}

winprop{
    class = "Gimp",
    role = "gimp-dock",
    target = "gimpframe3",
}
winprop{
    class = "Gimp",
    role = "gimp-crop-tool",
    target = "gimpframe3",
}

Mr. Green:  Hahahahaha now you know what it feels like when we hijack people's threads. I know too, look at the Python 3D thread... wink

Dusty

Offline

#28 2004-06-28 21:09:24

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,366
Website

Re: Change Background Script for Openbox

your gimp-help i will try after the exams (3 weeks), as i really liked ion, but jumping xsane-windows are not really nice, when you intend to do something the fast way (ok, i probably lack a nice config for ion for such apps and never really invested time to make one)

he he ... sorry for your thread, MrGreen :mrgreen:


The impossible missions are the only ones which succeed.

Offline

#29 2004-06-28 21:17:50

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Change Background Script for Openbox

dp wrote:

he he ... sorry for your thread, MrGreen :mrgreen:

No you aren't you're proud. :-P

Offline

#30 2004-06-28 21:33:57

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,366
Website

Re: Change Background Script for Openbox

Dusty wrote:
dp wrote:

he he ... sorry for your thread, MrGreen :mrgreen:

No you aren't you're proud. :-P

maybe a little --- but i'm also really sorry for letting such a bad thing happen in our perfect world (did anybody read the news? anything positive? let's speak about the news, ok? this would change the subject once again - agree? or if you disagree, then we can also discuss the philosophy of disagreeing if you like tongue )


The impossible missions are the only ones which succeed.

Offline

#31 2004-06-28 23:22:52

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Change Background Script for Openbox

I don't know why people disagree at all because as I said http://bbs.archlinux.org/viewtopic.php?p=33097#33097, I am working on a proof of the concept of every statement being both true and false... therefore both sides are right, no?

Dusty

Offline

#32 2004-06-29 10:28:36

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,366
Website

Re: Change Background Script for Openbox

Dusty wrote:

I don't know why people disagree at all because as I said http://bbs.archlinux.org/viewtopic.php?p=33097#33097, I am working on a proof of the concept of every statement being both true and false... therefore both sides are right, no?

Dusty

if right=true, then your theory has an implicite problem: as something must be true and false after it, if it is true, then you cannot be "false" while being "true":

your theory must be also "false" (=wrong) while being true to suit itself ;-)


The impossible missions are the only ones which succeed.

Offline

#33 2004-06-29 11:02:22

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: Change Background Script for Openbox

I used to like to give myself a headache with this one.  I think I only ended up using it for about 10 minutes after I had written it, but here it is for your amusement...

#!/usr/bin/python

import os, random, time, signal

# enable printing debugging to stdout
DBUG = 0

# how many minutes to delay before cycling
DELAY = 1

# tuple of hacks we like
HACKS = (
        'blaster',     # mini space wars clone
        'bouboule',    # splotchy swirling/rotating bubble
        'compass',     # spinning compass
        'critical',    # random vectors
        'cynosure',    # art deco rectangles
        'deluxe',      # growing/shrinking sqaure/star/circle
        'fadeplot',    # swirling pixelized plot
        'flag',        # pixelized waving flag of bitmap/text
        'flame',       # pretty pixel swaths
        'forest',      # fractal trees
        'goop',        # quivering colored splotches
        'grav',        # newtonian gravitational mechanics
        'hyperball',   # spinning wireframe ball
        'hypercube',   # spinning wireframe cube
        'ifs',         # spinning fractal/julia set patterns
        'julia',       # spinning fractal/julia set patterns
        'laser',       # laser floyd (if you're listening to pink floyd)
        'lightning',   # random lightning bolts
        'loop',        # growing loops
        'phosphor',    # green-screen fortune
        'pyro',        # fireworks display
        'rocks',       # flying through asteroid belt
        'rorschach',   # looks like spilled milk
        'sonar',       # Sonar/Radar screen
        'spiral',      # pixelized spirals
        'squiral',     # square spirals?
        'strange',     # strange attractor
        'swirl',       # pretty colors
        'vermiculate', # pretty colored lines
        'vines',       # pixelized razor swirls
        'whirlygig',   # rotating colored dots
        'worm',        # old school hack
        'xjack',       # the shining
        'xmatrix'      # morpheus in the house
)

HACKDIR = '/usr/lib/xscreensaver'
XREFRESH = '/usr/bin/X11/xrefresh'
############### END CONFIG ####################################

while 1:

        # pick a new hack
        hind = random.randrange(len(HACKS))

        hack = HACKDIR + "/" + HACKS[hind]
        if DBUG: print "next hack:", hack

        if os.access(hack, os.F_OK | os.X_OK):

                cmd = [hack , '-root']

                hpid = os.spawnve(os.P_NOWAIT, hack, cmd, os.environ)
                if DBUG: print "PID:", hpid

                # sleep for a bit
                time.sleep(DELAY*60)

                # ok, time to switch hacks
                os.kill(hpid, signal.SIGTERM)

                # refresh the screen
                cmd = [XREFRESH]
                os.spawnve(os.P_WAIT, XREFRESH, cmd, os.environ)

# baal

Follow the link below, sign up, and accept one promotional offer.  If I can get five suckers (err... friends) to do this, I'll get a free iPod.  Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142

Offline

#34 2004-06-29 11:56:43

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,751

Re: Change Background Script for Openbox

Emmm Ok...very nice...

Mr Green  tongue


Mr Green

Online

#35 2004-06-29 14:47:47

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Change Background Script for Openbox

I'm back on ob now green, openbox fast as f$%k!
if you find something faster , speak up!


arch + gentoo + initng + python = enlisy

Offline

#36 2004-06-29 15:47:26

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Change Background Script for Openbox

dp wrote:

if right=true, then your theory has an implicite problem: as something must be true and false after it, if it is true, then you cannot be "false" while being "true":

your theory must be also "false" (=wrong) while being true to suit itself ;-)

No, that's the beauty of it... in fact we're all a messed up bunch of people that don't understand the simple truth: true=false and disagreement exists in the mind only. :-D

Dusty

Offline

#37 2004-06-29 15:48:41

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Change Background Script for Openbox

xerxes2 wrote:

I'm back on ob now green, openbox fast as f$%k!
if you find something faster , speak up!

ion, if you have the courage to learn it.

Offline

#38 2004-06-29 16:48:59

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,751

Re: Change Background Script for Openbox

No only us chickens in here....

Mr Green  tongue


Mr Green

Online

#39 2004-06-29 19:16:58

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Change Background Script for Openbox

Dusty wrote:
xerxes2 wrote:

and after I tried ion(where the hell is wm buttons?)

Hotkeys, dear Swede.

hmm, I was impressed by that gimp screenshot, maybe I should give ion a real try...


arch + gentoo + initng + python = enlisy

Offline

Board footer

Powered by FluxBB