View previous topic :: View next topic |
Author |
Message |
Deranger Veteran
Joined: 26 Aug 2004 Posts: 1215
|
Posted: Tue Oct 12, 2004 12:19 am Post subject: |
|
|
Zepp wrote: | Oktane wrote: | Zepp wrote: | Is the gmail script supposed to cache to file /tmp/gmail.cache. When does it do this? Cause it doesn't seem to be creating the file at all |
Yes it's supposed to do so (or at least I think so), but I don't have it either.
It checks my Gmail account, just like it should |
ya just if i select it by accident it delays me a few seconds, meh |
Yeah, that sucks. Better to try not selecting it |
|
Back to top |
|
|
obot n00b
Joined: 16 Sep 2004 Posts: 25 Location: UK
|
Posted: Tue Oct 12, 2004 3:24 am Post subject: |
|
|
I have a request for a script.
I saw this on a desktop in the screenshots thread and thought it could be a handy pipe menu.
http://www.kde-look.org/content/show.php?content=9453
I'm referring to the tnetstat part that shows outgoing connections and the applications that are connecting. I'm sure one of you guys can figure it out and I can reap the benefits, haha. _________________ "I don't mean to impose, but I am the ocean."
-The Salton Sea |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Tue Oct 12, 2004 3:59 am Post subject: |
|
|
To those of you who are using my Configuration menu or my Theme menu
Configuration Menu 2.0
Theme Menu 2.0
Both of them now search for the proper tags and insert the new data there instead of on pre-defined lines. Enjoy. |
|
Back to top |
|
|
Zepp Veteran
Joined: 15 Mar 2004 Posts: 1246 Location: Ontario, Canada
|
Posted: Tue Oct 12, 2004 4:07 am Post subject: |
|
|
Pwnz3r wrote: | To those of you who are using my Configuration menu or my Theme menu
Configuration Menu 2.0
Theme Menu 2.0
Both of them now search for the proper tags and insert the new data there instead of on pre-defined lines. Enjoy. |
awesome |
|
Back to top |
|
|
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Tue Oct 12, 2004 5:17 am Post subject: |
|
|
Pwnz3r wrote: | To those of you who are using my Configuration menu or my Theme menu
Configuration Menu 2.0
Theme Menu 2.0
Both of them now search for the proper tags and insert the new data there instead of on pre-defined lines. Enjoy. |
Don't know about the config script but there are some path problems with the theme script. look at the output of 'tmenu-2.0.py -m' at the part where it sets the theme (where it uses the -s flag). |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Tue Oct 12, 2004 10:54 am Post subject: |
|
|
allucid wrote: | Don't know about the config script but there are some path problems with the theme script. look at the output of 'tmenu-2.0.py -m' at the part where it sets the theme (where it uses the -s flag). |
It worked fine for me, even from the Apache directory. What errors are you getting?
As for the configuration menu, please re-download 2.0 because I noticed that I b0rked the followMouse option by having it search for "folowMouse". Oops.... |
|
Back to top |
|
|
Deranger Veteran
Joined: 26 Aug 2004 Posts: 1215
|
Posted: Tue Oct 12, 2004 12:01 pm Post subject: |
|
|
Oktane wrote: | Zepp wrote: | Is the gmail script supposed to cache to file /tmp/gmail.cache. When does it do this? Cause it doesn't seem to be creating the file at all |
Yes it's supposed to do so (or at least I think so), but I don't have it either.
It checks my Gmail account, just like it should |
Actually, it creates it!
Code: |
-rw-r--r-- 1 oktane users 261 Oct 12 14:13 gmail.cache
|
But there's still 2 seconds lag... |
|
Back to top |
|
|
Zepp Veteran
Joined: 15 Mar 2004 Posts: 1246 Location: Ontario, Canada
|
Posted: Tue Oct 12, 2004 1:02 pm Post subject: |
|
|
damn |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Tue Oct 12, 2004 5:20 pm Post subject: |
|
|
For me, the cfgmenu changes the RC, but I have to Reconfigure manually. I can see that this is built into the script, so what is wrong? |
|
Back to top |
|
|
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Tue Oct 12, 2004 5:51 pm Post subject: |
|
|
suck_ma_penguin wrote: | For me, the cfgmenu changes the RC, but I have to Reconfigure manually. I can see that this is built into the script, so what is wrong? | It reconfigures before it finishes writing the changes to the file. |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Tue Oct 12, 2004 5:55 pm Post subject: |
|
|
Well yeah, but how do I fix it? |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Tue Oct 12, 2004 7:38 pm Post subject: |
|
|
suck_ma_penguin wrote: | Well yeah, but how do I fix it? |
Well, I could try adding another reconfigure line or you could if you can understand the coding. Unfortunately, I know of no way to call reconfigure within Openbox other than that way but if I did then I could make it wait a second or so before updating the config. |
|
Back to top |
|
|
denstark l33t
Joined: 02 Jun 2003 Posts: 654 Location: sd.ca.us
|
Posted: Tue Oct 12, 2004 8:00 pm Post subject: |
|
|
Hey guys. The site will be updated when i get home today. Good looks pwnz3r for the new script. _________________ Blog
Code: | denstark> starbuck authorizes torture?
rokstar> sure they do, you tried their coffee?
|
|
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Tue Oct 12, 2004 9:02 pm Post subject: |
|
|
I tried adding more reconfigure lines, and adding a at various places but to no avail... |
|
Back to top |
|
|
GaMMa l33t
Joined: 23 Aug 2002 Posts: 684 Location: USA
|
Posted: Tue Oct 12, 2004 9:28 pm Post subject: |
|
|
If you guys are having problems writing to /tmp try changing the gmail.cache path to ~/.gmail.cache or something.. it'd actually be a better idea from a security perspective. _________________ Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide] |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Tue Oct 12, 2004 9:30 pm Post subject: |
|
|
ok I have it fixed by puting in about 50 reconfigures, but there must be a better way than this. I'm looking at the C to make a program that simply executes and perhaps you can then include that (or i might add a option to the openbox command.) |
|
Back to top |
|
|
denstark l33t
Joined: 02 Jun 2003 Posts: 654 Location: sd.ca.us
|
Posted: Tue Oct 12, 2004 10:21 pm Post subject: |
|
|
Updated both of pwnz3r's scripts. Looking for more scripts from people! _________________ Blog
Code: | denstark> starbuck authorizes torture?
rokstar> sure they do, you tried their coffee?
|
|
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Tue Oct 12, 2004 10:49 pm Post subject: |
|
|
suck_ma_penguin wrote: | I tried adding more reconfigure lines, and adding a at various places but to no avail... |
I looked into the options, trust me. However, we are negotiating with Openbox via its menu so we have to play by the rules which means we will need to add the --reconfigure flag. |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Wed Oct 13, 2004 4:00 pm Post subject: |
|
|
Well, I had a look at openbox.c, but as usual my cut-n-paste coding resulted in segfaults. I'll keep trying. |
|
Back to top |
|
|
dav1d Tux's lil' helper
Joined: 31 Dec 2003 Posts: 134
|
Posted: Wed Oct 13, 2004 4:29 pm Post subject: |
|
|
OK - I just saw this thread and noticed you've created the website - great idea by the way.
Thanks for including my wallpaper script without me asking, but just one problem - on your page the link for my script goes to scripts/blah - nothing there!
edit - you could also put in a link to a preview image I just created here _________________ my site | openbox wallpaper menu |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Wed Oct 13, 2004 5:32 pm Post subject: |
|
|
WooHoo! I fixed it!
ok, so take out all the Reconfigure actions, and add this line Code: | os.system("killall -SIGUSR2 openbox") |
after
Code: | newRC = file(rcfile, "w")
newRC.writelines(buffer)
newRC.close() |
in
It's a different way to reconfigure openbox, and because python executes chronologically, it waits til it has closed the file to send the USR2 signal. |
|
Back to top |
|
|
denstark l33t
Joined: 02 Jun 2003 Posts: 654 Location: sd.ca.us
|
Posted: Wed Oct 13, 2004 11:44 pm Post subject: |
|
|
dav1d wrote: | OK - I just saw this thread and noticed you've created the website - great idea by the way.
Thanks for including my wallpaper script without me asking, but just one problem - on your page the link for my script goes to scripts/blah - nothing there!
edit - you could also put in a link to a preview image I just created here |
It had pointed to that because at the time i set up the site your script was unavailable on your website. I'll grab it again and put it up there. _________________ Blog
Code: | denstark> starbuck authorizes torture?
rokstar> sure they do, you tried their coffee?
|
|
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Thu Oct 14, 2004 6:49 pm Post subject: |
|
|
No problem dude. I'm in the process of setting up a website, ok if I mirror your scripts there? |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Thu Oct 14, 2004 7:52 pm Post subject: |
|
|
suck_ma_penguin wrote: | No problem dude. I'm in the process of setting up a website, ok if I mirror your scripts there? |
Denstark is already doing that, but if you wanted to affiliate with me then that would work. |
|
Back to top |
|
|
|