通过GUIX安装的光标尺寸emacs
我有一个Arch-Linux系统,并且刚刚安装了GUIX。使用GUIX,我安装了Emacs。当我使用Pacman安装的Emacs时,一切都很好,但是当我使用GUIX安装的Emacs时,每次鼠标悬停在Emacs窗口上时,鼠标光标都会很小。
我有一个HIDPI屏幕,这应该是原因,但是我不知道为什么鼠标在使用GUIX安装的emacs时不识别系统的DPI。
- EMACS版本为28.1(与系统范围的EMACS相同),
- 我使用i3 Wm
编辑:我进行了测试,并且当我使用Sway(Wayland Wm)而不是i3时,问题不会发生。我想这是Xorg和Guix之间的问题。
I have an Arch-linux system and I just installed guix. Using Guix, I installed emacs. When I use the pacman-installed emacs all is well but when I use the guix-installed emacs, the mouse cursor gets really small every time the mouse hover over the emacs window.
I have an hidpi screen which should be the cause but I don't know why the mouse does not recognize the dpi of the system when using guix-installed emacs.
- emacs version is 28.1 (same as the system-wide version of emacs)
- I use i3 wm
EDIT: I did the test and the problem does not happen when I use sway (Wayland wm) instead of i3. I guess this is a problem between Xorg and guix.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在Debian上,与您有同样的问题。我已经尝试了定期增加光标大小(例如设置
xcursor.size
in〜/.xresources
),但无济于事。然后,我意识到GUIX设置Xcursor_path
。我的修复程序是将XCURSOR_PATH
在.xinitrc
中设置为Debian和Guix的路径:I'm on Debian and I have the same issue as you. I've tried the regular ways to increase cursor size like setting
Xcursor.size
in~/.Xresources
, but to no avail. Then, I realized that Guix set aXCURSOR_PATH
. My fix was to setXCURSOR_PATH
manuall in.xinitrc
to both the path from Debian and Guix: