LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-07-2014, 02:27 PM   #1
bstaletic
Member
 
Registered: Apr 2014
Distribution: Arch
Posts: 39

Rep: Reputation: Disabled
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?
 
Old 05-07-2014, 03:17 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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).
 
Old 05-07-2014, 03:29 PM   #3
bstaletic
Member
 
Registered: Apr 2014
Distribution: Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-07-2014, 04:00 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
maybe some setting with urxvt?
it's very, very customizable.
 
Old 05-07-2014, 04:10 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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
 
Old 05-07-2014, 04:36 PM   #6
bstaletic
Member
 
Registered: Apr 2014
Distribution: Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-08-2014, 02:10 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 05-08-2014, 03:52 AM   #8
bstaletic
Member
 
Registered: Apr 2014
Distribution: Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-08-2014, 05:36 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by bstaletic View Post
If I disable perl's tabbed extension scrolling works as expected. But I need tabs.
Run a tiling WM. Alternatively, run urxvt in tabbed.
 
Old 05-08-2014, 10:13 AM   #10
bstaletic
Member
 
Registered: Apr 2014
Distribution: Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
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?
 
Old 05-08-2014, 11:08 AM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 05-08-2014, 12:03 PM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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)?
 
Old 05-08-2014, 12:58 PM   #13
bstaletic
Member
 
Registered: Apr 2014
Distribution: Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-08-2014, 01:24 PM   #14
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,692

Rep: Reputation: 256Reputation: 256Reputation: 256
normally shift + pageup/pagedown shall work...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard shortcuts for clicking the scroll wheel ledzeppeman@gmail.com Linux - Desktop 13 12-11-2010 05:46 PM
[SOLVED] Can't scroll up/down in Debian installer (even after changed keyboard layout) SkyerSK Debian 12 12-05-2010 10:51 AM
Getting keyboard to function properly in rxvt/urxvt Cotobear Slackware 6 06-06-2009 01:40 PM
Keyboard help - scroll lock not working mjcocat Linux - Hardware 0 12-29-2005 10:30 PM
Scroll Wheel/ hotkeys on keyboard wondering_jew Linux - Hardware 0 11-17-2004 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration