You are not logged in.

#301 2009-05-26 09:04:43

sentinel166
Member
Registered: 2009-05-16
Posts: 7

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

I cannot see any screenshoot of awmenu ... does somebody want to show me one ? my mail -> guerrier.cachalot@gmail.com
Thanks.

Offline

#302 2009-05-26 11:15:04

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

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

awmenu is on hold since i discovered dmenu-vertical, and i will probably abandon it in favor of dmenu-vertical. (see awmenu thread for more info)


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

Offline

#303 2009-06-04 06:53:01

seenxu
Member
Registered: 2008-08-25
Posts: 111

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

absolute great project, +1!

Offline

#304 2009-06-04 18:50:23

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

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

Love the project , the speed , the few memory it uses , but  i nice feature would be browsing like the vimperator does , hit  'f ' and the tpye keyword then browse to that url

Offline

#305 2009-06-04 19:26:50

scj
Member
From: Sweden
Registered: 2007-09-23
Posts: 158

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

jelly wrote:

Love the project , the speed , the few memory it uses , but  i nice feature would be browsing like the vimperator does , hit  'f ' and the tpye keyword then browse to that url

This is already possible with linkfollow.js in the experimental branch.

Offline

#306 2009-06-05 09:19:00

Wra!th
Member
Registered: 2009-03-31
Posts: 342

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

scj wrote:
jelly wrote:

Love the project , the speed , the few memory it uses , but  i nice feature would be browsing like the vimperator does , hit  'f ' and the tpye keyword then browse to that url

This is already possible with linkfollow.js in the experimental branch.

Would be even better if that were a default tongue. Who in his right mind WANTS to have to type (again) F then number? I though this is supposed to be minimalist (even though it had about 5 dependencies last time I checked), not anoying? yikes


MacGregor DESPITE THEM!
7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00

Offline

#307 2009-06-09 03:23:37

prol
Member
Registered: 2008-03-27
Posts: 75

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

Why does gmail not work well? Isnt this the same webkit safari uses??

Offline

#308 2009-06-09 04:05:56

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

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

prol wrote:

Why does gmail not work well? Isnt this the same webkit safari uses??

Exactly what does not work?

Offline

#309 2009-06-09 12:21:56

prol
Member
Registered: 2008-03-27
Posts: 75

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

Well, Gmail loads really slow, and i get error messages frm gmail when using the contact manager. Also, sites like lifehacker.com load slow compared to firefox and opera.

Offline

#310 2009-06-09 12:26:58

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

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

run with --verbose to see what's going on.
You'll probably see many (way too many) invocations of cookies.py
http://www.uzbl.org/bugs/index.php?do=d … &sort=desc
This should be fixed in a week or so


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

Offline

#311 2009-06-09 12:55:48

prol
Member
Registered: 2008-03-27
Posts: 75

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

Actually, with cookies turned on, i cant even login. yea, there are alot of instances of cookie.py I also get get unsafe javascript header errors

Offline

#312 2009-06-10 08:23:39

Jaejae
Member
Registered: 2008-05-17
Posts: 80

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

With a little help from the nice people in #uzbl, I have made a modification to the bookmark and history scripts, so that dmenu is the same width as the Uzbl window, and is spawned at the top of the window.

Please feel free to point out any bad coding, as I messed around a bit.

There are a few things you might like to change, if you don't have a 1px window border, you'll want to change the X and Y offsets, and you'll want to change $cf to something relevant to your own system.

It depends on dmenu-vertical and xorg-utils.

History

#!/bin/bash

hs=$XDG_DATA_HOME/uzbl/history
[ -z "$hs" ] && exit 1

# Retrieve Uzbl window position and width
x=$[ $(xwininfo -id $3 | grep Absolute\ upper-left\ X | awk '{print $NF}') + 1 ]
y=$[ $(xwininfo -id $3 | grep Absolute\ upper-left\ Y | awk '{print $NF}') + 1 ]
w=$(xwininfo -id $3 | grep Width | awk '{print $NF}')

# Retrieve colours and font
cf=$(tail -1 /home/jack/bin/dmenu | sed -e 's/dmenu -b //' -e s/\'//g)

# Check for dmenu-vertical
if dmenu --help 2>&1 | grep -q '\[-rs\] \[-ni\] \[-nl\] \[-xs\]'
then
    dmenu="dmenu -i -x $x -y $y -w $w -xs -rs -l 10"
    # Reverse history file and pipe to dmenu
    goto=$(tac $hs | $dmenu $cf | cut -d ' ' -f -3  | awk '{print $NF}')
else    
    dmenu="dmenu -i"
    current=$(tail -n 1 $hs | awk '{print $3}')
    goto=$((echo $current; awk '{print $3}' $hs | grep -v "^$current\$" | sort -u) | $dmenu $cf)
fi 

# Send command to fifo/uzblctrl
#[ -n "$goto" ] && echo "uri $goto" > $4
[ -n "$goto" ] && uzblctrl -s $5 -c "uri $goto"

Bookmarks

#!/bin/bash

bm=$XDG_DATA_HOME/uzbl/bookmarks
[ -z "$bm" ] && exit 1

# Retrieve Uzbl window position and width
x=$[ $(xwininfo -id $3 | grep Absolute\ upper-left\ X | awk '{print $NF}') + 1 ]
y=$[ $(xwininfo -id $3 | grep Absolute\ upper-left\ Y | awk '{print $NF}') + 1 ]
w=$(xwininfo -id $3 | grep Width | awk '{print $NF}')

# Retrieve colours and font
cf=$(tail -1 /home/jack/bin/dmenu | sed -e 's/dmenu -b //' -e s/\'//g)

# Check for dmenu-vertical
if dmenu --help 2>&1 | grep -q '\[-rs\] \[-ni\] \[-nl\] \[-xs\]'
then
    dmenu="dmenu -i -x $x -y $y -w $w -xs -rs -l 10"
    goto=$($dmenu $cf < $bm | awk '{print $1}')
else
    dmenu="dmenu -i"
    goto=$(awk '{print $1}' $bm | $dmenu $cf)
fi

# Send command to fifo/uzblctrl
#[ -n "$goto" ] && echo "uri $goto" > $4
[ -n "$goto" ] && uzblctrl -s $5 -c "uri $goto"

Edit: Here's a screenshot of it in action.
vMXQ2Mg

Last edited by Jaejae (2009-06-10 08:46:51)

Offline

#313 2009-06-10 11:32:10

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

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

Jaejae wrote:

With a little help from the nice people in #uzbl, I have made a modification to the bookmark and history scripts, so that dmenu is the same width as the Uzbl window, and is spawned at the top of the window.

Seems like you did the same thing as what Rob has already done.
http://www.uzbl.org/wiki/per-instance-history


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

Offline

#314 2009-06-10 19:32:40

Jaejae
Member
Registered: 2008-05-17
Posts: 80

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

Well, that sucks, but I guess I learned a few things about Uzbl while doing it.

Offline

#315 2009-06-12 06:59:37

droog
Member
Registered: 2004-11-18
Posts: 877

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

Wow, this is on my old but up to date install, thought i would try this browser again. so unixy now...

Targets (16): libproxy-0.2.3-1  libidl2-0.8.13-1  orbit2-2.14.17-1 
              dbus-core-1.2.14-1  dbus-glib-0.80-1  policykit-0.9-9 
              gconf-2.26.2-1  libsoup-2.26.2-1  icu-4.2-1 
              gstreamer0.10-0.10.23-1  liboil-0.3.16-1 
              gstreamer0.10-base-0.10.23-1  aspell-0.60.6-4 
              hunspell-1.2.8-1  enchant-1.4.2-1  libwebkit-1.1.8-2

Total Installed Size:   81.46 MB

/edit i don't use hal, dbus or any *kit so must be my problem.

Last edited by droog (2009-06-12 07:05:07)

Offline

#316 2009-06-12 07:26:44

Wra!th
Member
Registered: 2009-03-31
Posts: 342

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

HAHAHA! Give it time, it'll be as big as ghc big_smile


MacGregor DESPITE THEM!
7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00

Offline

#317 2009-06-12 12:21:00

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

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

You can probably compile out policykit from webkit/libsoup/libproxy. I know you can get rid of gstreamer and gconf.

Offline

#318 2009-06-12 12:57:23

quigybo
Member
Registered: 2009-01-15
Posts: 223

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

Jaejae wrote:

With a little help from the nice people in #uzbl, I have made a modification to the bookmark and history scripts, so that dmenu is the same width as the Uzbl window, and is spawned at the top of the window.

What I do is use the -b option and position dmenu just above the status bar, that way it works much more naturally as you are looking at the bottom of the window anyway.

Last edited by quigybo (2009-06-12 12:59:02)

Offline

#319 2009-06-13 01:03:35

droog
Member
Registered: 2004-11-18
Posts: 877

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

Barrucadu wrote:

You can probably compile out policykit from webkit/libsoup/libproxy. I know you can get rid of gstreamer and gconf.

It looks like libsoup has replaced curl since ive used webkit last, I was just kind of shocked at the dependencies now.
If i have the time and will I might look into it more if no one else cares about it. maybe a more "minimal" build of webkit in aur.
but i think curl causes alot of the webkit crashes, so who knows.

Offline

#320 2009-06-13 08:11:51

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

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

droog wrote:
Barrucadu wrote:

You can probably compile out policykit from webkit/libsoup/libproxy. I know you can get rid of gstreamer and gconf.

It looks like libsoup has replaced curl since ive used webkit last, I was just kind of shocked at the dependencies now.
If i have the time and will I might look into it more if no one else cares about it. maybe a more "minimal" build of webkit in aur.
but i think curl causes alot of the webkit crashes, so who knows.

1) soup > curl
2) I would definitely be interested in a more minimal webkit build.  There is one on aur http://aur.archlinux.org/packages.php?ID=22555 but it doesn't mention stripping out sqlite (not sure how feasibile that is).  Also there's no libsoup without gconf support yet, so feel free to try it


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

