Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-07-2014, 02:27 PM
|
#1
|
Member
Registered: Apr 2014
Distribution: Arch
Posts: 39
Rep:
|
Urxvt keyboard scroll
Hello everyone,
I recently switched to i3 window manager. Now only time I need to use my mouse is when I want to scroll the output of urxvt.
I know about Shift+PgUp and Shift+PgDown, but it only works if the mouse is over urxvt.
Is there a way of scrolling urxvt output using keyboard, but with mouse being placed somewhere else?
|
|
|
05-07-2014, 03:17 PM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Using urxvt on i3 with Slackware and Gentoo, scrolling with Shift+PgUp/PgDown works without any problems here, even if the mouse cursor is over a different window. All you have to make sure is that the urxvt window is focused, either by hovering the mouse over it or by using the focus-keys ($mod+J/K/L/; by default).
|
|
|
05-07-2014, 03:29 PM
|
#3
|
Member
Registered: Apr 2014
Distribution: Arch
Posts: 39
Original Poster
Rep:
|
I changed the focus shortcut to Shift+Left/Right/Up/Down, but that shouldn't have any effect on urxvt scrolling shortcuts.
Still even if I focus urxvt and my mouse is over firefox for example (focus isn't following mouse) it won't scroll.
Do you want a log or contents of some configuration files? I would provide it in this post, but I don't know which would be helpful.
EDIT:
I just tried switching to fluxbox, and there's the same problem. I can not use keyboard scroll if mouse is not on top of urxvt.
Last edited by bstaletic; 05-07-2014 at 03:43 PM.
Reason: New info
|
|
|
05-07-2014, 04:00 PM
|
#4
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
maybe some setting with urxvt?
it's very, very customizable.
|
|
|
05-07-2014, 04:10 PM
|
#5
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
urxvt is configured usng the file ~/.Xresources. This is the part relevant to urxvt that I am using in that file:
Code:
URxvt*termName: rxvt-unicode
URxvt*loginShell: true
URxvt*jumpScroll: true
URxvt*scrollBar: false
URxvt*scrollTtyOutput: false
URxvt*scrollTtyKeypress: true
URxvt*fading: 30
URxvt*visualBell: true
URxvt*cursorUnderline: false
URxvt*cursorBlink: true
URxvt*background: [95]#000000
URxvt*foreground: white
URxvt*color0: rgb:00/00/00
URxvt*color1: rgb:aa/00/00
URxvt*color2: rgb:00/aa/00
URxvt*color3: rgb:aa/55/00
URxvt*color4: rgb:00/00/aa
URxvt*color5: rgb:aa/00/aa
URxvt*color6: rgb:00/aa/aa
URxvt*color7: rgb:aa/aa/aa
URxvt*color8: rgb:55/55/55
URxvt*color9: rgb:ff/55/55
URxvt*color10: rgb:55/ff/55
URxvt*color11: rgb:ff/ff/55
URxvt*color12: rgb:55/55/ff
URxvt*color13: rgb:ff/55/ff
URxvt*color14: rgb:55/ff/ff
URxvt*color15: rgb:ff/ff/ff
URxvt*highlightColor: rgb:20/30/20
URxvt*cursorColor: green
URxvt*font: xft:terminus-10
URxvt*saveLines: 8192
URxvt*buffered: true
URxvt*depth: 32
URxvt*perl-ext-common: default,url-select,vtwheel
URxvt.keysym.M-u: perl:url-select:select_next
URvxt.url-select.button: 1
URxvt.url-select.launcher: /usr/bin/firefox-bin
|
|
|
05-07-2014, 04:36 PM
|
#6
|
Member
Registered: Apr 2014
Distribution: Arch
Posts: 39
Original Poster
Rep:
|
Some more googling, made me realize this is a common issue if one is using perl tabbed extension.
https://bugs.debian.org/cgi-bin/bugr...cgi?bug=511377
A guy posted the link above on debian bug tracker, and he claims he has found a fix for this. unfortunately I do not understand what he says on the link.
EDIT:
My .Xresources
Code:
URxvt.perl-ext-common: default,tabbedex,matcher
URxvt.tabbed.new-button: true
URXvt.tabbed.reopen-on-close: yes
URxvt.keysym.Control-t: perl:tabbedex:new_tab
URxvt.keysym.Control-Right: perl:tabbedex:next_tab
URxvt.keysym.Control-Left: perl:tabbedex:prev_tab
!URxvt.tabbed.no-tabbedex-keys: true
urxvt*foreground: white
urxvt*background: black
Last edited by bstaletic; 05-07-2014 at 04:39 PM.
|
|
|
05-08-2014, 02:10 AM
|
#7
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
put an exclamation mark (!) in front of every line that has "tab" in it, source .Xresources and restart urxvt and see how that affects your system.
actually, no, strike that.
in the bug report you sent, message 47 says this has been fixed upstream.
what is your version of urxvt?
also i remember sometimes the perl extensions are installed seperately, so you'd have to check that also.
|
|
|
05-08-2014, 03:52 AM
|
#8
|
Member
Registered: Apr 2014
Distribution: Arch
Posts: 39
Original Poster
Rep:
|
A comment or two after the one that states it has been fixed upstream is the one that says it has not been fixed.
My version is 9.20, and it says that from 9.14 it should be fixed. It's not.
If I disable perl's tabbed extension scrolling works as expected. But I need tabs.
|
|
|
05-08-2014, 05:36 AM
|
#9
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by bstaletic
If I disable perl's tabbed extension scrolling works as expected. But I need tabs.
|
Run a tiling WM. Alternatively, run urxvt in tabbed.
|
|
|
05-08-2014, 10:13 AM
|
#10
|
Member
Registered: Apr 2014
Distribution: Arch
Posts: 39
Original Poster
Rep:
|
I am running a tiling window manager, in my first post I said I was using i3.
The problem is tabbed extension.
I wanted to have just one tile populated by urxvt on my i3 desktop, and use tabbe extension to use more "instances". Unfortunately this configuration causes the described problem.
I have done a little research, and found out terminator can do everything I need and more. With the help of screen I'm perfectly satisfied.
Should I mark this thread as solved?
|
|
|
05-08-2014, 11:08 AM
|
#11
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
have you even clicked the link tobisgd provided?
edit: terminator is not so lightweight compared to urxvt, and also less featured.
but whatever suits you best.
however, i'd say this is not solved. you found a workaround you're satisfied with, that's all.
Last edited by ondoho; 05-08-2014 at 02:49 PM.
|
|
|
05-08-2014, 12:03 PM
|
#12
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
I don't get it. What would be the difference of having a tabbed tile with many instances of urxvt instead of having a urxvt with the tabbed extension (or using tabbed from suckless.org, FWIW)?
|
|
|
05-08-2014, 12:58 PM
|
#13
|
Member
Registered: Apr 2014
Distribution: Arch
Posts: 39
Original Poster
Rep:
|
I didn't know I could have just one tile tabbed, and not the whole workspace.
I guess I'm just used to working with a tabbed terminal emulator. If I'm going to change something I think it would be easiest to change emulator not the way I use it. So terminator makes me happy.
Thanks for your time anyway.
|
|
|
05-08-2014, 01:24 PM
|
#14
|
Senior Member
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,692
|
normally shift + pageup/pagedown shall work...
|
|
|
All times are GMT -5. The time now is 09:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|