You are not logged in.

#251 2009-05-08 09:41:03

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

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

install zenity.
As for "SHIFT+Ins", is that supposed to work in gtk apps?


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

Offline

#252 2009-05-08 10:37:24

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

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

lol, thanks Dieter, i'll install it, but for the SHIFT+ins it doesn't work in GTK, but the mid-button mouse does, and i can't do it sad

well already installed zenity and now it works perfect! smile thankyou again!


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#253 2009-05-08 10:51:14

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

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

Hmmm.. when in command mode, shift+ins pastes the selection buffer as a command, when I do shift+ins in insert mode, it pastes the clipboard into the html text field.


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

Offline

#254 2009-05-08 11:35:34

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

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

Dieter@be wrote:

Hmmm.. when in command mode, shift+ins pastes the selection buffer as a command, when I do shift+ins in insert mode, it pastes the clipboard into the html text field.

well, actually, it's like it doesn't recognize the CTRL or SHIFT keys, i tried in both, command and insert modes, in insert mode, i press CTRL+c and it type the "c" and in command mode it types it as a command


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#255 2009-05-08 22:11:36

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

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

2009-05-08

Various things have been improved/added recently. Here are the main ones.
I may have forgotten some.

- Keyboard based link following (uses link numbering for now)
- Customizable statusbar (both in what it shows, and in colors)
- Network settings (max connections, proxy, user agent (with variable replacement))
- Searching
- multichar key bindings
- bindings that can use arguments (other browsers call this "keywords")

You can find these new goodies in the master and experimental branches.
Don't forget to have a good look at the sample configs and scripts, and the
docs.

Thanks to all contributors!

We also have a logo now, thanks Thorsten Wilms!

TODO:
- some sort of "multiple instances management" (Not saying tabs)
- cookies
- much more

see www.uzbl.org, where you'll also find a screenie showing off the new statusbar cool

Last edited by Dieter@be (2009-05-08 22:12:08)


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

Offline

#256 2009-05-08 23:31:25

ent
Member
Registered: 2008-12-15
Posts: 53

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

looks slick, I'll be downloading this tonight after I see the new star trek movie big_smile

Offline

#257 2009-05-09 00:25:15

HashBox
Member
Registered: 2009-01-22
Posts: 271

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

You guys have done an amazing job with this! I will be using it as my main browser from now on smile

Offline

#258 2009-05-09 00:28:50

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

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

For those who use gmrun, it has a feature to open any urls in a browser. So gmrun can be used to load webpages as well as start applications.

copy the default gmrunrc from /usr/share/gmrun to ~/.gmrunrc and just specify your browser at the end.

edit: ok, uzbl is really awesome, though RAM usage is fairly high. The one I'm posting from now is using about 50/512mb. Firefox for comparison with 5 tabs (including gmail, slashdot and rememberthemilk) is using 81/512mb.

Last edited by iphitus (2009-05-09 02:12:30)

Offline

#259 2009-05-09 09:03:33

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

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

iphitus wrote:

edit: ok, uzbl is really awesome, though RAM usage is fairly high. The one I'm posting from now is using about 50/512mb. Firefox for comparison with 5 tabs (including gmail, slashdot and rememberthemilk) is using 81/512mb.

Well, we are aware we have some memory leaks here and there, though I'm wondering for how much they account.

As for the gmrun thing, I'm building something more generic.  See http://bbs.archlinux.org/viewtopic.php?id=71453


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

Offline

#260 2009-05-09 11:31:59

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

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

Wow , this is really a nice browser :
- I like the minimalistic view
- the statusbar is small enough and i like the toggle option
- flash works smile

Offline

#261 2009-05-09 14:04:24

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

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

When I make a comment on Flyspray, uzbl attaches a blank 0kb file,

for example:
http://bugs.archlinux.org/task/12564

Offline

#262 2009-05-09 15:06:28

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

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

iphitus wrote:

When I make a comment on Flyspray, uzbl attaches a blank 0kb file,

for example:
http://bugs.archlinux.org/task/12564

open a bug report on uzbl.org/bugs
set your http_debug to 3 and show us the headers.


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

Offline

