You are not logged in.

#426 2009-07-06 21:19:09

N30N
Member
Registered: 2007-04-08
Posts: 273

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

sfauzia wrote:

I don't have an IRC client

Well earlier neldoreth confirmed the problem is caused my gcc 4.4. Compiling libwebkit with 4.3 (there's a package in AUR so you dont need to bother with rolling back) fixes the problem. smile

Offline

#427 2009-07-08 18:02:31

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

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

I was having the same problem with crashing on Wikipedia.  As of today my uzbl no longer crashes on Wikipedia pages.  I'm not sure why, but I did upgrade to kernel26-2.6.30.1-1 yesterday.  Anybody can verify?

Offline

#428 2009-07-08 19:18:50

sfauzia
Member
Registered: 2009-01-11
Posts: 88

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

N30N wrote:
sfauzia wrote:

I don't have an IRC client

Well earlier neldoreth confirmed the problem is caused my gcc 4.4. Compiling libwebkit with 4.3 (there's a package in AUR so you dont need to bother with rolling back) fixes the problem. smile

Thank you for sharing the fix--I really appreciate it. Have you had a problem with PDF files printed from uzbl being really badly rendered? Running the same command in conkeror to get the print dialog

javascript:window.print()

and printing the same webpage to PDF works perfectly. By badly rendered I mean the font spacing is completely off, the font is hard to read... overall, just plain bad. Don't know why conkeror doesn't have this problem, unless this problem is somehow webkit-specific.

Offline

#429 2009-07-08 19:20:45

sfauzia
Member
Registered: 2009-01-11
Posts: 88

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

Trent wrote:

I was having the same problem with crashing on Wikipedia.  As of today my uzbl no longer crashes on Wikipedia pages.  I'm not sure why, but I did upgrade to kernel26-2.6.30.1-1 yesterday.  Anybody can verify?

No, I don't think it's the kernel upgrade, because I'm running the same kernel and Wikipedia is still crashing (though I'm compiling gcc 4.3 like N30N suggested). Are you running Arch 64?

[edit] Just finished compiling libwebkit (I used the ABS), and everything is peachy with Wikipedia (in surf, where I couldn't use the little fix you gave me for uzbl). Thank you so, so much N30N. [/edit]

Last edited by sfauzia (2009-07-08 21:14:54)

Offline

#430 2009-07-08 22:05:10

N30N
Member
Registered: 2007-04-08
Posts: 273

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

sfauzia wrote:

Have you had a problem with PDF files printed from uzbl being really badly rendered?

It's probably just a lack of default printer style sheet rules (really that would be the web developers fault for relying on them). I did some tests on a alistapart article (as I knew they'd have their shit together) and the differences where minor (font sizes, padding, etc). Do you have a specific page that prints especially bad?

sfauzia wrote:

Just finished compiling libwebkit (I used the ABS), and everything is peachy with Wikipedia

Good to hear.

Last edited by N30N (2009-07-08 22:05:41)

Offline

#431 2009-07-08 22:36:54

sfauzia
Member
Registered: 2009-01-11
Posts: 88

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

Hm, my professor's website prints atrociously to PDF. But how would this explain how conkeror prints the same webpage without mishap?

Offline

#432 2009-07-09 00:52:37

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

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

sfauzia wrote:
Trent wrote:

I was having the same problem with crashing on Wikipedia.  As of today my uzbl no longer crashes on Wikipedia pages.  I'm not sure why, but I did upgrade to kernel26-2.6.30.1-1 yesterday.  Anybody can verify?

No, I don't think it's the kernel upgrade, because I'm running the same kernel and Wikipedia is still crashing (though I'm compiling gcc 4.3 like N30N suggested). Are you running Arch 64?

Yup, but I found after posting this that only some pages work now (whereas before all Wikipedia pages crashed it indiscriminately).  Some are still broken.  I have no idea why.

Offline

#433 2009-07-09 01:46:13

sfauzia
Member
Registered: 2009-01-11
Posts: 88

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

Trent wrote:

Yup, but I found after posting this that only some pages work now (whereas before all Wikipedia pages crashed it indiscriminately).  Some are still broken.  I have no idea why.

I noticed the same thing too, even before I recompiled libwebkit with gcc 4.3. If some Wikipedia pages were bookmarked in uzbl, accessing them worked quite a few times. Then some random articles worked. But nothing consistent enough. N30N provided me with a temporary fix, which is on the previous page, but recompiling libwebkit with gcc 4.3 isn't too bad. There's instructions on how to change the compiler in the PKGBUILD on another http://bbs.archlinux.org/viewtopic.php?id=48645post in the forums; look for the second post by pressh, about the middle of the page. If you already knew this, well then I hope the reference is of help to someone else (took me some digging to find it).

Offline

#434 2009-07-09 18:51:47

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

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

Someone know when we can use uzbl and libjpeg7 ?
Edit
I just compiled new libwebkit and upgraded all his depends and Uzbl are working fine smile

Last edited by SpeedVin (2009-07-09 19:06:23)


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

Offline

#435 2009-07-09 23:28:40

timofonic
Member
Registered: 2007-05-15
Posts: 47

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

Are there some app for having a no$script+adblockplus separated from the browser? So it can be used in an entire network and avoid filling the browser with extensions.

Privoxy is an option, but I would like be able to auto-update and use Adblock Plus extensions.

What about a hight contrast/console-like UNIX way of showing sites? I like the terminal looking of Google mail and this extension: https://addons.mozilla.org/en-US/firefox/addon/7166

Some way to force bad designed sites to be "HD ready" sometimes I want to read something in a comfortable and nice way on my 1920x1200 24" TFT monitor, but sites waste too much space from full screen. Maybe a similar approach like greasemoney but in a daemon way could be nice.

The UNIX approach is a collection of different apps that can work together in combination. Maybe you can convert a browser in a bunch of daemons, Imagine a daemon that saves the content of forms it received from the browser, history and such.

So, what about a suite like the following?

- uzbl: The main browser. Simple, fastlight and powerful.
- adblockd: Daemon similar to privoxy, simpler to use/configure and compatible with adblock plus filters. Spme similar software in functionality: AdSweep, BFilter, Proximodo, AdZapper (plus Squid), JunkBuster
- sitemd: Sitemodifier daemon. Similar to tools like greasemonkey, compatible with scripts from different apps and Firefox extensions. Maybe merge it with adblockd. This could be used in your OpenWRT or server, so shared between a bunch of computers and even adapted it for working within some antivirus for a computer network. Some similar software in functionality: GreasySpoon, Viralator, GrimeApe.
- blogd: Browser logging daemon. It saves history, forms, cookies and sessions in a realtime way. It doesn't matter if your system or browser crashes, your browsing will be recovered in the exact way as before.

Last edited by timofonic (2009-07-09 23:51:13)

Offline

#436 2009-07-12 03:24:51

Sakurina
Member
From: Trois-Rivieres, Quebec, Canada
Registered: 2008-10-09
Posts: 90
Website

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

Did any of you update and then suddenly had the follow_Numbers.js example no longer work?

The default 'F' hinting works, but "fl*" and "fL*" isn't working for me.

edit: Never mind, I am an idiot who can't type.

Last edited by Sakurina (2009-07-12 03:27:48)

Offline

#437 2009-07-12 18:00:21

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

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

Hello
Today i change part of my config to that in Diterbe experimental folder and I don't see url of page currently I am I only see title of this page that part of my config that I changed:

set status_format = <span background=\"red\"foreground=\"white\">KEYCMD</span> <b>TITLE</b>
set title_format_short = TITLE - Uzbl browser <NAME>
set title_format_long = KEYCMD MODE TITLE - Uzbl browser <NAME> > SELECTED_URI

Thanks for help smile

Last edited by SpeedVin (2009-07-12 18:35:52)


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

Offline

#438 2009-07-12 18:55:39

Sakurina
Member
From: Trois-Rivieres, Quebec, Canada
Registered: 2008-10-09
Posts: 90
Website

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

Put URI in your status_format for the current page's URI to show up in the status bar.

title_format is only for the title bar, and you currently have it set to SELECTED_URI, which shows the URI for the link you're hovering over.

Offline

#439 2009-07-12 23:35:06

Allamgir
Member
Registered: 2009-06-11
Posts: 168

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

I think uzbl should get an Arch Wiki page that gives some instruction about what to do after installing, and perhaps a few nifty scripts for "expected" features in modern web browsers. I have a feeling there would be plenty traffic and contributions if it was on the Arch Wiki.