Offline

#321 2009-06-13 20:12:28

m1sha
Member
Registered: 2009-04-23
Posts: 9

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

So what's the preferred way to replace tabbing?

<ignore if not using a tiling WM>
I'm trying to use this in an Xmonad environment and I think it'd be fine to switch by putting the page I'm viewing in the master pane.
</ignore if not using a tiling WM>

but can I

a) have uzbl realise it's been "minimized" and zoom out so I'm not looking a tiny corner of the page?
b) open link in new window with middle click?

Offline

#322 2009-06-14 02:13:41

Jaejae
Member
Registered: 2008-05-17
Posts: 80

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

m1sha wrote:

So what's the preferred way to replace tabbing?

<ignore if not using a tiling WM>
I'm trying to use this in an Xmonad environment and I think it'd be fine to switch by putting the page I'm viewing in the master pane.
</ignore if not using a tiling WM>

but can I

a) have uzbl realise it's been "minimized" and zoom out so I'm not looking a tiny corner of the page?
b) open link in new window with middle click?

I've been considering a more general solution to this problem, a general purpose window tabber, I use dwm, and as far as I can see, there is no window tabbing patch, so something like this would be useful.
I imagine that such an application would have a simple tab bar, not unlike the Uzbl status bar, which would be controlled by keyboard shortcuts, and ideally be as flexible in this regard as Uzbl.

The primary flaw in my plan is my almost complete lack of coding knowledge, past very elementary shell scripting neutral

Offline

#323 2009-06-14 02:16:28

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

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

hey guys, updated to the latest uzbl-experimental-git today.  i keep getting command "blah" not recognized, ignoring.  for any commands i've set in config that start with ':'

