You are not logged in.

#376 2009-06-23 22:01:43

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

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

now I regret subscribing to this thread

Offline

#377 2009-06-24 00:39:44

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

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

@9mqksfhn -- you can copy mine if you like, but I didn't comment it.

http://ccoderun.com/stuff/configs/uzbl/config

Offline

#378 2009-06-24 13:43:42

9mqksfhn
Member
Registered: 2009-06-17
Posts: 26

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

brisbin33 wrote:

too bad you gave up, the following should've gotten you working fine:

# install uzbl, then...

cp -r /usr/share/uzbl/examples/config/uzbl ~/.config/
cp -r /usr/share/uzbl/examples/data/uzbl ~/.local/share/

would give you a valid file at ~/.config/uzbl/config which you can customize from there

I did that and it works better than before but I still can't send commands to it using a modkey.

When I set the modkey to Control_L it just types symbols in the status bar when I hold Control, and when I set it to Alt_L it didnt work at all.

Last edited by 9mqksfhn (2009-06-24 13:48:43)

Offline

#379 2009-06-24 15:20:29

9mqksfhn
Member
Registered: 2009-06-17
Posts: 26

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

BTW the symbol it types is symboli.png

Last edited by 9mqksfhn (2009-06-24 15:21:11)

Offline

#380 2009-06-24 15:27:43

9mqksfhn
Member
Registered: 2009-06-17
Posts: 26

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

I set uzbl as my default web browser in xfce but when xfce opens urls uzbl just shows the uzbl home page instead of the page it was supposed to show.

Offline

#381 2009-06-24 16:02:08

9mqksfhn
Member
Registered: 2009-06-17
Posts: 26

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

I wrote a wikipedia article about uzbl http://en.wikipedia.org/wiki/Uzbl and I linked to it from http://en.wikipedia.org/wiki/List_of_we … Unix/Linux

Offline

#382 2009-06-24 20:08:47

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

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

9mqksfhn wrote:

I wrote a wikipedia article about uzbl http://en.wikipedia.org/wiki/Uzbl and I linked to it from http://en.wikipedia.org/wiki/List_of_we … Unix/Linux

Thanks.

As for your url problem, make sure you call uzbl --uri <uri> and that you use a recent version.  This used to be a bug bit it should be fixed now.


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

Offline

#383 2009-06-24 20:53:09

9mqksfhn
Member
Registered: 2009-06-17
Posts: 26

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

Dieter@be wrote:
9mqksfhn wrote:

I wrote a wikipedia article about uzbl http://en.wikipedia.org/wiki/Uzbl and I linked to it from http://en.wikipedia.org/wiki/List_of_we … Unix/Linux

Thanks.

As for your url problem, make sure you call uzbl --uri <uri> and that you use a recent version.  This used to be a bug bit it should be fixed now.

But it's to do with xfce launching uzbl automatically, so I don't have control over the command it sends. See this bug report for more detail: http://www.uzbl.org/bugs/index.php?do=d … task_id=46

My biggest problem is that uzbl displays symboli.png when I type key-bindings instead of following commands.

Last edited by 9mqksfhn (2009-06-24 20:56:28)

Offline

#384 2009-06-24 21:23:05

cdwillis
Member
From: /home/usa
Registered: 2008-11-20
Posts: 294

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

This sounds silly, but 9mqksfhn are you sure you're in command mode and not insert mode?

Offline

#385 2009-06-24 21:31:32

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

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

9mqksfhn wrote:

But it's to do with xfce launching uzbl automatically, so I don't have control over the command it sends. See this bug report for more detail: http://www.uzbl.org/bugs/index.php?do=d … task_id=46

this happend to me with urxvt.  write a helper script that's simply 'uzbl --uri "$1"' then call the helper script as the default browser rather than uzbl directly.

EDIT: just read this...

you wrote:

When I set the modkey to Control_L it just types symbols in the status bar when I hold Control

so here's the deal.  with the standard config you are always in command mode.  you press i and you're in insert mode.  this is a great way to use a program, again i recommend you try it. but, to each his own.

with the setup you've been describing (always insert mode and a mod key of Control_L), you will always be in insert mode.  you press left control to enter command mode.* 

by holding ctrl and hitting characters, no wonder you're getting the weird symbols.  those are probably keycodes for Ctrl+whatever.


*it should be noted that i've never actually used uzbl like this and am only guessing based on the above evidence as to its behavior.

