rxvt-unicodeが "--enable-perl"または "--enable-everything"を使用してビルドしても、起動時にデフォルトでPerl拡張を有効にしないのはなぜですか? [閉鎖]

rxvt-unicodeが

私はurxvtの「クリップボード」Perl拡張機能を動作させようとしています。スクリプトをインストールしましたが、うまくいきませんでした。いくつかの検索の後、Cygwinのrxvt-unicodeパッケージはデフォルトで "--disable-perl"で構築されていることがわかりました。

そのため、ソースコードをダウンロードして「--enable-perl」に変更してビルド/インストールしました。しかし、urxvt stilが通常の起動時にPerl拡張を有効にしていないようですが、プラグインの「クリップボード」がデフォルトで起動しないようです。

URxvt.perl-ext-common: default,matcher,clipboard私の.Xdefaultsファイルに。

興味深いことに、次のようにurxvtを起動すると、プラグインが正常に動作します。

urxvt -pe clipboard

しかし、起動後に動作しないPerl拡張なのか、それとも起動後に動作しない拡張なのか、そしてその理由は不明です。

私の.Xdefaultsファイルの内容は次のとおりです。

urxvt*font:             xft:gohufont:size=6
urxvt*boldFont:         xft:gohufont:size=6
urxvt*scrollBar:        false
urxvt*matcher.button:   1
urxvt.transparent:    false
urxvt*allow_bold:    true
urxvt.internalBorder: 15

Xft*dpi:                96
Xft*antialias:          true
Xft*hinting:            full

URxvt*geometry: 90x20
URxvt*fading:        0
URxvt*tintColor:     #ffffff
URxvt*shading:        0
URxvt*inheritPixmap:     False

URxvt.iso14755: false

URxvt*perl-lib: "C:\cygwin64\lib\urxvt\perl"
URxvt*perl-ext-common:  default,clipboard
URxvt*keysym.M-c:   perl:clipboard:copy
URxvt*keysym.M-v:   perl:clipboard:paste
URxvt*keysym.M-C-v: perl:clipboard:paste_escaped

URxvt*cursorBlink:                  true
URxvt*cursorUnderline:              true
URxvt*cursorColor:                  #ffffff
URxvt*scrollColor:                  #151515

*foreground:                         white
*background:                         #141115

!black
*color0:                             #3f3671
*color8:                             #514692
!red
*color1:                             #b52f43
*color9:                             #df3a53
!green
*color2:                             #91a7a7
*color10:                            #906b61
!yellow
*color3:                             #6c7f97
*color11:                            #b3b7c3
!blue
*color4:                             #3e456f
*color12:                            #59639f
!magenta
*color5:                             #6d577c
*color13:                            #9e7eb4
!cyan
*color6:                             #729392
*color14:                            #92bdbb
!white
*color7:                             #a9ac97
*color15:                            #e6eace

ベストアンサー1

私はそれを見つけた。export DISPLAY=:0実行する前に実行する必要がありurxvtますが、urxvtを直接実行するCygwin.batファイルがあるため、これを行うことはできません。これは、拡張機能が「機能しない」理由を説明します。

おすすめ記事