You are not logged in.
After pressing o, typing in a string is there any difference between pressing »Tab« and »Control-Shift-b«?
The difference is that Control-Shift-b only completes bookmarks where Tab also
completes history.
Offline
The difference is that Control-Shift-b only completes bookmarks where Tab also
completes history.
Ah, I’ve disabled history completely, that’s why it looked the same to me. Thanks!
Offline
Onyros wrote:Finally, I can't seem to set "Control+Tab" to cycle between tabs, I tried using Control S-Tab and a few other combinations but none worked, is there a solution for this?
Hello Onyros,
just to be sure, you know about the bindings gT and gt, right?
Yup, jakob. I use both combinations. Sometimes it's handy to use Control+Tab, others I just gt or gT (got used to it from vim, obviously).
Meaning, sometimes when I have my right hand on the mouse I use Control Tab, when I'm fully keyboarding I use gt (gT). I defined Control Tab on the keys, and gt (gT) on the custom keys file.
Even though I do use DWM+dwb, I still use the mouse. I'm not ratpoisoning my setups, and won't. I like the combination, it's more practical for me
Last edited by Onyros (2012-02-29 17:45:54)
Offline
@Portix,
Thanks, that was exactly what I was looking for!
EDIT: question. Is there a reason that Control-B bookmark completion only works for the o shortcut, but not for when I type the full :open command?
Last edited by bananagranola (2012-03-01 05:39:45)
Offline
question. Is there a reason that Control-B bookmark completion only works for the o shortcut, but not for when I type the full :open command?
Oh, that is a bug. I started to rework the whole tabcompletion implementation, this will be fixed when it is done, but it still takes some time.
Offline
portix, I use ZZ to close tabs (pretty much like vim), but when there's only one tab left it doesn't close dwb. Is there a simple way of making it work I missed or is that really the intended behaviour?
Offline
portix, I use ZZ to close tabs (pretty much like vim), but when there's only one tab left it doesn't close dwb. Is there a simple way of making it work I missed or is that really the intended behaviour?
No, that is not intended and i cannot reproduce it.
Also, on using ZZ and gZZ, how can I restore a named session ?
You can restore a session with -r or --restore
-r, --restore <name>
Restore session with name <sessionname> or the default
session, if sessionname is omitted.
Last edited by portix (2012-03-01 18:38:26)
Offline
Wow, it's great to have such an active developer. Thanks for the quick reply!
Offline
Hi. I use this code to set keymap to switch layouts:
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll 'us,lt'
In 'us' layout everything is fine, but then I switch to 'lt' none keys are working, I can't write commands, because colon don't work too. Everytime I have to switch back to 'us' to move on. 'lt' layout changes only numbers on the top of keyboard. In INSERT mode everything normal. What I'm missing?
Love this browser and this is the last anoying problem about it. Thanks in advance Sorry if question is silly and sorry for broken english
Offline
Hi. I use this code to set keymap to switch layouts:
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll 'us,lt'
In 'us' layout everything is fine, but then I switch to 'lt' none keys are working, I can't write commands, because colon don't work too. Everytime I have to switch back to 'us' to move on. 'lt' layout changes only numbers on the top of keyboard. In INSERT mode everything normal. What I'm missing?
Love this browser and this is the last anoying problem about it. Thanks in advance Sorry if question is silly and sorry for broken english
Hey, I use the following portion in 10-evdev.conf to switch between my default German Neo2 and German qwertz layout using Scroll-Lock:
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "de,de"
Option "XkbVariant" "neo,basic" # Neo als Standard, QWERTZ als zweite Belegung
Option "XkbOptions" "grp:sclk_toggle,grp_led:scroll" # Drücken von Scroll-Lock wechselt zwischen neo und qwertz, Scroll-LED zeigt Wechsel an
EndSection
And have the same problem: When switching layouts with the xkboption, dwb doesn’t recognize “i” or “o” in command mode, although it’s possible to type text into a field when Insert-Mode is active (e.g. via mouse click) and “Esc” also works.
However, switching the layout via commandline “setxkbmap de” for instance works without a problem. Strange thing.
Offline
I have found the reason why switching the layout breaks the keyboard handling and will fix this with the next revision which will most likely be tomorrow.
Offline
I have found the reason why switching the layout breaks the keyboard handling and will fix this with the next revision which will most likely be tomorrow..
Very good news. Thanks for so fast response and for active development
Last edited by JustasM (2012-03-03 21:43:53)
Offline
I was trying to access the Pandora website today, and realized that for some reason it doesn't load. Scripts are allowed on that page, and I toggled it several times just to make sure. Scripts are working fine on other websites, such as Google Calendar. Is there a reason for this?
EDIT: I meant plugins, not scripts. Flashplugin is installed.
Last edited by bananagranola (2012-03-04 08:00:51)
Offline
I don't know what the pandora website is, there are several websites called pandora and pandora.com is not available in my country, i don't know if i can access it via a proxy.
Offline
@banaagranola: Have you tried to completely disable the pluginblocker?
@JustasM, jakob: The issue with switching keyboard layouts is resolved now.
Last edited by portix (2012-03-04 11:20:51)
Offline
Yeah, I've completely disabled the plugin blocker. I just checked. And plugins are allowed and working fine on other sites. I can access the site, but it doesn't load the flash player; it just shows the logo with that blue background and halts. Very odd. But eh, not a huge deal or anything.
Offline
Besides....pianobar-git is a MUCH better option for pandora!
Exactly why it's not a big deal!
Offline
Hi portix. Is it possible for hints not to be automatically followed once uniquely indentified(when typing numbers/letters or link description in hint mode?
Offline
Hi portix. Is it possible for hints not to be automatically followed once uniquely indentified(when typing numbers/letters or link description in hint mode?
There is no option for it and i will not add an option for it, it seems pointless to me. You can however move /usr/share/dwb/scripts/hints.js to ~/.config/dwb/scripts and remove lines 395-397 from that script:
else if (array.length == 1) {
return __evaluate(array[0].element, type);
}
Edit: You should then also rename that script to hints.onload.js.
Last edited by portix (2012-03-05 19:56:13)
Offline
Thanks portix, hints are a bit strange, though. I type often in the dark, often I make a mistake- wrong link is followed. This option would be useful, I think. Also, sometimes when my hands are cold, my precision at typing is very bad, so I need time to adjust. If it's no a big deal, please add this option. Thanks again on the quick responce.
Offline
Is there any way to launch an external command from within dwb? I've playing around with it for a few days and I like it very much so fast, actually better than all the other minimal keyboard-centric vi-like browsers I've tried ... it would be pretty cool if I could launch a terminal command with ! like in vim, for example to watch a YouTube video via quvi like this:
yy
:!quvi <put YT url> --exec "vlc %u"
Especially when you use a tiling WM like I do, putting the URL into another terminal window can be quite a pain, since the yanked URL doesn't really get pushed into urxvt's buffer. For now I just put it into a Google search window and copypaste it via middle click, but that seems like a dirty workaround. ^^' Or is something like this already possible and I just didn't find it?
Just saying.
Last edited by Ranmaru (2012-03-06 06:16:29)
Offline
Launching a terminal from within dwb is not directly possible but you can use a script for that, just put the following executable script
#!/bin/bash
quvi ${DWB_URI} --exec "vlc %u"
into ~/.config/dwb/userscripts. If you name that script quvi you can launch it via
:quvi
You can also bind the script to a shortcut using a custom shortcut in dwb:keys or with a modeline in the script:
#!/bin/bash
# dwb:<your shortcut here>
Offline