дɭɭɑӎɠїɾ

Offline

#440 2009-07-13 03:35:39

mason.larobina
Member
From: Australia
Registered: 2009-07-02
Posts: 200
Website

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

That sounds like a great idea. Uzbl has a wiki on their site already and using a mix of some of the articles on that and sections out of the included FAQ & README it would be quite easy to piece together a thorough installation and configuration guide.

http://www.uzbl.org/wiki/

Offline

#441 2009-07-13 08:00:45

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

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

Sakurina wrote:

Put URI in your status_format for the current page's URI to show up in the status bar.

title_format is only for the title bar, and you currently have it set to SELECTED_URI, which shows the URI for the link you're hovering over.

Ok I got it thanks for help smile

Last edited by SpeedVin (2009-07-13 08:01:01)


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

Offline

#442 2009-07-16 13:41:45

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

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

golem.de had a little entry about uzbl today...

http://www.golem.de/0907/68416.html

Last edited by Rasi (2009-07-16 13:42:02)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#443 2009-07-26 14:07:13

calle
Member
From: Germany
Registered: 2008-11-14
Posts: 45

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

i am having an issue with uzbl_tabbed.py here.
when trying to start i am getting the following error:

[calle@casinha ~]$ /usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py

/usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py:450: GtkWarning: Im Modulpfad »mist« konnte keine Themen-Engine gefunden werden,
  self.window = gtk.Window()
Listening on /tmp/uzbltabbed_26136
Traceback (most recent call last):
  File /usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py, line 1067, in <module>
    self.new_tab()
NameError: name 'self' is not defined

any hints?

Offline

#444 2009-07-26 14:10:06

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

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

calle wrote:

i am having an issue with uzbl_tabbed.py here.
when trying to start i am getting the following error:

[calle@casinha ~]$ /usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py

/usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py:450: GtkWarning: Im Modulpfad »mist« konnte keine Themen-Engine gefunden werden,
  self.window = gtk.Window()
Listening on /tmp/uzbltabbed_26136
Traceback (most recent call last):
  File /usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py, line 1067, in <module>
    self.new_tab()
NameError: name 'self' is not defined

any hints?

this is fixed for already a while. get fresher code


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

Offline

#445 2009-07-26 14:11: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.

Rasi wrote:

golem.de had a little entry about uzbl today...

http://www.golem.de/0907/68416.html

http://www.uzbl.org/wiki/press big_smile


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

Offline

#446 2009-07-26 14:49:49

calle
Member
From: Germany
Registered: 2008-11-14
Posts: 45

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

Dieter@be wrote:
calle wrote:

i am having an issue with uzbl_tabbed.py here.
when trying to start i am getting the following error:

[calle@casinha ~]$ /usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py

/usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py:450: GtkWarning: Im Modulpfad »mist« konnte keine Themen-Engine gefunden werden,
  self.window = gtk.Window()
Listening on /tmp/uzbltabbed_26136
Traceback (most recent call last):
  File /usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py, line 1067, in <module>
    self.new_tab()
NameError: name 'self' is not defined

any hints?

this is fixed for already a while. get fresher code

installed via yaourt today (which uses git, i think), does fresher code exist then?

EDIT:ok, experimental branch does work for me so far

Last edited by calle (2009-07-26 15:18:37)

Offline

#447 2009-07-26 15:21:31

mason.larobina
Member
From: Australia
Registered: 2009-07-02
Posts: 200
Website

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

calle wrote:
Dieter@be wrote:
calle wrote:

i am having an issue with uzbl_tabbed.py here.
when trying to start i am getting the following error:

[calle@casinha ~]$ /usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py

/usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py:450: GtkWarning: Im Modulpfad »mist« konnte keine Themen-Engine gefunden werden,
  self.window = gtk.Window()
Listening on /tmp/uzbltabbed_26136
Traceback (most recent call last):
  File /usr/share/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py, line 1067, in <module>
    self.new_tab()
NameError: name 'self' is not defined

any hints?

this is fixed for already a while. get fresher code

installed via yaourt today (which uses git, i think), does fresher code exist then?

This is a github meta-url to the maintainers (myself) latest uzbl_tabbed.py commit:
http://github.com/mason-larobina/uzbl/b … _tabbed.py

And yes a fresher version did exist (by weeks).

