You are not logged in.

#576 2009-09-14 12:59:02

ZankerH
Member
Registered: 2009-02-06
Posts: 95

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

Call me stupid, but how do I pass keybinds to uzbl? I put this in my $XDG_CONFIG_HOME/uzbl/config/config:

bind i = toggle_insert_mode
bind ,_ = uri %s

But pressing any of the above keybinds just prints the characters into the window title. What am I doing wrong?

Offline

#577 2009-09-14 14:30:26

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

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

ZankerH wrote:

Call me stupid, but how do I pass keybinds to uzbl? I put this in my $XDG_CONFIG_HOME/uzbl/config/config

Put it in $XDG_CONFIG_HOME/uzbl/config and try again.

Offline

#578 2009-09-14 14:34:24

ZankerH
Member
Registered: 2009-02-06
Posts: 95

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

scj wrote:
ZankerH wrote:

Call me stupid, but how do I pass keybinds to uzbl? I put this in my $XDG_CONFIG_HOME/uzbl/config/config

Put it in $XDG_CONFIG_HOME/uzbl/config and try again.

No change. Besides, the uzbl wiki says the config file should go into $XDG_CONFIG_HOME/uzbl/config, which is where I put it.

Offline

#579 2009-09-14 14:51:53

tcoffeep
Member
From: Timmins, Ontario
Registered: 2008-11-26
Posts: 99

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

is there any way to see the version number of uzbl, or has one not been set yet? I just like to know I have the most up-to-date version :>


=============== Read An Essay ===============
   Distro : Funtoo Linux || Kernel : ckernel-2.6.30-gentoo-r5
Processor : Athlon 64 X2 4400+ || RAM : 2GB || HD : 300GB
========================================

Offline

#580 2009-09-14 15:07:04

ZankerH
Member
Registered: 2009-02-06
Posts: 95

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

My binds still wont work, even if I run uzbl and define the config file with --config, so it's not a config issue. Any other ideas?

Last edited by ZankerH (2009-09-14 15:08:23)

Offline

#581 2009-09-14 15:25:46

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

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

ZankerH wrote:

My binds still wont work, even if I run uzbl and define the config file with --config, so it's not a config issue. Any other ideas?

Maybe try with all path like:
/home/user/.config/uzbl/config wink


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

Offline

#582 2009-09-14 15:37:24

ZankerH
Member
Registered: 2009-02-06
Posts: 95

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

SpeedVin wrote:
ZankerH wrote:

My binds still wont work, even if I run uzbl and define the config file with --config, so it's not a config issue. Any other ideas?

Maybe try with all path like:
/home/user/.config/uzbl/config wink

Nothing.

Just to clear this up: The defined bindings should work by just pressing the key, no escaping or modkeys?

Offline

#583 2009-09-14 16:07:47

tcoffeep
Member
From: Timmins, Ontario
Registered: 2008-11-26
Posts: 99

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

The way I got my config and scripts to be realized was through a trick I got on the IRC channel. In my .xinitrc :

export XDG_DATA_HOME=/home/lbrandon/.local/share
export XDG_CONFIG_HOME=/home/lbrandon/.config

And it worked straight off smile


=============== Read An Essay ===============
   Distro : Funtoo Linux || Kernel : ckernel-2.6.30-gentoo-r5
Processor : Athlon 64 X2 4400+ || RAM : 2GB || HD : 300GB
========================================

Offline

#584 2009-09-14 16:24:20

ZankerH
Member
Registered: 2009-02-06
Posts: 95

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

tcoffeep wrote:

The way I got my config and scripts to be realized was through a trick I got on the IRC channel. In my .xinitrc :

export XDG_DATA_HOME=/home/lbrandon/.local/share
export XDG_CONFIG_HOME=/home/lbrandon/.config

And it worked straight off smile

Those two variables are already set to their correct values on my install.

$echo $XDG_CONFIG_HOME
/home/zanker/.config
$echo XDG_DATA_HOME
/home/zanker/.local/share

Offline

#585 2009-09-14 17:02:18

ZankerH
Member
Registered: 2009-02-06
Posts: 95

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

Also, how do you install flash if uzbl is the only browser you have installed?

edit: I'm an idiot, the answer is obviously pacman -S flashplugin

Last edited by ZankerH (2009-09-14 17:05:30)

Offline

#586 2009-09-14 17:28: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.

tcoffeep wrote:

is there any way to see the version number of uzbl, or has one not been set yet? I just like to know I have the most up-to-date version :>

uzbl --version gives you the commit hash. we have no "version numbers"


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

Offline

#587 2009-09-14 20:07:18

ZankerH
Member
Registered: 2009-02-06
Posts: 95

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

ZankerH wrote:

My binds still wont work, even if I run uzbl and define the config file with --config, so it's not a config issue. Any other ideas?

Anyone?

Offline

#588 2009-09-14 20:43:11

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

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

Only a quick guess: Could it be a parsing problem in your config script. Typo or the like.

I don't really know how uzbl currently handles this type of errors. (Could do some experimentation once I got some spare time.)


To know or not to know ...
... the questions remain forever.

Offline

#589 2009-09-14 21:44:54

ZankerH
Member
Registered: 2009-02-06
Posts: 95

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

Oh wow, I've found the problem.

uzbl apparently doesn't like it when you keep your config neatly aligned by using tab in front of the equal signs. You have to use single spaces.

(posted this from uzbl, yay me!)

Last edited by ZankerH (2009-09-14 21:46:45)

Offline

#590 2009-09-16 20:14:46

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

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

N30N wrote:
wankel wrote:

Im curious if the gmail attachment issue was fixed or not? I used this browser a few weeks ago and was unable to download attachments from gmail.

