You are not logged in.
Not that this is news but uzbl might have some bugs, one of them beeing that it doesn't update the url in the statusbar sometimes. for example I opened up google, then `o gmail.com`, logged in, but the status bar still showed the google url. On the other hadn I opened google, searched for something, went to that page and the url updated...any ideas?!
[edit] and I get a lot of these (same, but multiple times)
(uzbl:32126): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Character '=' is not valid inside an entity name
Tried again and now it froze when I did `o gmail.com` (it loaded the page, then froze, statusbar showing the "wait" message and still old url)
hm..apparently it was my status_format's fault...I'ma have a look at it
Last edited by Lich (2009-09-22 20:19:22)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
Ok, we now have a SAVE "button", Cancel and UP (moves up a directory). Hitting escape is equivalent to CANCEL of course
#!/bin/sh
WGET="wget --user-agent=Firefox"
URL="$8"
SAVE="SAVE"
CANCEL="CANCEL"
UP="UP"
TARGET="$HOME"
#could have "hardcoded" these or course but this is easier in case you want to make modify something :)
while (true); do
DIRLIST=`ls -l $TARGET | grep ^d | awk '{print $8}'`
if dmenu --help 2>&1 | grep -q '\[-rs\] \[-ni\] \[-nl\] \[-xs\]'
then
SELECTION=`echo -e -n "$SAVE\n$CANCEL\n$UP\n$DIRLIST" | dmenu -nb "#272727" -nf "#C4DF90" -sb "#C4DF90" -sf "#272727" -p $TARGET -xs -rs -l 10`
else
SELECTION=`echo -e -n "$SAVE\n$CANCEL\n$UP\n$DIRLIST" | dmenu -nb "#272727" -nf "#C4DF90" -sb "#C4DF90" -sf "#272727" -p $TARGET`
fi
if [ "$SELECTION" = "$SAVE" ]; then
break
fi
if [ "$SELECTION" = "$CANCEL" ]; then
exit
fi
if [ -z "$SELECTION" ]; then
exit
fi
if [ "$SELECTION" = "$UP" ]; then
TARGET=$(dirname $TARGET)
else
TARGET="$TARGET/$SELECTION"
fi
done
cd "$TARGET"
xterm -bg "#272727" -fg "#C4DF90" -title "Download" -e "echo \"Target: $TARGET/\" && $WGET $URL && echo \"Download complete. Press any key to close\" && read"
[edit] "stole" dmenu-vertical detection from existing scripts
[edit2]
http://bbs.archlinux.org/viewtopic.php? … 49#p624749
Final version
Last edited by Lich (2009-09-23 22:41:50)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
2 questions regarding uzbl_tabbed.py
Someone brought it into discussion on #archlinux, apparently gi_ didn't work for him, tried and doesn't work for me either. I'll try to have a looksy when I get some free time, maybe we can fix this.
Second I don't know much python, and not sure if this is the script's "fault" for not having it, but is there any way of customizing the font face of the tabs? I'd like to use this thing, but only if that can be customized ( yep..I'm picky like that )
edit: nvm, it's styled with html too, awesome
Last edited by Lich (2009-09-24 11:24:54)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
2 questions regarding uzbl_tabbed.py
Someone brought it into discussion on #archlinux, apparently gi_ didn't work for him, tried and doesn't work for me either. I'll try to have a looksy when I get some free time, maybe we can fix this.
which branch/commit?
btw i suggest you maintain your script in our wiki. it will just become forgotten in these forums
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Lich wrote:2 questions regarding uzbl_tabbed.py
Someone brought it into discussion on #archlinux, apparently gi_ didn't work for him, tried and doesn't work for me either. I'll try to have a looksy when I get some free time, maybe we can fix this.which branch/commit?
btw i suggest you maintain your script in our wiki. it will just become forgotten in these forums
Do you think it's worth making the wiki? In that case I will thanks
Commit: d2d73ad463f3d9f1c673d37457af159947b3faac
removed the one from .local/share/uzbl/scripts/ to test and same issue
Hm...wait..how do I add it to the wiki? I'm assuming some git is involved? if so someone should either guide me to it or just put it there. Thanks
Last edited by Lich (2009-09-24 11:37:28)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
No it's just copy paste..
Offline
i've written my own session script (on uzbl wiki) that can a) close all uzbls and save session b) reload all uzbls from saved session or c) close all uzbls and clear any session. i know these exist (i like mine best ) i'm more just giving background as it brought to the surface some (IMHO) undesired behavior regarding keybinds:
in keeping with the general vim feel i like uzbl to have, i wanted to use these keybinds (fake but illustrative script arguments shown):
bind :q_ = exit
bind :q!_ = spawn /path/to/script.sh --quit-and-clear-session
bind :wq_ = spawn /path/to/script.sh --quit-and-save-session
('_' just makes you hit enter to execute the command)
took me a while to realize that uzbl recognizes _both_ :q!_ and :q_ as just :q_ . i guess (now that i've figured it out) i can just be more careful with my binds, but i can see a few situations where multiple keybinds might start with the same one or two characters... i had to comment out the example bind :_ b/c i like to prefix major commands with : and it kept being recognized as just :_ rather than :print, :q, or :whatever. would it be hard to change this behavior (go with a longest match parser not a shortest match ?). i dunno, just raising a question... very low priority item i'd think.
@Lich, nice css by the way (using it now) it does act funny on google maps and cuts off the right side of arch bbs posts... other than that, i love it tho.
Last edited by brisbin33 (2009-09-26 18:56:30)
//github/
Offline
@Lich, nice css by the way (using it now) it does act funny on google maps and cuts off the right side of arch bbs posts... other than that, i love it tho.
Glad you like it mate..Be advised that I started with CSS a few days ago so that is hackish as hell, so be welcomed to improve on it.
The cutting of the right side could be something regarding webkit if I'm not mistaking. I believe several people complained about this problem without my css (slim chance that is the css' fault since all I did was theme colors, not dimensions etc)
edit: I do declare, I found a bug.
For some reason my AP refused to give me an IP so I started uzbl before seeing this. The bug? For sure an easy to fix one: If for some reason you start uzbl before making your internet connection, you obviouslly get a not found page of some sort, with a "Try Again" button. But, that button does nothing, so I'm guessing it doesn't retry to reconnect, only reload or something. Didn't have time to replicate this because I need my internet to be up right now, but maybe some of you can test.
Last edited by Lich (2009-09-27 19:09:09)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
The cutting of the right side could be something regarding webkit if I'm not mistaking. I believe several people complained about this problem without my css (slim chance that is the css' fault since all I did was theme colors, not dimensions etc)
yeah, that's what i thought too, but for me it happens /only/ when your css is in use... i don't know. one day when i've got some time, i'll see if i can isolate a particular block in your file that causes the behavior.
/edit: ok solved it. for whatever reason, dropping the !important from the div formatting stopped the cutoff
div {
background-color: #272727 !important;
color: #272727 !important;
border: 0px solid #272727;
}
Last edited by brisbin33 (2009-09-27 20:29:03)
//github/
Offline
Lich wrote:The cutting of the right side could be something regarding webkit if I'm not mistaking. I believe several people complained about this problem without my css (slim chance that is the css' fault since all I did was theme colors, not dimensions etc)
yeah, that's what i thought too, but for me it happens /only/ when your css is in use... i don't know. one day when i've got some time, i'll see if i can isolate a particular block in your file that causes the behavior.
/edit: ok solved it. for whatever reason, dropping the !important from the div formatting stopped the cutoff
div { background-color: #272727 !important; color: #272727 !important; border: 0px solid #272727; }
Oh cool thanks for that, This may have an effect on some sites though. On some I couldn't find the actual div class that handled some white thingies that's why I styled the entire <div> tag, so you might experience mild "un-styles" there..but nothing too bad I guess.
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
can i ask a dumb question? why does uzbl spawn a bunch of /usr/lib/openoffice stuff? soffice.bin and nsplugin specifically; i don't /care/ per say, but i'd like to know why.
thanks.
Did this get resolved ?
I've noticed the same thing, starting uzbl spawns 'soffice.bin' although I'm not getting 'nsplugin' and it happens with any web page not just archlinux.org. I'm only using the scripts supplied plus 'uzbl_tabbed.py' although uzbl itself spawns 'soffice.bin' as well.
It's weird.....openoffice itself doesn't even spawn 'soffice.bin'.
Offline
edit: I do declare, I found a bug.
For some reason my AP refused to give me an IP so I started uzbl before seeing this. The bug? For sure an easy to fix one: If for some reason you start uzbl before making your internet connection, you obviouslly get a not found page of some sort, with a "Try Again" button. But, that button does nothing, so I'm guessing it doesn't retry to reconnect, only reload or something. Didn't have time to replicate this because I need my internet to be up right now, but maybe some of you can test.
I can confirm.
Offline
brisbin33 wrote:can i ask a dumb question? why does uzbl spawn a bunch of /usr/lib/openoffice stuff? soffice.bin and nsplugin specifically; i don't /care/ per say, but i'd like to know why.
thanks.
Did this get resolved ?
I've noticed the same thing, starting uzbl spawns 'soffice.bin' although I'm not getting 'nsplugin' and it happens with any web page not just archlinux.org. I'm only using the scripts supplied plus 'uzbl_tabbed.py' although uzbl itself spawns 'soffice.bin' as well.
It's weird.....openoffice itself doesn't even spawn 'soffice.bin'.
skottish mentioned an openoffice web plugin used with firefox, however his menu path to disable it i couldnt find... i kinda forgot about it after that.
thanks for bringing it back up. starting uzbl for me actually prints to the console "path to openoffice is... " twice. then spawns these child processes. and yes, any webpage does this.
odd.
//github/
Offline
Same thing here:
stuart@arch~ $ uzbl_tabbed.py
OpenOffice path is '/usr/lib/openoffice'
OpenOffice path is '/usr/lib/openoffice'
stuart@arch~ $
It is indeed an openoffice plugin: libnpsoplugin.so
This plugin allows specific file extension files to be opened and displayed in the Firefox browser. The question now is why uzbl spawns it every time whether it's needed or not. But I guess it's harmless enough even if it is eating ~40Mb ram.
Last edited by Raffles10 (2009-09-29 20:30:07)
Offline
Same thing here:
stuart@arch~ $ uzbl_tabbed.py OpenOffice path is '/usr/lib/openoffice' OpenOffice path is '/usr/lib/openoffice' stuart@arch~ $
It is indeed an openoffice plugin: libnpsoplugin.so
This plugin allows specific file extension files to be opened and displayed in the Firefox browser. The question now is why uzbl spawns it every time whether it's needed or not. But I guess it's harmless enough even if it is eating ~40Mb ram.
Im pretty sure this problem is webkit based, as my Shiretoko spawns those processes also.
By the way, isnt WebKit quite bloated nowadays? How does that fit to the uzbl philosophy? Correct me.
Offline
It does use webkit but I'm not sure the problem is as easy to pin down as on my setup Shiretoko 3.5.3 doesn't spawn soffice.bin or those references to openoffice even though it's clearly using the OO plugin.
Offline
Im still having trouble with gmail. I still cant download any attachments and Ive searched the wiki/scripts but I cant find the solution. Can anyone point me in the right direction?
Offline
I was thinking, would it make sense to close this thread? I mean the questions and stuff here are not really easy to follow. maybe it would be easier to have new threads for specific questions/tricks (and/or use the uzbl mailinglist/bugtracker/wiki)
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
I just tested today relase of uzbl from experimental branch.
I can't control it (I got event messages) but it says that python can't find os module in scheme.py script (I think this is problem).
Someone got it working?
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
You need to copy part of the example section to XDG_DATA_HOME (~/.local/share).
Offline
You need to copy part of the example section to XDG_DATA_HOME (~/.local/share).
I copied all scripts from /usr/share/uzbl/examples/data to $HOME/.local/share
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Ok. I just tried this out and every time i start uzbl, it doesn't recognize any keyboard input at all. I can click on links and follow pages like that, but I cannot sign in on any page etc. What am I missing ?
I installed uzbl-git from aur using and I haven't gone beyond the simple tryouts. So I don't have any other patches etc. installed.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Ok. I just tried this out and every time i start uzbl, it doesn't recognize any keyboard input at all. I can click on links and follow pages like that, but I cannot sign in on any page etc. What am I missing ?
I installed uzbl-git from aur using and I haven't gone beyond the simple tryouts. So I don't have any other patches etc. installed.
uzbl is by default in command mode, you have to press i to get into insert mode, then you can enter text. (similar to vim)
cheers
Barde
Offline
Inxsible wrote:Ok. I just tried this out and every time i start uzbl, it doesn't recognize any keyboard input at all. I can click on links and follow pages like that, but I cannot sign in on any page etc. What am I missing ?
I installed uzbl-git from aur using and I haven't gone beyond the simple tryouts. So I don't have any other patches etc. installed.
uzbl is by default in command mode, you have to press i to get into insert mode, then you can enter text. (similar to vim)
cheers
Barde
Duh !!!
Seems like I have a lot to read up on it thanks
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline