You are not logged in.

#601 2009-09-22 20:11:00

Lich
Member
Registered: 2009-09-13
Posts: 437

Re: uzbl. A browser that adheres to the unix philosophy.

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

#602 2009-09-23 13:32:36

Lich
Member
Registered: 2009-09-13
Posts: 437

Re: uzbl. A browser that adheres to the unix philosophy.

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"

tMmVzdA
[edit] "stole" dmenu-vertical detection from existing scripts smile

[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

#603 2009-09-24 11:22:08

Lich
Member
Registered: 2009-09-13
Posts: 437

Re: uzbl. A browser that adheres to the unix philosophy.

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 smile )

edit: nvm, it's styled with html too, awesome smile

Last edited by Lich (2009-09-24 11:24:54)


Archlinux | ratpoison + evilwm | urxvtc | tmux

Offline

#604 2009-09-24 11:25:15

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#605 2009-09-24 11:34:42

Lich
Member
Registered: 2009-09-13
Posts: 437

Re: uzbl. A browser that adheres to the unix philosophy.

Dieter@be wrote:
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

#606 2009-09-24 12:07:37

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: uzbl. A browser that adheres to the unix philosophy.

No it's just copy paste..

Offline

#607 2009-09-24 12:24:30

Lich
Member
Registered: 2009-09-13
Posts: 437

Re: uzbl. A browser that adheres to the unix philosophy.

tMmV4Ng
big_smile


Archlinux | ratpoison + evilwm | urxvtc | tmux

Offline

#608 2009-09-26 18:55:47

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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 wink) 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)

Offline

#609 2009-09-27 18:35:39

Lich
Member
Registered: 2009-09-13
Posts: 437

Re: uzbl. A browser that adheres to the unix philosophy.

brisbin33 wrote:

@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

#610 2009-09-27 20:18:05

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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;
}

Last edited by brisbin33 (2009-09-27 20:29:03)

Offline

#611 2009-09-27 20:48:38

Lich
Member
Registered: 2009-09-13
Posts: 437

Re: uzbl. A browser that adheres to the unix philosophy.

brisbin33 wrote:
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

#612 2009-09-29 09:03:27

Raffles10
Member
From: London, UK
Registered: 2009-05-09
Posts: 115

Re: uzbl. A browser that adheres to the unix philosophy.

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'.

Offline

#613 2009-09-29 13:21:39

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: uzbl. A browser that adheres to the unix philosophy.

Lich wrote:

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

#614 2009-09-29 14:22:44

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: uzbl. A browser that adheres to the unix philosophy.

Raffles10 wrote:
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.

Offline

#615 2009-09-29 20:05:45

Raffles10
Member
From: London, UK
Registered: 2009-05-09
Posts: 115

Re: uzbl. A browser that adheres to the unix philosophy.

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

#616 2009-09-30 16:29:34

unideal
Member
Registered: 2009-09-24
Posts: 31

Re: uzbl. A browser that adheres to the unix philosophy.

Raffles10 wrote:

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

#617 2009-09-30 20:59:22

Raffles10
Member
From: London, UK
Registered: 2009-05-09
Posts: 115

Re: uzbl. A browser that adheres to the unix philosophy.

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. hmm

Offline

#618 2009-10-02 06:12:20

wankel
Member
From: Iowa, USA
Registered: 2008-05-30
Posts: 218
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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

#619 2009-10-04 08:57:02

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: uzbl. A browser that adheres to the unix philosophy.

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

#620 2009-10-07 17:48:26

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: uzbl. A browser that adheres to the unix philosophy.

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

#621 2009-10-07 19:35:47

&#32 Greg
Member
Registered: 2009-02-08
Posts: 80

Re: uzbl. A browser that adheres to the unix philosophy.

You need to copy part of the example section to XDG_DATA_HOME (~/.local/share).

Offline

#622 2009-10-07 19:40:32

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: uzbl. A browser that adheres to the unix philosophy.

  Greg wrote:

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 wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#623 2009-10-08 06:12:18

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: uzbl. A browser that adheres to the unix philosophy.

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.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#624 2009-10-08 07:31:36

Heller_Barde
Member
Registered: 2008-04-01
Posts: 245

Re: uzbl. A browser that adheres to the unix philosophy.

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

Offline

#625 2009-10-08 07:38:38

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: uzbl. A browser that adheres to the unix philosophy.

Heller_Barde wrote:
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 wink thanks


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB