Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openbox Resource Thread
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
denstark
l33t
l33t


Joined: 02 Jun 2003
Posts: 654
Location: sd.ca.us

PostPosted: Thu Oct 14, 2004 8:26 pm    Post subject: Reply with quote

Yea, my site is down until i get home (2 hours) I guess dyndns likes to randomly cancel my dynamic dns, and i dont know my own ip... when i get home i will update pwnz3r's scripts and also see if i can reach dav1d's website... every time i try to i always get time out errors.
_________________
Blog
Code:
denstark> starbuck authorizes torture?
rokstar> sure they do, you tried their coffee?
Back to top
View user's profile Send private message
denstark
l33t
l33t


Joined: 02 Jun 2003
Posts: 654
Location: sd.ca.us

PostPosted: Thu Oct 14, 2004 11:51 pm    Post subject: Reply with quote

Just tried both pwnz3r's site and dav1d's, and neither are accessible.. will try tomorrow
_________________
Blog
Code:
denstark> starbuck authorizes torture?
rokstar> sure they do, you tried their coffee?
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Fri Oct 15, 2004 4:41 am    Post subject: Reply with quote

denstark wrote:
Just tried both pwnz3r's site and dav1d's, and neither are accessible.. will try tomorrow

Try it again, because my router likes to shit out somtimes.
Back to top
View user's profile Send private message
ap viper
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2004
Posts: 95

PostPosted: Sun Oct 17, 2004 10:25 pm    Post subject: Reply with quote

For practice, I did a gtk theme switcher in c++. Fairly simple, I hope it's fast enough. Instructions in the tarball:
http://apviper.0catch.com/cplusplus/gtkob.html

*Anyone who wants to host it may* 8)
_________________
why the heck are you reading this?
Back to top
View user's profile Send private message
osbourd2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Mar 2004
Posts: 91
Location: Cardiff, UK

PostPosted: Tue Oct 19, 2004 4:31 pm    Post subject: Reply with quote

Theres a few scripts that make a pipe menu with the time and date (for those without a panel/task bar)

https://forums.gentoo.org/viewtopic.php?t=239266
Back to top
View user's profile Send private message
osbourd2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Mar 2004
Posts: 91
Location: Cardiff, UK

PostPosted: Fri Oct 22, 2004 1:51 pm    Post subject: Reply with quote

Just remembered this thread that links to a RSS feed reader that creates a pipe menu with the RSS headlines and click thru's to open the link in a browser of your choice.

https://forums.gentoo.org/viewtopic.php?t=233605&highlight=openbox
Back to top
View user's profile Send private message
denstark
l33t
l33t


Joined: 02 Jun 2003
Posts: 654
Location: sd.ca.us

PostPosted: Fri Oct 22, 2004 4:55 pm    Post subject: Reply with quote

Sorry, Ive been out of the loop for a little bit. Check here for the scripts
_________________
Blog
Code:
denstark> starbuck authorizes torture?
rokstar> sure they do, you tried their coffee?
Back to top
View user's profile Send private message
obot
n00b
n00b


Joined: 16 Sep 2004
Posts: 25
Location: UK

PostPosted: Wed Oct 27, 2004 6:11 pm    Post subject: Reply with quote

Well, I decided to write my request myself, so here it is. I don't have anywhere to host it, so I just pasted it here. This is also my first python script, if it sucks feel free to make it better, if anyone has a nice way to take out the (you aren't root so you can't see everything) message, that would also be helpful.

Code:

#!/usr/bin/env python
# -*- coding: UTF-8 -*-

# Openbox3 Netstat pipe-menu
# Author: Obot
# Version: 0.1

# Thanks to syscrash2k for the template and TDE writer Chip2003 for the netstat command

# Usage:
# Put an entry in your ~/.config/openbox/menu.xml like this:
# <menu id="netstat" label="Netstat" execute="~/Documents/Development/netstat.py" />
# And inside <menu id="root-menu" label="openbox">, add this somewhere (wherever you want it on your menu)
# <menu id="netstat" />
# Don't forget to chmod +x

import sys
from commands import *

cmd = "netstat -pa --numeric-hosts |grep ':' | grep -v unix|grep -v '*'|grep -v '   - ' | sed 's/.*://' | sed 's/ .*   [0-9]/   /' | sed 's/ .*\// /' | sort -u | column -t"
net_stats = getoutput(cmd)
lines = net_stats.split('\n')
   
######################
# openbox pipe menuing
######################

print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
print "<openbox_pipe_menu>"
print "  <item label=\"Port:  Program:\" />"
for line in lines:
   print "  <item label=\"" + line + "\" />"
print "</openbox_pipe_menu>"

_________________
"I don't mean to impose, but I am the ocean."
-The Salton Sea
Back to top
View user's profile Send private message
monotux
l33t
l33t


Joined: 09 Sep 2003
Posts: 751
Location: Stockholm, Sweden

PostPosted: Fri Dec 31, 2004 2:36 pm    Post subject: Reply with quote

Thank you everyone!
This thread is great :D
_________________
Computer science is no more about computers than astronomy is about telescopes.
Back to top
View user's profile Send private message
ahubu
Guru
Guru