Last edited by brisbin33 (2009-06-24 21:38:12)

Offline

#386 2009-06-25 06:56:34

XFire
Member
From: UK
Registered: 2008-05-11
Posts: 192

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

Dieter@be wrote:
9mqksfhn wrote:

I wrote a wikipedia article about uzbl http://en.wikipedia.org/wiki/Uzbl and I linked to it from http://en.wikipedia.org/wiki/List_of_we … Unix/Linux

Thanks.

As for your url problem, make sure you call uzbl --uri <uri> and that you use a recent version.  This used to be a bug bit it should be fixed now.

The page has been removed.


There is a difference between bleeding [edge] and haemorrhaging. - Allan

Offline

#387 2009-06-25 10:27:52

9mqksfhn
Member
Registered: 2009-06-17
Posts: 26

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

XFire: They said it's because it hasen't had a release yet and hasn't been covered by enough media.

brisbin33: OK, the default web browser problem is fixed.

As for the symbols: when I press control and type something afterwards it doesn't do anything at all. I think it might be a bug.

Offline

#388 2009-06-25 10:49:18

9mqksfhn
Member
Registered: 2009-06-17
Posts: 26

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

I think there's a spelling mistake in uzbl's config file:

## enable/disable JavaScript
#set disbale_scripts = 1

Offline

#389 2009-06-25 11:54:38

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

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

1)

9mqksfhn wrote:

I think there's a spelling mistake in uzbl's config file:

## enable/disable JavaScript
#set disbale_scripts = 1

This is fixed already (maybe not yet in master branch though)

2) http://www.uzbl.org/wiki/urxvt

3)

9mqksfhn wrote:

But it's to do with xfce launching uzbl automatically, so I don't have control over the command it sends. See this bug report for more detail: http://www.uzbl.org/bugs/index.php?do=d … task_id=46

Frankly, if program foo is a program that is supposed to launch another program bar, and you cannot control the arguments used for calling bar, then that's a deficiency in foo.  That said, being able to do `uzbl <uri here>` would be a good thing. patch welcome.

4)

9mqksfhn wrote:

XFire: They said it's because it hasen't had a release yet and hasn't been covered by enough media.

That's pretty lame imho but yeah, feel free to try again after we've done a release.