#263 2009-05-09 17:39:14

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

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

I tried to install uzbl from the AUR via yaourt today. I got a large amount of errors and the build failed. I would love to try this out; what am I doing wrong?

==> Building and installing package
==> Making package: uzbl-git 20090426-1 x86_64 (Sat May  9 10:33:39 PDT 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Validating source files with md5sums...
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to GIT server...
Initialized empty Git repository in /tmp/yaourt-tmp-staylor/aur-uzbl-git/uzbl-git/src/uzbl-git-20090426/.git/
remote: Counting objects: 1597, done.
remote: Compressing objects: 100% (811/811), done.
remote: Total 1597 (delta 965), reused 1301 (delta 770)
Receiving objects: 100% (1597/1597), 319.59 KiB | 204 KiB/s, done.
Resolving deltas: 100% (965/965), done.
==> GIT checkout done or server timeout
cc -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/u
sr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -
I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0   -Wall -W -DARCH="\"x86_64\"" -DCOMMIT="\"e4
f0286360d99356e1951ade67f24e12ac36f452\"" -lwebkit-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -
lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0    
uzbl.c   -o uzbl
uzbl.c:54:26: error: libsoup/soup.h: No such file or directory
In file included from uzbl.c:56:
uzbl.h:79: error: expected specifier-qualifier-list before 'SoupSession'
uzbl.h:264: error: expected ')' before '*' token
uzbl.h:268: error: expected ')' before '*' token
uzbl.c: In function 'download_cb':
uzbl.c:162: warning: implicit declaration of function 'webkit_download_get_uri'
uzbl.c:162: error: 'WebKitDownload' undeclared (first use in this function)
uzbl.c:162: error: (Each undeclared identifier is reported only once
uzbl.c:162: error: for each function it appears in.)
uzbl.c:162: error: expected expression before ')' token
uzbl.c:162: warning: initialization makes pointer from integer without a cast
uzbl.c:158: warning: unused parameter 'download'
uzbl.c: In function 'parse_status_template':
uzbl.c:510: warning: cast from pointer to integer of different size
uzbl.c: In function 'settings_init':
uzbl.c:1132: error: 'Network' has no member named 'proxy_url'
uzbl.c:1134: error: 'Network' has no member named 'useragent'
uzbl.c:1135: error: 'Network' has no member named 'max_conns'
uzbl.c:1136: error: 'Network' has no member named 'max_conns_host'
uzbl.c:1139: error: 'Network' has no member named 'proxy_url'
uzbl.c:1140: error: 'Network' has no member named 'soup_session'
uzbl.c:1140: error: 'SOUP_SESSION_PROXY_URI' undeclared (first use in this function)
uzbl.c:1140: warning: implicit declaration of function 'soup_uri_new'
uzbl.c:1140: error: 'Network' has no member named 'proxy_url'
uzbl.c:1147: error: 'Network' has no member named 'soup_logger'
uzbl.c:1147: warning: implicit declaration of function 'soup_logger_new'
uzbl.c:1148: warning: implicit declaration of function 'soup_session_add_feature'
uzbl.c:1148: error: 'Network' has no member named 'soup_session'
uzbl.c:1148: warning: implicit declaration of function 'SOUP_SESSION_FEATURE'
uzbl.c:1148: error: 'Network' has no member named 'soup_logger'
uzbl.c:1151: error: 'Network' has no member named 'useragent'
uzbl.c:1154: error: 'Network' has no member named 'useragent'
uzbl.c:1175: error: 'Network' has no member named 'useragent'
uzbl.c:1176: error: 'Network' has no member named 'useragent'
uzbl.c:1177: error: 'Network' has no member named 'soup_session'
uzbl.c:1177: error: 'SOUP_SESSION_USER_AGENT' undeclared (first use in this function)
uzbl.c:1177: error: 'Network' has no member named 'useragent'
uzbl.c:1180: error: 'Network' has no member named 'max_conns'
uzbl.c:1181: error: 'Network' has no member named 'soup_session'
uzbl.c:1181: error: 'SOUP_SESSION_MAX_CONNS' undeclared (first use in this function)
uzbl.c:1181: error: 'Network' has no member named 'max_conns'
uzbl.c:1184: error: 'Network' has no member named 'max_conns_host'
uzbl.c:1185: error: 'Network' has no member named 'soup_session'
uzbl.c:1185: error: 'SOUP_SESSION_MAX_CONNS_PER_HOST' undeclared (first use in this function)
uzbl.c:1185: error: 'Network' has no member named 'max_conns_host'
uzbl.c:1188: error: 'Network' has no member named 'proxy_url'
uzbl.c:1188: error: 'Network' has no member named 'proxy_url'
uzbl.c:1190: error: 'Network' has no member named 'useragent'
uzbl.c:1190: error: 'Network' has no member named 'useragent'
uzbl.c:1191: error: 'Network' has no member named 'max_conns'
uzbl.c:1191: error: 'Network' has no member named 'max_conns'
uzbl.c:1192: error: 'Network' has no member named 'max_conns_host'
uzbl.c:1192: error: 'Network' has no member named 'max_conns_host'
uzbl.c:1200: error: 'Network' has no member named 'soup_session'
uzbl.c:1200: error: 'handle_cookies' undeclared (first use in this function)
uzbl.c: At top level:
uzbl.c:1205: error: expected ')' before '*' token
uzbl.c:1221: error: expected ')' before '*' token
uzbl.c: In function 'main':
uzbl.c:1257: error: 'Network' has no member named 'soup_session'
uzbl.c:1257: warning: implicit declaration of function 'webkit_get_default_session'
make: *** [uzbl] Error 1
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build uzbl-git package.

[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#264 2009-05-09 17:44:43

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

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

elmer_42 wrote:

I tried to install uzbl from the AUR via yaourt today. I got a large amount of errors and the build failed. I would love to try this out; what am I doing wrong?

can you check if adding 'libsoup>=2.24' in the depends array of the PKGBUILD fixes the issue for you?


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

Offline

#265 2009-05-09 21:49:37

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

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

OK, I added that, but for some reason the build still fails. I manually installed libsoup (pacman -Qi says it's version 2.26.1-1) and still no dice. I would be fine installing it with git and make (as seen here) if there was a way to uninstall it fairly easily. Anyway, this is the output I got from yaourt while installing uzbl-git.

==>  Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==>   ----------------------------------------------
==>y

Please add EDITOR to your environment variables
for example:
==>  Edit PKGBUILD with:(replace gvim with your favorite editor)

==> Edit ./PKGBUILD with:vim

==> uzbl-git dependencies:
 - libwebkit (already installed)
 - gtk2 (already installed)
 - libsoup (already installed)
 - git (already installed)
==>  Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==>   ----------------------------------------------
==>n

==>  Continue the building of uzbl-git ? [Y/n]
==>   ----------------------------------------------
==>y


==> Building and installing package
==> Making package: uzbl-git 20090426-1 x86_64 (Sat May  9 14:33:52 PDT 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Validating source files with md5sums...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to GIT server...
Already up-to-date.
==> GIT checkout done or server timeout
cc -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/u
sr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -
I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0   -Wall -W -DARCH="\"x86_64\"" -DCOMMIT="\"e4
f0286360d99356e1951ade67f24e12ac36f452\"" -lwebkit-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -
lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0    
uzbl.c   -o uzbl
uzbl.c:54:26: error: libsoup/soup.h: No such file or directory
In file included from uzbl.c:56:
uzbl.h:79: error: expected specifier-qualifier-list before 'SoupSession'
uzbl.h:264: error: expected ')' before '*' token
uzbl.h:268: error: expected ')' before '*' token
uzbl.c: In function 'download_cb':
uzbl.c:162: warning: implicit declaration of function 'webkit_download_get_uri'
uzbl.c:162: error: 'WebKitDownload' undeclared (first use in this function)
uzbl.c:162: error: (Each undeclared identifier is reported only once
uzbl.c:162: error: for each function it appears in.)
uzbl.c:162: error: expected expression before ')' token
uzbl.c:162: warning: initialization makes pointer from integer without a cast
uzbl.c:158: warning: unused parameter 'download'
uzbl.c: In function 'parse_status_template':
uzbl.c:510: warning: cast from pointer to integer of different size
uzbl.c: In function 'settings_init':
uzbl.c:1132: error: 'Network' has no member named 'proxy_url'
uzbl.c:1134: error: 'Network' has no member named 'useragent'
uzbl.c:1135: error: 'Network' has no member named 'max_conns'
uzbl.c:1136: error: 'Network' has no member named 'max_conns_host'
uzbl.c:1139: error: 'Network' has no member named 'proxy_url'
uzbl.c:1140: error: 'Network' has no member named 'soup_session'
uzbl.c:1140: error: 'SOUP_SESSION_PROXY_URI' undeclared (first use in this function)
uzbl.c:1140: warning: implicit declaration of function 'soup_uri_new'
uzbl.c:1140: error: 'Network' has no member named 'proxy_url'
uzbl.c:1147: error: 'Network' has no member named 'soup_logger'
uzbl.c:1147: warning: implicit declaration of function 'soup_logger_new'
uzbl.c:1148: warning: implicit declaration of function 'soup_session_add_feature'
uzbl.c:1148: error: 'Network' has no member named 'soup_session'
uzbl.c:1148: warning: implicit declaration of function 'SOUP_SESSION_FEATURE'
uzbl.c:1148: error: 'Network' has no member named 'soup_logger'
uzbl.c:1151: error: 'Network' has no member named 'useragent'
uzbl.c:1154: error: 'Network' has no member named 'useragent'
uzbl.c:1175: error: 'Network' has no member named 'useragent'
uzbl.c:1176: error: 'Network' has no member named 'useragent'
uzbl.c:1177: error: 'Network' has no member named 'soup_session'
uzbl.c:1177: error: 'SOUP_SESSION_USER_AGENT' undeclared (first use in this function)
uzbl.c:1177: error: 'Network' has no member named 'useragent'
uzbl.c:1180: error: 'Network' has no member named 'max_conns'
uzbl.c:1181: error: 'Network' has no member named 'soup_session'
uzbl.c:1181: error: 'SOUP_SESSION_MAX_CONNS' undeclared (first use in this function)
uzbl.c:1181: error: 'Network' has no member named 'max_conns'
uzbl.c:1184: error: 'Network' has no member named 'max_conns_host'
uzbl.c:1185: error: 'Network' has no member named 'soup_session'
uzbl.c:1185: error: 'SOUP_SESSION_MAX_CONNS_PER_HOST' undeclared (first use in this function)
uzbl.c:1185: error: 'Network' has no member named 'max_conns_host'
uzbl.c:1188: error: 'Network' has no member named 'proxy_url'
uzbl.c:1188: error: 'Network' has no member named 'proxy_url'
uzbl.c:1190: error: 'Network' has no member named 'useragent'
uzbl.c:1190: error: 'Network' has no member named 'useragent'
uzbl.c:1191: error: 'Network' has no member named 'max_conns'
uzbl.c:1191: error: 'Network' has no member named 'max_conns'
uzbl.c:1192: error: 'Network' has no member named 'max_conns_host'
uzbl.c:1192: error: 'Network' has no member named 'max_conns_host'
uzbl.c:1200: error: 'Network' has no member named 'soup_session'
uzbl.c:1200: error: 'handle_cookies' undeclared (first use in this function)
uzbl.c: At top level:
uzbl.c:1205: error: expected ')' before '*' token
uzbl.c:1221: error: expected ')' before '*' token
uzbl.c: In function 'main':
uzbl.c:1257: error: 'Network' has no member named 'soup_session'
uzbl.c:1257: warning: implicit declaration of function 'webkit_get_default_session'
make: *** [uzbl] Error 1
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build uzbl-git package.

And, just in case, here is the exact contents of the PKGBUILD.

# Contributor: Dieter Plaetinck <dieter@plaetinck.be>
pkgname=uzbl-git
pkgver=20090426
pkgrel=1
pkgdesc="The Uzbl browser: latest from the git master branch"
arch=('i686' 'x86_64')
url="http://github.com/Dieterbe/uzbl/"
license=('GPL3')
depends=('libwebkit' 'gtk2' 'libsoup>=2.24')
optdepends=('dmenu: to run some of the example scripts' 'bash: to run some of the example scripts')
makedepends=('git')
provides=('uzbl')
conflicts=('uzbl')
source=()
md5sums=()

_gitroot="git://github.com/Dieterbe/uzbl.git"

build() {
  msg "Connecting to GIT server..."
  if [[ -d $srcdir/$pkgname-$pkgver ]]; then
    cd $srcdir/$pkgname-$pkgver && git pull origin || return 1
  else
    git clone $_gitroot $srcdir/$pkgname-$pkgver || return 1
    cd $srcdir/$pkgname-$pkgver
  fi

  msg "GIT checkout done or server timeout"


    make || return 1
    make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et:

[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#266 2009-05-10 07:12: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.

elmer_42 wrote:

OK, I added that, but for some reason the build still fails. I manually installed libsoup (pacman -Qi says it's version 2.26.1-1) and still no dice. I would be fine installing it with git and make (as seen here) if there was a way to uninstall it fairly easily. Anyway, this is the output I got from yaourt while installing uzbl-git.
(...)

1) as you can see the PKGBUILD basically wraps around "git clone + make install", so if building the pkgbuild fails, doing it manually will fail as well.
2) there is a make uninstall target which cleans up all files.  I'll add it to the page on the website / INSTALL file.
3) Is your webkit up to date? Can you change the libwebkit dependency so it needs >=1.1.4


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

Offline

#267 2009-05-10 14:52:57

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

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

iphitus wrote:

When I make a comment on Flyspray, uzbl attaches a blank 0kb file,

for example:
http://bugs.archlinux.org/task/12564

Seems to be a problem with webkit(or libsoup) . Same thing happens in Midori bug tracker .
http://www.twotoasts.de/bugs/index.php? … ask_id=359


English is not my native language .

Offline

#268 2009-05-10 15:04:43

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

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

Dieter@be wrote:

3) Is your webkit up to date? Can you change the libwebkit dependency so it needs >=1.1.4

Hey! That's what it is! Thanks!


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#269 2009-05-10 19:31:33

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

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

elmer_42 wrote:
Dieter@be wrote:

3) Is your webkit up to date? Can you change the libwebkit dependency so it needs >=1.1.4

Hey! That's what it is! Thanks!

okay. fixed both pkgbuilds in aur smile


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

Offline

#270 2009-05-10 21:02:56

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

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

Dieter@be wrote:

okay. fixed both pkgbuilds in aur smile

Yeah, that's probably best. I imagine the only reason it wasn't mentioned before is that most people using this aren't lazy and actually Syu fairly often.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#271 2009-05-11 11:28:30

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

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

Thoughts on "multiple instance management" (somewhat like tabs, but better)...

I've been thinking more about this stuff.
What I've concluded is that "tabs" are just one specific gui implementation which aids in some aspects of "multiple instances management" but not all.  We can get the same and even better features functionality wise, without limiting ourselves to the particular implementation that tabs are.

What do tabs really do, do we really need it, and can we improve it?
The alternative I would like to implement is basically one uzbl instance per page, and allowing instances to be "tagged" (eg tag "work" or tag "personal").  The tag can be made visible in the title / statusbar, and aids in keeping related instances together.  If you open a link in a new window, the new instance should inherit the tag.

* tabs keep multiple open pages together when moving the window other tag/workspace
   -> in an ideal workspace, you assign windows to a tag/workspace and keep them there.
   -> in practice I notice I move my browser (firefox) sometimes, to aid in copy pasting between browser and another app, or doing something     while watching/reading a webpage.  This means however I only really need that specific page, not the others.
   -> With the suggested approach, you can easily temporarily move one window.
* tabs keep an oversight of which pages you have open
   -> you should "know" more or less know which pages you have open.  The gui is clutter.  I would call awmenu when you want to see a list "on demand" (http://bbs.archlinux.org/viewtopic.php?id=71453)
* tabs aid opening new pages in the background which you will open later.
   -> read on.
* tabs = horizontal named list
   -> the linear display of most tab implementations does not serve much purpose. and is in fact, not easy to read.  I suggest showing the open instances (from the current tag, or all) in a list where they appear below each other (eg awmenu)
   -> what is more important, is visually seeing which tabs (pages) you have visited already, which are "pending", which are still loading etc.
   -> i propose a vertical on-demand list showing these proporties (we could even use color codes), and awesome-like matching to go a specific tab. (awmenu will be able to do that)
* tab implementations usually provide shortcuts to go to the previous/next tab.
  -> I would implement shortcuts to go the next not-yet-seen, next/prev in list,... (once restricted to the current tag, but also for "all" uzbl instances)
   -> With tab based browsers you can usually configure if you want new tabs to open "immediately after the current tab", or "at the end of the list".  I think this approach is more powerful.


Conclusion: with awmenu, tags and some useful shortcuts I think we can come up with something better then tabs.  the added advantage is that single uzbl instances are quite simple to implement, one crashing instance does not affect the rest, and you don't have to use it if you don't want it (though i guess most people will want this).

Is there anything that I miss? anything that tabs are really good for that I forgot about?  Any reason the explained approach might be worse then tabs?

Last edited by Dieter@be (2009-05-11 11:33:17)


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

Offline

#272 2009-05-11 16:20:34

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

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

I haven't played with uzbl much yet. Here are some initial comments:

Dieter@be: yeah, I agree about not forcing tabs
Is there any form of caching going on? It seems I was always re-downloading images when going back/forward/back/...

I've been longing for something like uzbl for quite some time now; thank you so much for making it & keep up the good work!

Offline

#273 2009-05-11 16:55:01

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

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

litemotiv wrote:
dunz0r wrote:

read some about webkit and yeah... you're right. although it would be really cool to write your own from the ground up smile

yeah, and years of work wink

And you're aiming at a moving target. I came from the AmigaOS world, and they still don't have working CSS on any of the native engines. (There's a port of NetSurf for OS4, and the AROS guys are going for Webkit.) It's a huge job.


0 Ok, 0:1

Offline

#274 2009-05-11 16:58:00

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

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

peets wrote:

Is there any form of caching going on? It seems I was always re-downloading images when going back/forward/back/...

This is an item still on the TODO list, someone reported webkit does some limited caching by default, but I don't know any specifics yet.


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

Offline

#275 2009-05-12 20:03:25

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

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

Hello,
I've scripted a little, more advaned load_url_from_bookmarks.sh: Now it is possible to use the in the example file designated bookmark categories with dmenu, but the code itself requires a bit more clearance and improvment due subcategories etc.. but it works cool

#!/bin/bash
# load_url_from_bookmarks.sh

if [ -f /usr/share/uzbl/examples/data/bookmarks ]
then
  file=/usr/share/uzbl/examples/data/bookmarks
else
  file=./examples/data/bookmarks #useful when developing
fi

# Get Categories
category=`awk '{print $3}' $file | uniq | dmenu -fn '-*-profont-*-*-*-*-11-*-*-*-*-*-*' -nb '#141414' -nf '#DDDDDD' -sb '#141414' -sf '#9FBC00' -i`

sublinks=""
exec 0<$file
while read line
do
  act_cat=`echo $line | awk '{print $3}'`
  act_name=`echo $line | awk '{print $2}'`

  if [ "$act_cat" == "$category" ]; then
    sublinks="${sublinks}${act_name}\\n"
  fi
done

goto_name=`echo -e $sublinks | dmenu -fn '-*-profont-*-*-*-*-11-*-*-*-*-*-*' -nb '#141414' -nf '#DDDDDD' -sb '#141414' -sf '#9FBC00' -i`

goto=""
exec 0<$file
while read line
do
  act_cat=`echo $line | awk '{print $3}'`
  act_name=`echo $line | awk '{print $2}'`
  act_url=`echo $line | awk '{print $1}'`

  if [ "$act_cat" == "$category" ]; then
    if [ "$goto_name" == "$act_name" ]; then
      goto=$act_url
    fi
  fi
done

uzblctrl -s $5 -c "uri $goto"

Have fun


pwmt.org : programs with movie titles

Offline

Board footer

Powered by FluxBB