You have to configure your download_handler to load the cookies from your cookie_handler. There's a example on the wiki.

Hi, do you mind helping me out a bit with this? Im searching the wiki and Im not finding the information youre referring to.

Offline

#591 2009-09-18 19:50:15

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

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

deleted.

edit: ok, nevermind. I find out that I don't know how to read. There's already a script that does what I want in the wiki.

Last edited by andre.ramaciotti (2009-09-18 19:57:04)


(lambda ())

Offline

#592 2009-09-19 18:31:54

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

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

Hello.
I just upgraded my libwebkit-git libsoup-git and uzbl-experimental-git packages.
And I don't know how use browser many things changed (I see commit's on github) when I prees key I got only a message that the key has been preesed I can't write text neutral.
I tried uzbl-browser uzbl-core (both same situation).


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

Offline

#593 2009-09-19 18:44:57

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

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

I tried uzbl-experimental-git yesterday, but got a bunch of messages about not recognised "bind" commands both for uzbl-browser as for uzbl-core.

No idea whether this a bug or a feature. Has the API been changed recently?

This could have been discussed on the mailing list, but I lag behind reading for several weeks.


To know or not to know ...
... the questions remain forever.

Offline

#594 2009-09-19 19:07:44

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

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

don't run the experimental branch if you don't want/don't have time to read up on what it takes to run it.


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

Offline

#595 2009-09-19 20:17:41

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

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

Dieter@be wrote:

don't run the experimental branch if you don't want/don't have time to read up on what it takes to run it.

I read git commit correct and now I uderstand why I can't control my Uzbl browser (Now I have to use other browser and wait for option to be appiled in webkit) neutral.


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

Offline

#596 2009-09-20 13:01:31

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

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

Ok I readed today comments and i installed python now I can write comments but I have wait to write text neutral.
Dieter@be:You have to add python to depends wink


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

Offline

#597 2009-09-22 15:13:54

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

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

Ok so I started styling UZBL. I got to a point that I get a google similar to http://omploader.org/vMmVnYg , which is awesome. the Arch forums looks kinda ok too, but I need to go further, I still get some white areas and such, especially since some sites have custom class names defined. I tried using * {}, but that screws some images. I'm not that good with CSS, so if anyone has like, a complete styling file for uzbl or something, please post. Cheers


Archlinux | ratpoison + evilwm | urxvtc | tmux

Offline

#598 2009-09-22 18:25:16

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

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

Not sure if any of you ladies did this already in a more "mature" manner, but I wrote a simple download script, the example one just didn't do it for me. This uses dmenu and allows you to select a folder to download too, then spawns wget in a terminal. It's hackish, I put it together in 5 minutes, but it works. At the moment it's really simple but as a TODO I have recursive dmenu selection(right now you can only select one top path to save to, no directory recursion)

#!/bin/sh
WGET="wget --user-agent=Firefox"
FOLDER=`ls -l $HOME |grep ^d | awk '{print $8}' | dmenu -nb "#272727" -nf "#C4DF90" -sb "#C4DF90" -sf "#272727"`
URL="$8"
cd "$HOME/$FOLDER"
xterm -title "Download" -e "echo \"Target: $HOME/$FOLDER/\" && echo \"Please wait...\" && $WGET $URL && echo \"Download complete. Press any key to close\" && read"

Archlinux | ratpoison + evilwm | urxvtc | tmux

Offline

#599 2009-09-22 18:31:28

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

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

Lich wrote:

Not sure if any of you ladies did this already in a more "mature" manner, but I wrote a simple download script, the example one just didn't do it for me. This uses dmenu and allows you to select a folder to download too, then spawns wget in a terminal. It's hackish, I put it together in 5 minutes, but it works. At the moment it's really simple but as a TODO I have recursive dmenu selection(right now you can only select one top path to save to, no directory recursion)

#!/bin/sh
WGET="wget --user-agent=Firefox"
FOLDER=`ls -l $HOME |grep ^d | awk '{print $8}' | dmenu -nb "#272727" -nf "#C4DF90" -sb "#C4DF90" -sf "#272727"`
URL="$8"
cd "$HOME/$FOLDER"
xterm -title "Download" -e "echo \"Target: $HOME/$FOLDER/\" && echo \"Please wait...\" && $WGET $URL && echo \"Download complete. Press any key to close\" && read"

Nice I will try  to have this work with download script bu brisbin33.


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

Offline

#600 2009-09-22 18:47:43

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

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

Done!

#!/bin/sh
WGET="wget --user-agent=Firefox"
TARGET="$HOME"
while (true); do
SELECTION=`ls -l $TARGET | grep ^d | awk '{print $8}' | dmenu -nb "#272727" -nf "#C4DF90" -sb "#C4DF90" -sf "#272727" -p $TARGET`
if [ -n "$SELECTION" ]; then
    TARGET="$TARGET/$SELECTION"
else break
fi
done
URL="$8"
cd "$TARGET"
xterm -bg "#272727" -fg "#C4DF90" -title "Download" -e "echo \"Target: $TARGET/\" && $WGET $URL && echo \"Download complete. Press any key to close\" && read"

Still a small TODO, has to show the folder selection at all times. To remain set on the current selected folder just hit Escape btw, you exit the dmenu loop, and it starts downloading

[edit] Stupid me, forgot dmenu has a prompt ( -p ). Next!
[edit2] For a "cleaner" version, using curl, so we only get one small but usefull progress bar, replace WGET="wget --user-agent=Firefox" with WGET="curl --progress-bar -O"

Last edited by Lich (2009-09-22 19:44:59)


Archlinux | ratpoison + evilwm | urxvtc | tmux

Offline

Board footer

Powered by FluxBB