5) How the modkey *should* work: it should allow to enter any characters into the command bar (and hence trigger any binds you have defined), while in insert mode (whether you have always_insert_mode or not doesn't matter), by keeping the modkey pressed.  Whether this works at all or not I'm not sure, I haven't tried it for a long while big_smile.  In fact some people seem to make binds like '^A' and report success with it, but this is not compatible with the modkey.

Last edited by Dieter@be (2009-06-25 11:55:04)


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

Offline

#390 2009-06-25 12:06:23

9mqk$fhn
Member
Registered: 2009-06-25
Posts: 10

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

OK, well the modkey seems to be broken so I'll submit a bug report for it.

Offline

#391 2009-06-25 12:40:54

9mqk$fhn
Member
Registered: 2009-06-25
Posts: 10

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

Is it possible to make it so when I middle click a link it opens in a new instance? or perhaps hover the cursor over it and press a keybinding.

Offline

#392 2009-06-26 15:25:53

9mqk$fhn
Member
Registered: 2009-06-25
Posts: 10

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

Launching uzbl from an xfce panel plug-in.

This tutorial shows you how to launch uzbl using an xfce panel plug-in, and set up shortcuts for searching google, wikipedia, and wiktionary.

To follow this tutorial you need a computer with ArchLinux, xfce, nano and uzbl installed and configured. Read http://www.wikihow.com/Buy-a-New-Computer, http://wiki.archlinux.org/index.php/Beginners_Guide, http://wiki.archlinux.org/index.php/Xfce, http://wiki.archlinux.org/index.php/Nano and http://www.uzbl.org/get.php to find out how to get these.

1. Type into a bash shell with root privileges: 'pacman -S verve-plugin', and press 'y', then 'Enter' when asked to confirm. The xfce verve plug-in is now installed.

2. Add the verve plug-in to the xfce panel by right clicking on the panel and selecting 'Add New Items...', then selecting the verve-plugin and then the 'Add' button. Change the default settings if you want. A text box is added to the panel. Now you can now run applications by typing their name into the text box and pressing enter.

3. Type 'exo-preferred-applications' in the text box and press enter. The xfce preferred applications program will open. Set your default web browser to 'uzbl --uri "%s"'. Now you can open websites in uzbl by typing their urls into the text box and pressing enter.

4. Type 'xfce4-keyboard-settings' in the text box and press enter. Focus the 'Application Shortcuts' tab, select 'Add' and set a keyboard shortcut that executes 'verve-focus'. Now you can focus the text box using the keyboard shortcut.

5. Type in a bash shell with root privileges: 'nano /usr/bin/g', then type: '#!/bin/sh
uzbl --uri http://www.google.com/search?q=$@
exit 0'. Press 'Control+x', 'y' and 'Enter' to save the file and close nano. Type 'chmod 755 /usr/bin/g' to make the file executable. Now you can search for words on google by typing 'g <search phrase>' into the text box, where '<search phrase>' is the word or phrase you want to search for.

Here are scripts for searching wikipedia and wiktionary:

For searching wikipedia: '#!/bin/sh
uzbl --uri http://en.wikipedia.org/wiki/Special:Search?search=$@
exit 0'

For searching wiktionary: '#!/bin/sh
uzbl --uri http://en.wiktionary.org/wiki/Special:Search?search=$@
exit 0'

Last edited by 9mqk$fhn (2009-06-26 15:55:03)

Offline

#393 2009-06-26 15:40:43

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

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

9mqk$fhn wrote:

stuff

FYI: this would be better as a wiki than a forum post.

some things to note if you do add a wiki:

you can also use "$@" to symbolize all parameters passed, rather than limiting yourself to $1 $2 $3...

also, i don't like adding scripts to /usr/bin; personally i'd place them in ~/bin and add that to your $PATH.  but this is just my preference so i can keep installed programs and my own scripts separate for easier tracking/maintenance.

Offline

#394 2009-06-26 16:07:22

9mqk$fhn
Member
Registered: 2009-06-25
Posts: 10

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

brisbin33 wrote:
9mqk$fhn wrote:

stuff

FYI: this would be better as a wiki than a forum post.

some things to note if you do add a wiki:

you can also use "$@" to symbolize all parameters passed, rather than limiting yourself to $1 $2 $3...

also, i don't like adding scripts to /usr/bin; personally i'd place them in ~/bin and add that to your $PATH.  but this is just my preference so i can keep installed programs and my own scripts separate for easier tracking/maintenance.

OK, I changed it to $@, thanks.

Last edited by 9mqk$fhn (2009-06-26 16:10:11)

Offline

#395 2009-06-26 16:11:22

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

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

you wrote:

two paragraphs about how /usr/bin is better than /bin even though i actually recommended ~/bin, which were then removed upon a second reading of my post

...oh i see what you did there.

Last edited by brisbin33 (2009-06-26 16:14:46)

Offline

#396 2009-06-26 16:12:53

9mqk$fhn
Member
Registered: 2009-06-25
Posts: 10

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

brisbin33 wrote:

...oh i see what you did there.

Yeah.

Last edited by 9mqk$fhn (2009-06-26 16:25:03)

Offline

#397 2009-06-26 17:09: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.

brisbin33 wrote:
9mqk$fhn wrote:

stuff

FYI: this would be better as a wiki than a forum post.

I agree. http://www.uzbl.org/wiki/ smile


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

Offline

#398 2009-06-26 18:34:20

9mqk$fhn
Member
Registered: 2009-06-25
Posts: 10

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

Dieter@be wrote:
brisbin33 wrote:
9mqk$fhn wrote:

stuff

FYI: this would be better as a wiki than a forum post.

I agree. http://www.uzbl.org/wiki/ smile

I would add it there but I can't work out how.

Offline

#399 2009-06-27 07:49:29

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

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

Hello i'm using now uzbl (great browser).
But I have question when i press Shift+F I see numbers on links is there's any way to go to this links maybe typening in command mode o 14 and browser go to 14 link that's will better to browse with only keyboard , but I want to say to author/devs Great Work.
Ok i got I it's a great feuture.

Last edited by SpeedVin (2009-06-27 10:47:26)


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

Offline

#400 2009-06-28 10:28:50

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

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

Hello again.
I have an idea and i don't know how do it.
I want to grab links and paste it to status bar just like Firefox location bar (it's passible?)
I find this section in Barracudu config (Thanks for sharing):
bind gc = sh "echo set uri = `xclip -o` > $4"
Thanks for help wink


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

Offline

Board footer

Powered by FluxBB