You are not logged in.

#1 2009-12-06 20:04:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

[uzbl] how do I clear the command bar after following a link? [SOLVED]

It's ridiculous that I've done this again, but I've forgotten how to have uzbl automagically clear the command bar after I fl something. Yes, I know at some point it was on uzbl's wiki page; yes, I did compare my old and new configs; yes, I'm a dork and I'm just not finding the answer.

Offline

#2 2009-12-06 21:52:28

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: [uzbl] how do I clear the command bar after following a link? [SOLVED]

I posted the same question in the uzbl thread, didn't get any answer there. *subscribing*

Offline

#3 2009-12-07 01:06:35

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [uzbl] how do I clear the command bar after following a link? [SOLVED]

Yes, it's confirmed. I'm a dork:

@on_event   LOAD_START     chain 'set status_message = <span foreground="khaki">wait</span>' 'set keycmd ='

Wait! That didn't solve anything. It just seemed like it solved something. What the...

Wait! Part II. This seems to work. I have no idea what kinds of side effects it's going to have:

@on_event   LOAD_START     chain '@set_status <span foreground="khaki">wait</span>' 'event KEYCMD_STRIP_WORD'

Offline

#4 2009-12-07 11:22:30

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

Re: [uzbl] how do I clear the command bar after following a link? [SOLVED]

hmmmm i know we used the first method (actually i thought we were still using it, but looking at the default config tells me otherwise)
either way, what does 'diff $XDG_CONFIG_HOME/uzbl/.config /usr/share/uzbl/examples/config/uzbl/config' tell you?

note that the linkfollowingscripts used to work okay, but uzbl has undergone many changes, and the linkfollowing scripts not, so linkfollowing experience has become worse.  we need to address this..

Last edited by Dieter@be (2009-12-07 11:23:40)


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

Offline

#5 2009-12-08 02:18:43

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [uzbl] how do I clear the command bar after following a link? [SOLVED]

The only part of diff that has anything to do with this is:

< @on_event   LOAD_START     chain '@set_status <span foreground="khaki">wait</span>' 'event KEYCMD_STRIP_WORD'
---
> @on_event   LOAD_START     @set_status <span foreground="khaki">wait</span>

The rest is either stuff that I've commented out for now or key bindings, personal settings, etc.

The follow link code is working now the way that it was before with the above changes. With the old way (as posted above) it wreaks all sorts of havoc with uzbl. By that I mean that the command bar would seem to clear but the data would reappear as soon as another command would start to be entered. As well, backspacing to the beginning of the command line would send uzbl to follow URLs that I didn't specify.

By the way, no matter if the above is hackish or not, it's close to what I want. The only thing left would be for ESC to clear the numbers if I chose not to do go somewhere. Is there a way to set this up without breaking other functionality?

Offline

#6 2009-12-08 20:17:37

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

Re: [uzbl] how do I clear the command bar after following a link? [SOLVED]

i can haz bugreport kthxbye


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

Offline

#7 2009-12-09 04:11:39

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [uzbl] how do I clear the command bar after following a link? [SOLVED]

Dieter@be wrote:

i can haz bugreport kthxbye

Just 'cuz you care:

http://www.uzbl.org/bugs/index.php?do=d … ask_id=146

Offline

#8 2009-12-15 14:56:45

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

Re: [uzbl] how do I clear the command bar after following a link? [SOLVED]

I've updated the following scripts to clear the keycmd after a link-follow.

You can apply these changes yourself or download the updated script(s) from my repo.

Here are the changes I've made: http://github.com/mason-larobina/uzbl/c … a64b8401b7

Offline

#9 2009-12-15 20:31:38

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

Re: [uzbl] how do I clear the command bar after following a link? [SOLVED]

fix pulled in both branches.


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

Offline

#10 2009-12-17 04:41:23

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [uzbl] how do I clear the command bar after following a link? [SOLVED]

Groovy. I'll mark this as [SOLVED] even though I haven't tried it yet. I'll give it a whirl in the next few days.

Offline

Board footer

Powered by FluxBB