-
I am trying to configure lxterminal to my liking when customizing an image. Per https://github.com/gitbls/sdm/wiki/Using-LXDE-Config I added an --lxde-config switch to my --customize command and copied a working lxterminal.conf from a working Bullseye system. However, I repeatedly get an error message saying the .conf file can't be found.
But the file is actually there ...
I've tried with the .conf file in different locations (e.g. shorter pathnames) and both with the --customize command in a script and directly from the command line as above. I found where the message is generated at line 959 in sdm, but am not proficient enough with bash to figure out what might be occurring or what I might be doing wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I'm not in a place where I can have a look at the code, but I'm pretty sure that using "~" to represent your home directory doesn't work. Use the /full/path to the file and see if that works as it should. |
Beta Was this translation helpful? Give feedback.
-
Good question! The lx parsing code needs a closer look, which I'll do when I'm back at my home workstation. |
Beta Was this translation helpful? Give feedback.
-
The difference between the processing for The fix is fairly simple, except for the process of ensuring that all instances where it needs to be fixed...get fixed. I'd suggest that you use $HOME instead of "~", which bash will correctly expand. |
Beta Was this translation helpful? Give feedback.
The difference between the processing for
--wpa
and--lxde-config
with respect to "~" is that bash itself expand the switch value with--wpa
. The--lxde-config
switch value is complex, and bash doesn't know how to process it before starting sdm, as it does with--wpa
.The fix is fairly simple, except for the process of ensuring that all instances where it needs to be fixed...get fixed.
I'd suggest that you use $HOME instead of "~", which bash will correctly expand.