通过GUIX安装的光标尺寸emacs

发布于 2025-02-12 12:51:59 字数 330 浏览 1 评论 0原文

我有一个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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

倥絔 2025-02-19 12:51:59

我在Debian上,与您有同样的问题。我已经尝试了定期增加光标大小(例如设置xcursor.size in 〜/.xresources),但无济于事。然后,我意识到GUIX设置Xcursor_path。我的修复程序是将XCURSOR_PATH.xinitrc中设置为Debian和Guix的路径:

export XCURSOR_PATH=/usr/share/icons/:/home/munen/.guix-profile/share/icons

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 a XCURSOR_PATH. My fix was to set XCURSOR_PATH manuall in .xinitrc to both the path from Debian and Guix:

export XCURSOR_PATH=/usr/share/icons/:/home/munen/.guix-profile/share/icons
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文