Στις 14/10/2012 12:30 μμ, ο/η miqlas έγραψε:
> - Man Page Viewer : i don't use it, but looks handy, and like all of
> the CDE apps, it also can't use the mouse scroll wheel.
>
> - Terminal : I like it, but it is useless -for me- without mouse wheel
> support. It just make me angry.
>
> - File Manager : Scroll wheel support! Maybe drag-n-drop support for gtk apps?
>

Here is how to stop being angry with Terminal, Man page viewer and maybe
File Manager:

These can be solved by modifying .Xdefaults. Add the lines after my
signature and either
merge with

xrdb -merge ~/.Xdefaults

or restart the X server.

These settings made scrolling work for all apps except dthelp which I
failed to make it work.
This was on release 2.2a. When I upgraded to 2.2c, dtfile stopped
scrolling, although it scrolls
if you leave the pointer on the scroll bar, and use the wheel. I am not
sure what changed with dtfile.
Anyway, maybe someone else can come up with a solution or it maybe only
my system. Please test.
With shift pressed, Terminal scrolls faster (5 lines).
Editor scrolls the cursor by 5 lines, and with shift pressed it scrolls
by page.

By the way, could the installation script add these to a system file so
scrolling is available for every user?

yours,

Antonis.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! additions for wheel scrolling in $HOME/.Xdefaults !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*DtTerm*Translations: #override \n\
        Shift<Btn4Down>:        scroll(-5,page) \n\
        Shift<Btn5Down>:        scroll(5,page) \n\
        None<Btn4Down>:         scroll(-1,line) \n\
        None<Btn5Down>:         scroll(1,line)

*DtEditor.textTranslations: #override \n\
    Shift<Btn4Down>:        previous-page() \n\
        Shift<Btn5Down>:        next-page() \n\
        None<Btn4Down>:       
process-up()process-up()process-up()process-up()process-up() \n\
        None<Btn5Down>:       
process-down()process-down()process-down()process-down()process-down()

*DtHelpDialog*textTranslations: #override \n\
!        None<Btn4Down>:         scroll(-1,line) \n\
!        None<Btn5Down>:         scroll(1,line)
        <Btn4Down>:           PageUpOrDown(1)\n\
        <Btn5Down>:           PageUpOrDown(0)
!        Shift<Btn4Down>:        previous-page() \n\
!        Shift<Btn5Down>:        next-page() \n\
!        <Btn4Down>,<Btn4Up>: scroll-one-line-up()\n\
!        <Btn5Down>,<Btn5Up>: scroll-one-line-down()\n

*XmText.Translations:#override\n\
        <Btn4Down>,<Btn4Up>: scroll-one-line-up()\n\
        <Btn5Down>,<Btn5Up>: scroll-one-line-down()\n
! Motif List Widget
*XmList.Translations:#override\n\
        <Btn4Down>,<Btn4Up>: ListPrevItem()\n\
        <Btn5Down>,<Btn5Up>: ListNextItem()\n
! Motif Scroll Bar
*XmScrollBar.Translations:#override\n\
        <Btn4Down>,<Btn4Up>: IncrementUpOrLeft(0)\n\
        <Btn5Down>,<Btn5Up>: IncrementDownOrRight(0)\n



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to