ページ: 1
$XDG_CONFIG_HOMEにgtk2/3用のファイルを作って、Emacsの設定をしたけど、同じようにgoogle-chromeでしかCtrl-nは使えないな。MozillaのKeyboard ShortcutsページにもEmacs text editingが優先されるって書いてるのにな。
WM, etc.:
i3-wm 4.18.2-2
firefox 79.0-1
gtk3 1:3.24.22-1
僕は、単純なパッケージ管理ソフトウェアを分かりやすくするとか、パッケージ情報を要約してみれるようなものを作ったけど。→https://github.com/teasuga/pkg-tool-on- … /summer.20
みんなは何か作ってるのかな。
上のcodeブロックで、enable した後にdisableしたのは比較するため、有効と無効を繰り返しただけでしたごめんなさい。Gettyを起動するならdisable(無効にする)しないでね。enable(有効にする)してください。
Failed to enable ... already existsと書いてあるように、空(empty)のユニットファイルがあると一向に有効化されないと思う。(多分systemctl edit --full getty@tty1.serviceと何処かでしたんじゃないかな。それかエディタで直接つくったとか。)
この事はmanページのsystemd.unit(5)始め、DESCRIPTION節の19段落目に情報が載ってたんで。(空のファイルをつくると、そのユニットは作動しないとかなんとか)
systemd.unit (5)より引用
If a unit file is empty (i.e. has the file size 0) or is symlinked to /dev/null, its
configuration will not be loaded and it appears with a load state of "masked", and
cannot be activated. Use this as an effective way to fully disable a unit, making it
impossible to start it even manually.
...
/etc/systemd/system/getty.target.wants/getty@tty1.service: empty
...
gettyのsystemdテンプレートユニットは、/usr/lib/systemd/system/getty@.serviceで。それのDefaultInstanceはtty1であるから、systemctlを用いて有効化するには、以下のように@のあとに『tty+数字』をつけて指示するか、テンプレートユニットを渡すとtty1のインスタンスが/etc/systemd/system/以下のどこかにつくられるよ。※『tty+数字』のinstance identifierじゃないと、多分agettyプロセスが仮想端末を作ろうとしない。
# systemctl enable getty@tty1.service
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service.
# systemctl disable getty@tty1.service
Removed /etc/systemd/system/getty.target.wants/getty@tty1.service.
#
# systemctl enable getty@.service
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service.
# systemctl disable getty@.service
Removed /etc/systemd/system/getty.target.wants/getty@tty1.service
それに、DefaultInstanceとしてつくられるsymlinkと同じ名前の、ファイルがあると有効化されない。
$ file /etc/systemd/system/getty.target.wants/*
…
/etc/systemd/system/getty.target.wants/getty@tty1.service: empty
関連パッケージのバージョンと、そのファイル:
systemd 245.7-1 gettyのテンプレートユニットである普通ファイル。
/usr/lib/systemd/system/getty@.service
util-linux 2.36-1 gettyの標準プロセス
/bin/agetty
ぱぱっとncmpcppとmpdのmanページ、それぞれのサンプルファイルを見て気づいたのだけど、
以下は”mpd.conf”のほうに書くのが正しいと思う。(ncmpcppのwikiページにもそんな文がある)
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
以下の文句はそれと合わせる形で、”.ncmpcpp/config”上の『visualizer_fifo_path』などに関わるものだと思う。
ncmpcpp: No such file or directory
ページ: 1