Have a great day smile

Last edited by mason.larobina (2009-07-26 15:24:42)

Offline

#448 2009-07-26 16:43:34

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

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

Hello again
For some time I want to modifete download scripts from uzbl default's scripts.
This is that's what I want to do:
1.When you try download file you give question where save file?
2.You Type path to directory where you want save file.
I one PKGBUILD in AUR i see option readchoice 1 was option yes 0 was option no.
I will give an example.

PKBUILD stuff
readchoice:
if 1 <do something>
else
if 0 <stop>

What programs I can use to do this script?
And that's all thanks for answers and help wink
Edit
Ohh now I see batch_download can change the direcotry of download but he can download some files at once and I only need small scripts wink
Edit2
For now I got this:

#!/bin/sh
# just an example of how you could handle your downloads
# try some pattern matching on the uri to determine what we should do 
# Some sites block the default wget --user-agent..
GET="wget --user-agent=Firefox"
echo -n "Where save file?"
read where
echo "$where"
dest="$where"
url="$8" 
test "x$url" = "x" && { echo "you must supply a url! ($url)"; exit 1; } 
# only changes the dir for the $get sub process
if echo "$url" | grep -E '.*\.torrent' >/dev/null;
then
( cd "$dest"; eval "$GET" "$url")
else
( cd "$dest"; eval "$GET" "$url")
fi

Last edited by SpeedVin (2009-07-26 20:38:01)


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

Offline

#449 2009-07-26 20:59:23

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

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

SpeedVin wrote:

Hello again
For some time I want to modifete download scripts from uzbl default's scripts.
This is that's what I want to do:
1.When you try download file you give question where save file?
2.You Type path to directory where you want save file.
I one PKGBUILD in AUR i see option readchoice 1 was option yes 0 was option no.
I will give an example.

PKBUILD stuff
readchoice:
if 1 <do something>
else
if 0 <stop>

What programs I can use to do this script?
And that's all thanks for answers and help wink
Edit
Ohh now I see batch_download can change the direcotry of download but he can download some files at once and I only need small scripts wink
Edit2
For now I got this:

#!/bin/sh
# just an example of how you could handle your downloads
# try some pattern matching on the uri to determine what we should do 
# Some sites block the default wget --user-agent..
GET="wget --user-agent=Firefox"
echo -n "Where save file?"
read where
echo "$where"
dest="$where"
url="$8" 
test "x$url" = "x" && { echo "you must supply a url! ($url)"; exit 1; } 
# only changes the dir for the $get sub process
if echo "$url" | grep -E '.*\.torrent' >/dev/null;
then
( cd "$dest"; eval "$GET" "$url")
else
( cd "$dest"; eval "$GET" "$url")
fi

read won't work. you're not in a shell.
Try this:

zenity --file-selection --directory

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

Offline

#450 2009-07-27 06:19:12

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

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

Dieter@be wrote:
SpeedVin wrote:

Hello again
For some time I want to modifete download scripts from uzbl default's scripts.
This is that's what I want to do:
1.When you try download file you give question where save file?
2.You Type path to directory where you want save file.
I one PKGBUILD in AUR i see option readchoice 1 was option yes 0 was option no.
I will give an example.

PKBUILD stuff
readchoice:
if 1 <do something>
else
if 0 <stop>

What programs I can use to do this script?
And that's all thanks for answers and help wink
Edit
Ohh now I see batch_download can change the direcotry of download but he can download some files at once and I only need small scripts wink
Edit2
For now I got this:

#!/bin/sh
# just an example of how you could handle your downloads
# try some pattern matching on the uri to determine what we should do 
# Some sites block the default wget --user-agent..
GET="wget --user-agent=Firefox"
echo -n "Where save file?"
read where
echo "$where"
dest="$where"
url="$8" 
test "x$url" = "x" && { echo "you must supply a url! ($url)"; exit 1; } 
# only changes the dir for the $get sub process
if echo "$url" | grep -E '.*\.torrent' >/dev/null;
then
( cd "$dest"; eval "$GET" "$url")
else
( cd "$dest"; eval "$GET" "$url")
fi

read won't work. you're not in a shell.
Try this:

zenity --file-selection --directory

Ok if read don't work I will try your proposition thank you very much Dieter@be.


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

Offline

Board footer

Powered by FluxBB