WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: base + Xfce4 -> Aterm tab completion doesn't work anymore  (Read 3441 times)

Offline malicske

  • Newbie
  • *
  • Posts: 12
base + Xfce4 -> Aterm tab completion doesn't work anymore
« on: August 18, 2011, 03:31:12 PM »
Hello

The title says it all.
Take a tiny core base, install xfce4. Open up a terminal, tab completion doesn't work. It only makes the aterm window blink.
Did I forgot to add something? Is there something I can do? Or how I could see what went wrong?

Thank You for this very nice distro!!!

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: base + Xfce4 -> Aterm tab completion doesn't work anymore
« Reply #1 on: August 19, 2011, 02:00:48 AM »
Took TC 3.8.2, installed Xfce4, opened aterm:



It works.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline malicske

  • Newbie
  • *
  • Posts: 12
Re: base + Xfce4 -> Aterm tab completion doesn't work anymore
« Reply #2 on: September 06, 2011, 08:47:31 AM »
It seems the problem starts when using a different user. At boot user=malic.
When removing that bootcode the tabcompletion works again.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: base + Xfce4 -> Aterm tab completion doesn't work anymore
« Reply #3 on: September 06, 2011, 09:40:08 AM »
It seems the problem starts when using a different user. At boot user=malic.
When removing that bootcode the tabcompletion works again.

This was not mentioned in your bug report :(
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: base + Xfce4 -> Aterm tab completion doesn't work anymore
« Reply #4 on: September 07, 2011, 04:04:15 AM »
Interesting observation, which I've managed to reproduce, i.e. if the X server (i.e. 'Xvesa') and 'fxce4' WM have been started by any other user than 'tc' the command completion with the tab key does not seem to work. The terminal seems to respond instead with a "visual bell" (i.e. a brief flashing of the terminal window).

I've now made some other "discoveries" that I can't explain either:
(1) If one uses in the same situation as above the key combination of 'Ctrl-i' (which should be the equivalent of the 'tab' key) the file name completion is working (note: for the first time it appears to be required to enter the 'Ctrl-i' twice for it to work, but that is no different when using the tab key).
(2) Now changing the "experiment" somewhat, by starting the X server and the WM as user 'tc', and then changing the user in a terminal (e.g. via sudo su malic). In this case the completion with the tab key appeared to working as it should.

After a bit of toying around with 'strace' of the shell process in question it became clear that hitting the tab key or entering 'Ctrl-i' were not seen as the same thing. Eventually I decided to take it a step further and ran both cases in two different QEMU VMs to get a better view over the differences: When starting 'Xfce4' for the very first time user 'malic' gets asked in the "Welcome to the first start of the panel" pop-up window whether a default config should be used. For user 'tc' this question is somehow already been taken care of.

Even after taking snapshots of the home directories for both of these cases and comparing them I have not (yet) been able to pinpoint where the source of the problem is to be found. Its getting late here and I'll need to now leave it at that. Clearly there are (small) differences between the config files found in the home directories for both cases. But as I don't know how all the config files are getting populated I reckon that leaves it to bmarkus to figure it out (if he wants to spend his effort on this question).

Offline malicske

  • Newbie
  • *
  • Posts: 12
Re: base + Xfce4 -> Aterm tab completion doesn't work anymore
« Reply #5 on: September 09, 2011, 04:58:49 AM »
It seems the problem starts when using a different user. At boot user=malic.
When removing that bootcode the tabcompletion works again.

This was not mentioned in your bug report :(
Sorry about that, I thought I've mentioned everything.

@maro
Thanks for the research! It is very interesting.

For me I've just dropped the name change and kept it at original. I use TC as some sort of backup distro. So it is fine for me. Still, other users will probably hit this problem, so now there is bit more info about it.