BarryK wrote: Thu Nov 28, 2024 12:50 am
BarryK wrote: Wed Nov 27, 2024 9:34 am
I'm working with Alfons to try and figure out something...
pClock, in the Personal menu category, isn't working in the daedalus container.
It was fixed, supposedly.
Also non-us-english keyboard layout was supposed to be fixed.
/mnt/wkg/containers/daedalus/container/.control/daedalus script has code (from line 59) that was supposed to have fixed these issues.
Running the code in a terminal in the container might work, at least it does fix pclock.
I'm wondering if maybe running those utilities too soon.
Will report back, hopefully with a fix.
If anyone wants to experiment with non-us-english keyboard layout in the daedalus container, the problem is due to the settings not carrying over from the main desktop to the xephyr nested server.
Here are some relevant links:
https://superuser.com/questions/209433/ ... ard-layout
https://superuser.com/questions/70428/h ... rd-mapping
https://unix.stackexchange.com/question ... g-properly
...the last one looks particularly interesting. The main desktop is DISPLAY=:0 and in the container is :1
And the comment about using "-kb" does not work. The fix above that looks good, run in the main desktop:
Code: Select all
setxkbmap -display :0 -print | xkbcomp - :1
...I haven't tried it.
Note that /etc/X11/xorg.conf.d/10-evdev-puppy.conf is copied into the container, but not applied to the xephyr server.
I'll get onto it, but taking the day off today, a trip into the city, later on will work on the trike.
Hopefully get back to it tomorrow.
The command
Code: Select all
setxkbmap -display :0 -print | xkbcomp - :1
is already present in /usr/local/easy_containers/ec-chroot (It is line 617)
In tests, last year (viewtopic.php?p=82436&sid=66e0ff9f38e4d ... 8a9#p82436), a command like this worked when it is placed in /usr/local/easy_containers/logactivewindow.
This time it was necessary to add a sleep command before the above command (My PC is slow)
Another method (viewtopic.php?p=91468&sid=66e0ff9f38e4d ... 8a9#p91468) (not yet tested with container daedalus) worked with recent version of Xephyr
Edit : test of the second method, there are problems
Edit2 :
The command in the second method is
Code: Select all
Xephyr :${CNTxephyr} -xkb-model $MODEL -xkb-layout $LAYOUT -xkb-variant $VARIANT -xkb-options $OPTIONS -fullscreen -title "${EXE}" -name "Xephyr${CNTxephyr}" -dpi "$DPI" -nolisten tcp &
For this command to work,all the variables must be defined
For example if $VARIANT and $OPTIONS do not exist, the command must be
.
Code: Select all
Xephyr :${CNTxephyr} -xkb-model $MODEL -xkb-layout $LAYOUT -fullscreen -title "${EXE}" -name "Xephyr${CNTxephyr}" -dpi "$DPI" -nolisten tcp &
Edit3 : A solution ?
In /user/local/ec-chroot , addition of
Code: Select all
MODEL=$(setxkbmap -query | grep model | cut -c 13-)
LAYOUT=$(setxkbmap -query | grep layout | cut -c 13-)
VARIANT=$(setxkbmap -query | grep variant | cut -c 13-)
OPTIONS=$(setxkbmap -query | grep options | cut -c 13-)
before the launch of Xephyr (line 285 for example)
Between Xephyr :${CNTxephyr} and -fullscreen, addition of
Code: Select all
-xkb-model $MODEL -xkb-layout $LAYOUT -xkb-variant "$VARIANT" -xkb-options "$OPTIONS"
The full line :after the addition :
Code: Select all
Xephyr :${CNTxephyr} -xkb-model $MODEL -xkb-layout $LAYOUT -xkb-variant "$VARIANT" -xkb-options "$OPTIONS" -fullscreen -title "${EXE}" -name "Xephyr${CNTxephyr}" -dpi "$DPI" -nolisten tcp &
Note the addition of " " around the contents of variable that could be empty