小编Jos*_*hua的帖子

在 vconsole.conf 中设置控制台字体不起作用(systemd)

我正在尝试为我的新 Arch Linux 安装(使用 systemd)设置不同的默认控制台字体。

设置我vconsole.conf/etc为这样:

KEYMAP=us
FONT=Lat2-Terminus16
Run Code Online (Sandbox Code Playgroud)

我重新启动并看到我新设置的控制台字体出现,只是因为它在登录提示之前重置。

注意事项:

  • /usr/lib/systemd/systemd-vconsole-setup手动运行工作正常
  • systemctl status systemd-vconsole-setup.service 告诉我它已加载并且处于“活动状态(退出)”
  • 我确实包含了consolefont钩子mkinitcpio.conf

arch-linux fonts systemd console

11
推荐指数
2
解决办法
2万
查看次数

bash 命令似乎无法在 .xinitrc 中运行

我试图在我的.xinitrc脚本中运行一些 bash 命令,但窗口管理器启动时这些命令没有正常运行。

我运行 Arch Linux 时,窗口管理器被称为“awesome”,并以startx. 这是我的~/.xinitrc文件的全部内容:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

xinput set-int-prop "TPPS/2 IBM Trackpoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM Trackpoint" "Evdev Wheel Emulation Button" 8 2
xinput set-int-prop "TPPS/2 IBM Trackpoint" "Evdev Wheel Emulation …
Run Code Online (Sandbox Code Playgroud)

arch-linux xorg x11 awesome xinput

6
推荐指数
1
解决办法
8244
查看次数

标签 统计

arch-linux ×2

awesome ×1

console ×1

fonts ×1

systemd ×1

x11 ×1

xinput ×1

xorg ×1