Parsing configs at boot

1 view
Skip to first unread message

BKLive

unread,
Jul 7, 2010, 4:13:51 PM7/7/10
to euclid-wm
I issued a bug report for this already (#14), but it's two separate
problems/issues.

1> The initial boot into euclid-wm doesn't load my config file or my
rc file (new addition that I like a lot). I know it's not because I
changed xterm to roxterm, and it's not reflected in M1+M2+Enter (Ctrl
+Alt+Ent). This would be fine if I could change it at runtime which,
in like v45, I used to be able to do by changing the x-terminal-
emulator variable globally. Regardless, NOT parsing this file is the
problem.

2> The installation IS NOT installing the euclidrc and euclid-wm.conf
files into the .config folder. I checked the Makefile and it does
unneccessary defines. Initially, it checks if XDG_CONFIG_HOME is
defined, and then defines it as $HOME/.config and in the next line
defines the $CONFDIR as $XDG_CONFIG_HOME/euclid-wm. There's too many
defines since you can just say CONFDIR = $HOME/.config/euclid-wm since
$HOME is going to be defined regardless of whether XDG_CONFIG_HOME is
or not.

Further, the -D on the install line isn't creating the full path since
$CONFDIR envokes a different variable within it. It's like a double
macro.

Something more like this:
XDG_CONFIG_HOME ?= ${HOME}/.config

And don't even use the CONFDIR because putting <dot> files in
the .config directory isn't in bad form. You could even put them in
the /home directory, or create it like:
CONFDIR ?= ${HOME}/.euclid

If it's your aim to have a specific folder for config files.
The .config directory isn't really a standard practice (see irssi, i3,
w3m, wicd, gtk, etc.) so creating a <dot> folder in the /home isn't a
no-go.

BKL

BKLive

unread,
Jul 7, 2010, 11:32:58 PM7/7/10
to euclid-wm
Figured out what the problem was/is: I was installing from the
PKGBUILD and it wasn't doing the make DESTDIR="$pkgdir" install_conf
that is NOW required for the documentation portion. Fixed my
installation, fixed all my 'goodies', and fixed the PKGBUILD and
updated AUR.

Great progress on this, really keeping strict to the fundamentals of
what it was intended. As in, not giving in to the bloat.

BKL

William Diem

unread,
Jul 8, 2010, 10:32:53 AM7/8/10
to eucl...@googlegroups.com
Glad it's working for you.

Thanks for updating the PKGBUILD.

> Great progress on this, really keeping strict to the fundamentals of
> what it was intended.

Thanks.

BTW, if you have any good scrots showing euclid at it's best, showing
a setup that is hard or impossible in other window mangagers, I'm
looking for more for the scrots page. I've found it hard to really
show off in a single, still image, but if you have better luck feel
I'd love to see.

Best,
Will

Reply all
Reply to author
Forward
0 new messages