You are not logged in.
There's already something here but it's for xfce 4.4 (doesn't seem to work in xfce 4.6): http://goodies.xfce.org/projects/panel- … ark-plugin + It has more features than I need. I just want to type a url and it opens in web browser rather than search.
why do you want this as a panel plugin?
why not just use something like zenity/dmenu to enter the url and launch uzbl.
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
fflarex wrote:With the example quickmarks file above, you could type 'goa' to take you to the Arch home page in the current window, or 'gnu' to take you to uzbl's page in a new window, etc.
When I type 'go' or 'gn' it doesn't give me a chance to type the quickmark before it loads a blank url 'http:/' or opens a new window. I've made sure all my directories are set correctly, and that the quickmarks file is one per line. I can't even see what's wrong with the script - it looks like it should work.
Are there any conflicting shortcuts in your config? Any blank lines in your quickmarks file (there should be no blank lines or comments)? This actually happens to me every once in a while too, usually right after another instance of uzbl crashes. I can't really figure out why. If it is happening 100% of the time for you, though, I doubt it's caused by the same thing I'm having trouble with.
9mqksfhn wrote:There's already something here but it's for xfce 4.4 (doesn't seem to work in xfce 4.6): http://goodies.xfce.org/projects/panel- … ark-plugin + It has more features than I need. I just want to type a url and it opens in web browser rather than search.
why do you want this as a panel plugin?
why not just use something like zenity/dmenu to enter the url and launch uzbl.
It's just a different tool. If uzbl is meant to be flexible, why would you only encourage a few specific helper tools? dmenu looks out of place in an environment where everything, even the panel, is gtk. Both dmenu and zenity would require running a script prior to entering a URL. The advantage of having it in the panel is that it's always there; it doesn't go away.
Anyways, I would also say your best bet is the verve plugin.
Last edited by fflarex (2009-06-23 13:05:00)
Offline
slyson wrote:fflarex wrote:With the example quickmarks file above, you could type 'goa' to take you to the Arch home page in the current window, or 'gnu' to take you to uzbl's page in a new window, etc.
When I type 'go' or 'gn' it doesn't give me a chance to type the quickmark before it loads a blank url 'http:/' or opens a new window. I've made sure all my directories are set correctly, and that the quickmarks file is one per line. I can't even see what's wrong with the script - it looks like it should work.
Are there any conflicting shortcuts in your config? Any blank lines in your quickmarks file (there should be no blank lines or comments)? This actually happens to me every once in a while too, usually right after another instance of uzbl crashes. I can't really figure out why. If it is happening 100% of the time for you, though, I doubt it's caused by the same thing I'm having trouble with.
I think backspacing on the quickmarks file text to make sure there were no hidden new-line characters fixed my problem. Ty for the script anyway; it is better than scrolling through the bookmarks menu, and more tidy than keeping binds in the main config file.
Last edited by slyson (2009-06-23 13:59:52)
Offline
Hi,
quigybo: You're right, it can be done with verve, I hadn't found that plugin before. But I think you are right that gmrun is probably better, because verve requires clicking in the box (no way to focus it using the keyboard), but I can't find any documentation on how to make the gmrun config file so it handles urls; can you help?
Dieter@be: Thanks, I didn't know about zenity. I've tried to write a script to work it:
a=$(zenity --entry); uzbl --uri=$a
It works but I can't work out how to remove the 'Cancel' and 'OK' buttons, and remove the text that says 'Enter new text', and also make it cancel if I close the window rather than opening uzbl with a blank url.
Also do you think it would be possible to make it so if I type 'g lemon' it searches on google for the word lemon and if I type 'w lemon' it search wikipedia and 'd lemon' for wiktionary etc.
Thanks.
Last edited by 9mqksfhn (2009-06-23 14:21:50)
Offline
I found a bug; when I try to type in a form it writes it in the title bar of the window instead of in the form.
Offline
Also git is a dependency but it's not listed on the AUR page.
Offline
Also git is a dependency but it's not listed on the AUR page.
It's not listed because it's not a full dependency. It is a makedep though, a dependency only to build the package -- look at the PKGBUILD.
Offline
I found a bug; when I try to type in a form it writes it in the title bar of the window instead of in the form.
Press 'i' to go into insert mode and try again.
Offline
9mqksfhn wrote:I found a bug; when I try to type in a form it writes it in the title bar of the window instead of in the form.
Press 'i' to go into insert mode and try again.
When I press 'i' it just writes 'i' in the title bar of the window.
I tried setting the 'always_insert_mode' setting and that allows me to type in forms, but then when I use a modkey to type a keybinding it just types it in the title bar of the window.
Last edited by 9mqksfhn (2009-06-23 16:06:42)
Offline
Does uzbl actually have a cache?
Offline
quigybo: You're right, it can be done with verve, I hadn't found that plugin before. But I think you are right that gmrun is probably better, because verve requires clicking in the box (no way to focus it using the keyboard)
You can bind verve-focus to a keybinding...
Offline
9mqksfhn wrote:quigybo: You're right, it can be done with verve, I hadn't found that plugin before. But I think you are right that gmrun is probably better, because verve requires clicking in the box (no way to focus it using the keyboard)
You can bind verve-focus to a keybinding...
You're right - but how did you know?
Last edited by 9mqksfhn (2009-06-23 17:14:28)
Offline
You're right - but how did you know?
Well - vim has command-mode and insert-mode. So does uzbl.
Offline
9mqksfhn wrote:You're right - but how did you know?
Well - vim has command-mode and insert-mode. So does uzbl.
I was replying to fflarex, when I press 'i' it still just writes 'i' in the title bar of the window.
Offline
9mqksfhn, it sounds to me as if your config is not being read [properly]. do you have a valid file at ~/.config/uzbl/config ? if so, does it get read by uzbl (you can verify this by running uzbl -v from a terminal and viewing the output). if so, do the keybindings regarding placement of the status bar and the insert mode key show in the -v output as being read / bound correctly?
//github/
Offline
9mqksfhn, it sounds to me as if your config is not being read [properly]. do you have a valid file at ~/.config/uzbl/config ? if so, does it get read by uzbl (you can verify this by running uzbl -v from a terminal and viewing the output). if so, do the keybindings regarding placement of the status bar and the insert mode key show in the -v output as being read / bound correctly?
Right after I installed it from the AUR the problem was already occuring.
I then copied the default configuration file to ~/.uzbl without making any changes and ran:
uzbl --config=/home/joe/.uzbl --uri=http://lemon.com/
, and the problem still occured.
I then made these changes to ~/.uzbl: set 'always_insert_mode' to 1 and 'set modkey' to Control_L . I could now type in forms, but then when I used the modkey to type a keybinding it just typed it in the title bar of the window.
I can't run 'uzbl -v' because I just uninstalled it because it didn't work.
Last edited by 9mqksfhn (2009-06-23 17:43:25)
Offline
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
Last edited by brisbin33 (2009-06-23 20:04:25)
//github/
Offline
OK, I will try that.
But if it works, I still have one problem: I want to make it so if I type 'g lemon' it searches on google for the word lemon and if I type 'w lemon' it searches wikipedia and 'd lemon' for wiktionary etc. I'm trying to work out how I could do it using the xfce verve plugin. Do you think I could make scripts called 'g', 'w' and 'd' etc, and when they are called they open uzbl with the url and the the search query? For example: when I type 'g lemon' the scipt called g appends the word 'lemon' onto 'http://www.google.com/search?q=' to get 'http://www.google.com/search?q=lemon' and then opens uzbl with that url.
Last edited by 9mqksfhn (2009-06-23 20:58:10)
Offline
OK, I will try that.
But if it works, I still have one problem: I want to make it so if I type 'g lemon' it searches on google for the word lemon and if I type 'w lemon' it search wikipedia and 'd lemon' for wiktionary etc. I'm trying to work out how I could do it using the xfce verve plugin. Do you think I could make scripts called 'g', 'w' and 'd' etc, and when they are called they open uzbl with that url?
you should take a look at the sample config for ideas. just like arch is a DIY distro, uzbl is a DIY browser. best of luck.
for instance i have
bind :wiki _ = uri http://wiki.archlinux.org/index.php/Special:Search?search=%s&go=Go
bind :google _ = uri http://www.google.com/search?q=%s
to search our wiki and google respectively, you could also spawn scripts if that's easier.
Last edited by brisbin33 (2009-06-23 21:23:25)
//github/
Offline
OK, but can you write the scripts for me please because I am too lazy.
Offline
OK, thanks.
Offline
Brisbin33: Could you write some scripts for me, too? My computer isn't booting, and I'm having trouble.
Offline
Brisbin33: waaaa
too bad we're case sensitive here
$ Brisbin33
bash: Brisbin33: command not found.
$ brisbin33 --help
brisbin33: someone who is not writing scripts for lazy asses
Last edited by brisbin33 (2009-06-23 21:30:27)
//github/
Offline
But you told that other guy ... !
</satire>
Offline