Posts: 65
balloon
Joined: 27 May 2014
#1
Asian users had long been plagued by antiX behavior.
That is that the input method (Fcitx, IBus, SCIM and uim) is not enabled by activating antiX.

Since it could be solved by changing the display manager from SLiM to others,
we were able to grasp that there was a problem with starting SLiM.

I installed Devuan today. Devuan adopted SLiM,
but I noticed that it normally start the input method.

Debian is currently using im-config to launch the input method.
This im-config puts the startup script 70im-config_launch in / etc / X11 / Xsession.d /.
I see that antiX does not reference scripts in / etc / X11 / Xsession.d /.
(Is it removing / etc / X11 / Xsession execution?)

Please tell me how to solve antiX-16.

note 1:
This has no effect on MX Linux and MEPIS. This problem is antiX only.

note 2:
Additional notation To solve the regulation of freeforums.org,
blank spaces are added before and after the slash of the path.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#2
Details within this debian bug report (found among the page1 google search results) might be enlightening:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://debian-bugs-dist.debian.narkive.com/KNoJGS29/bug-694446-im-config-should-setting-environment-variable-in-70im-config-launch-instead-of-im-launch"
linktext was:"http://debian-bugs-dist.debian.narkive. ... -im-launch"
====================================

(in some circumstances the"70" prefix needs to be changed to something higher than 80?)
This im-config puts the startup script 70im-config_launch in / etc / X11 / Xsession.d /.
I see that antiX does not reference scripts in / etc / X11 / Xsession.d /.
(Is it removing / etc / X11 / Xsession execution?)
Note the timestamps reflected in the following screenshot. All these files were preinstalled in antiX16...
...surely files present in this dir are"referenced".

Image

Are you saying that you installed the"im-config" package, and afterward discovered the 70im-config_launch file is still missing?
Posts: 65
balloon
Joined: 27 May 2014
#3
These files are not always executed if they exist.

While I was investigating, I also installed numlockx, but I noticed that it was not running either.
It generates the following file by installation:
/ etc / X11 / Xsession.d / 55numlockx


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://packages.debian.org/ja/jessie/all/numlockx/filelist"
linktext was:"https://packages.debian.org/ja/jessie/a ... x/filelist"
====================================


It seems likely that these are not running...
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#4
It would be helpful if you post the output of
(sudo) cd /etc/X11/Xsession.d && ls -al

I'm wondering whether im-switch is installed, whether it must be installed

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://manpages.ubuntu.com/manpages/trusty/man8/im-switch.8.html"
linktext was:"http://manpages.ubuntu.com/manpages/tru ... tch.8.html"
====================================

and wondering whether somehow one of the antiX startup file 70 80 90 etc prefixes differ, compared to your other installs

numlockx:
I didn't even realize an Xsession.d file was provided for it. I would have expected one would need to insert a
numlockx &
line into ~/.xesssion to activate it.

IIRC, you previously advocated switching to lightdm to avoid various input method -related problems.
Now you are stating that SLiM, under devuan, yields a problem-free result.
Have you compared, antiX vs devuan:
("devuan" ~= devuan 'ascii' version, based on debian8 packages... or packages from debian9 testing?)
? slim version
? content of /etc/slim.conf

Obviously you haven't yet done so. Otherwise, within the antiX slim.conf you would have found:

Code: Select all

# Activate numlock when slim starts. Valid values: on|off
numlock             off
OK hopefully that explains & covers how to address your numlockx issue.
I have no idea whether successful activation of numlock in SLiM will resolve the other input method -related problems.
Posts: 65
balloon
Joined: 27 May 2014
#5
skidoo wrote: Re: Session script in / etc / X11 / Xsession.d / is not runn
It would be helpful if you post the output of
(sudo) cd / etc / X11 / Xsession.d && ls -al
I will output it:

Code: Select all

root@vaio-antix16:~# cd / etc / X11 / Xsession.d && LANG=C ls -al 
total 72
drwxr-xr-x  2 root root 4096 Dec  1 13:44 .
drwxr-xr-x 13 root root 4096 Jul  6 21:48 ..
-rw-r--r--  1 root root  171 Jun 22  2012 20slim_locale
-rw-r--r--  1 root root 2024 Sep 26  2013 20x11-common_process-args
-rw-r--r--  1 root root  878 Sep 26  2013 30x11-common_xresources
-rw-r--r--  1 root root  389 Sep 26  2013 35x11-common_xhost-local
-rw-r--r--  1 root root  187 Sep 26  2013 40x11-common_xsessionrc
-rw-r--r--  1 root root 1568 Sep 26  2013 50x11-common_determine-startup
-rw-r--r--  1 root root 1205 Aug 11  2014 55numlockx
-rw-r--r--  1 root root   80 Sep 19  2014 60xdg-user-dirs-update
-rw-r--r--  1 root root 1497 Mar 30  2014 70im-config_launch
-rw-r--r--  1 root root  368 Oct  2  2015 75dbus_dbus-launch
-rw-r--r--  1 root root 1027 Apr 24  2014 90consolekit
-rw-r--r--  1 root root  591 Feb 22  2015 90gpg-agent
-rw-r--r--  1 root root  266 May  2  2013 90unclutter
-rw-r--r--  1 root root  629 Sep 26  2013 90x11-common_ssh-agent
-rwxr-xr-x  1 root root 1468 Jun 27 00:55 98vboxadd-xclient
-rw-r--r--  1 root root  166 Sep 26  2013 99x11-common_start
root@vaio-antix16:/ etc / X11 / Xsession.d# 
But...This is not a problem with my personal PC,
all users who use the input method with antiX (primarily Asia) will encounter this problem.
skidoo wrote: I'm wondering whether im-switch is installed, whether it must be installed

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://manpages.ubuntu.com/manpages/trusty/man8/im-switch.8.html"
linktext was:"http://manpages.ubuntu.com/manpages/tru ... tch.8.html"
====================================
Currently Debian does not provide im-switch. Instead im-config is provided:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://packages.debian.org/en/jessie/im-switch"
linktext was:"https://packages.debian.org/en/jessie/im-switch"
====================================
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#6
as a troubleshooting step, enabling im-config debugging might be enlightening.
/etc/default/im-config
# Verbose output for debug (uncomment following)
#M_CONFIG_VERBOSE="true"
I do understand what you've explained: the issue affects all asian antiX users

I've never tried using input-method and I don't have a the working (devuan) files to perform a comparison
toward discovering what/where is the difference.