anyone else experiencing this?

edit/ just took another look at the sample config and noticed a lack of :something commands, are they unsupported now? it's habit for me to prefix commands with ':' when i'm in 'vim-mode'

Last edited by brisbin33 (2009-06-14 02:23:47)

Offline

#324 2009-06-14 03:20:58

quigybo
Member
Registered: 2009-01-15
Posts: 223

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

m1sha wrote:

So what's the preferred way to replace tabbing?

<ignore if not using a tiling WM>
I'm trying to use this in an Xmonad environment and I think it'd be fine to switch by putting the page I'm viewing in the master pane.
</ignore if not using a tiling WM>

but can I

a) have uzbl realise it's been "minimized" and zoom out so I'm not looking a tiny corner of the page?
b) open link in new window with middle click?

I would also like to know how to bind commands to mouse clicks - mod key + click, middle click etc?

About the tabbing stuff, I'm about half way through slapping some crud together based on holizz's uzbl_tabbed.py in the experimental branch (uses gtk.Notebook), but I already dont like it. Its too much gui clutter. Preferably I would like to see something in uzbl's status bar itself, just a series of numbers representing each tab, with the background of the current one inverted or something. No titles or tags or anything complicated, just a bunch of numbers and be done with it.
</rant from floating window manager user>

Offline

#325 2009-06-14 10:16:29

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

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

Jaejae wrote:
m1sha wrote:

So what's the preferred way to replace tabbing?

<ignore if not using a tiling WM>
I'm trying to use this in an Xmonad environment and I think it'd be fine to switch by putting the page I'm viewing in the master pane.
</ignore if not using a tiling WM>

but can I

a) have uzbl realise it's been "minimized" and zoom out so I'm not looking a tiny corner of the page?
b) open link in new window with middle click?

I've been considering a more general solution to this problem, a general purpose window tabber, I use dwm, and as far as I can see, there is no window tabbing patch, so something like this would be useful.
I imagine that such an application would have a simple tab bar, not unlike the Uzbl status bar, which would be controlled by keyboard shortcuts, and ideally be as flexible in this regard as Uzbl.

The primary flaw in my plan is my almost complete lack of coding knowledge, past very elementary shell scripting neutral

http://www.uzbl.org/faq.php "No tabs? Why do you need a new window for each page?" lists 3 possible approaches to this problem.
I don't understand why uzbl would need to "know" it has been minimized or whatever. opening links in new windows is possible yes.


brisbin33 wrote:

hey guys, updated to the latest uzbl-experimental-git today.  i keep getting command "blah" not recognized, ignoring.  for any commands i've set in config that start with ':'

anyone else experiencing this?

edit/ just took another look at the sample config and noticed a lack of :something commands, are they unsupported now? it's habit for me to prefix commands with ':' when i'm in 'vim-mode'

As far as uzbl is concerned, ':' is a character like any other. I did change the example keyboard shortcuts a bit though.
In the example, I use ':' as a means to insert any arbitrary command:

# like this you can enter any command at runtime, interactively. prefixed by ':'
bind    :_        = chain '%s'
quigybo wrote:

I would also like to know how to bind commands to mouse clicks - mod key + click, middle click etc?

About the tabbing stuff, I'm about half way through slapping some crud together based on holizz's uzbl_tabbed.py in the experimental branch (uses gtk.Notebook), but I already dont like it. Its too much gui clutter. Preferably I would like to see something in uzbl's status bar itself, just a series of numbers representing each tab, with the background of the current one inverted or something. No titles or tags or anything complicated, just a bunch of numbers and be done with it.
</rant from floating window manager user>

Binding things to mouse events is not possible (yet)
note that you can put whatever you want in the statusbar, with full support for colors and such so you can implement what you want.

Last edited by Dieter@be (2009-06-14 10:21:22)


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

Offline

Board footer

Powered by FluxBB