Update: strace indicates it can find my file, but ignores it? # ls -ld /etc/default/console-setup.small -rw-r--r-- 1 root root 77 Apr 3 18:20 /etc/default/console-setup.small
# strace -etrace=file setupcon --font-only --verbose small execve("/bin/setupcon", ["setupcon", "--font-only", "--verbose", "small"], [/* 19 vars */]) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 stat("/root", {st_mode=S_IFDIR|0700, st_size=238, ...}) = 0 stat(".", {st_mode=S_IFDIR|0700, st_size=238, ...}) = 0 open("/bin/setupcon", O_RDONLY) = 3 stat("/bin", {st_mode=S_IFDIR|0755, st_size=1370, ...}) = 0 stat("/etc/default/keyboard.small", 0x7fff0d5f00a0) = -1 ENOENT (No such file or directory) stat("/etc/default/console-setup.small", {st_mode=S_IFREG|0644, st_size=77, ...}) = 0 stat("/root/.console-setup.small", 0x7fff0d5f00a0) = -1 ENOENT (No such file or directory) stat("/usr/etc/default/keyboard.small", 0x7fff0d5f0070) = -1 ENOENT (No such file or directory) setupcon: None of /usr/etc/default/keyboard.small nor /root/.console-setup.small exists. I noticed when I deployed this jessie host, that it was more picky (than squeeze) about having some variables in /etc/default/keyboard and some in /etc/default/console-setup. Maybe for a variant to work in /etc, I have to have BOTH files? # cat >console-setup.small FONTFACE="Terminus" FONTSIZE="12x6" # cat >keyboard.small XKBOPTIONS="altwin:ctrl_win,ctrl:nocaps" # setupcon --font-only small We are not on the console, the console is left unconfigured. OK, so that works. The issues I see are: 1. this behaviour is not obvious from the --help, manpage, and error; 2. if I ask for -f it shouldn't care about keyboard.VARIANT; and 3. likewise for -k and console-setup.VARIANT.
signature.asc
Description: Digital signature