Joined: 16 Aug 2003
Posts: 400
Location: Groningen, The Netherlands

PostPosted: Sun Jan 02, 2005 2:18 pm    Post subject: Reply with quote

obot: thanks for the script! (although it seems a bit dirty, doing all those greps in a row) To remove the root-message, you have to redirect the errorstream to null by doing 2>null after the netstat command.

so this will be the cmd line:

Code:

cmd = "netstat -pa --numeric-hosts 2>null |grep ':' | grep -v unix|grep -v '*'|grep -v '   - ' | sed 's/.*://' | sed 's/ .*   [0-9]/   /' | sed 's/ .*\// /' | sort -u | column -t"


works for me!

Pwnz3r: you gtkmenu script gives me this error

Quote:

Traceback (most recent call last):
File "./gtkmenu.py", line 73, in ?
main()
File "./gtkmenu.py", line 56, in main
if sys.argv[1] == "-s":
IndexError: list index out of range


I am no python man (yet), neither did your script tell me what commandline options I should provide. Can you explain?
[/quote]

edit: cut&paste error removed
Back to top
View user's profile Send private message
MrGreen
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 211

PostPosted: Sat Feb 19, 2005 6:44 pm    Post subject: Openbox System Menu Reply with quote

Hi,

I do not know if its too late but I am trying to create a System stats menu (like torsmo) that works from Main Menu (menu.xml)

Thing is I can get basic stuff like System name host & kernel but I am stumped how to get info such as Cpu load etc ....(/proc)

Is anyone interested in creating one or can help me with my version simple as it is???

MrGreen
Back to top
View user's profile Send private message
Legout
n00b
n00b


Joined: 02 Oct 2003
Posts: 11
Location: Wuerzburg/Germany

PostPosted: Wed Jul 20, 2005 5:47 am    Post subject: Reply with quote

Ey MrGreen, you are unfaithfull :wink:

Hi to everybody, i wanna know if this thread is dead???

And denstark where´s ur openbox site gone? was really cool.
Back to top
View user's profile Send private message
MrGreen
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 211

PostPosted: Wed Jul 20, 2005 6:52 am    Post subject: Reply with quote

Legout wrote:
Ey MrGreen, you are unfaithfull :wink:

Hi to everybody, i wanna know if this thread is dead???

And denstark where´s ur openbox site gone? was really cool.


Errr no :lol: ....
Back to top
View user's profile Send private message
ahubu
Guru
Guru


Joined: 16 Aug 2003
Posts: 400
Location: Groningen, The Netherlands

PostPosted: Wed Jul 20, 2005 12:42 pm    Post subject: Reply with quote

Still using openbox, tried switching to loads of other wm's, but I always come back to openbox. The only real contestant is waimea (the new one), but it's not really stable yet (if ever).
_________________
Anne // Light travels faster than sound. That's why people appear bright until
you hear them speak.
-Unknown
Back to top
View user's profile Send private message
denstark
l33t
l33t


Joined: 02 Jun 2003
Posts: 654
Location: sd.ca.us

PostPosted: Thu Aug 04, 2005 10:29 pm    Post subject: Reply with quote

Well, after some server trouble my site is back up and operating. Am looking for all scripters to send me more openbox scripts! :)

The site is now here: http://denstark.homelinux.org/~tim/openbox.php

Please feel free to get whatever from there, and post back here or email me if you want a script put up.

Den
Back to top
View user's profile Send private message
croakinglizard
n00b
n00b


Joined: 11 Jan 2005
Posts: 13

PostPosted: Fri Aug 05, 2005 6:11 am    Post subject: Reply with quote

Hi all. I've been looking for a pipe menu script to show download/upload speed on eth0. Anyone have one or know where to get one? Thanks.
Back to top
View user's profile Send private message
denstark
l33t
l33t


Joined: 02 Jun 2003
Posts: 654
Location: sd.ca.us

PostPosted: Fri Aug 05, 2005 11:15 am    Post subject: Reply with quote

croakinglizard wrote:
Hi all. I've been looking for a pipe menu script to show download/upload speed on eth0. Anyone have one or know where to get one? Thanks.


I'll keep my eyes open, in the mean time this is a much needed bump. I'll see if I can get GaMMa/syscrash/nightm4re to write more scripts :P
Back to top
View user's profile Send private message
rjs
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 146
Location: Oriel College, Oxford

PostPosted: Tue Aug 16, 2005 6:11 pm    Post subject: Reply with quote

denstark wrote:
croakinglizard wrote:
Hi all. I've been looking for a pipe menu script to show download/upload speed on eth0. Anyone have one or know where to get one? Thanks.


I'll keep my eyes open, in the mean time this is a much needed bump. I'll see if I can get GaMMa/syscrash/nightm4re to write more scripts :P


Hey,

When is your website going to be online again? I found it really useful a while ago, but every time that I've tried to access it since it has been down.

Robbie
Back to top
View user's profile Send private message
rjs
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 146
Location: Oriel College, Oxford

PostPosted: Tue Aug 16, 2005 6:13 pm    Post subject: Reply with quote

Ok, looks like it is online but the URL has changed to:

http://denstark.homelinux.org/~tim/download.php
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
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
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