[SOLVED] Strange auto-complete issue in LMDE UP4

Post your update and upgrade related errors here
Forum rules
Before you post please read this

[SOLVED] Strange auto-complete issue in LMDE UP4

Postby anayonkars on Sun Apr 08, 2012 4:03 pm

Hi,

After repetitive updates, finally I'm done with my update to UP4. It also seems that servers are working fine now.

However, after upgrading, I found a weird issue : auto-complete in terminal does not work properly. I searched over the web and found that some people faced similar issue, but in their case, auto-complete was not at all working. In my case, it works partially.

Let me give you an example:
When I type 'apt-' and hit tab, I get all commands starting with 'apt-' (e.g. apt-add-repository, apt-get etc.)
But when I hit tab after 'apt-get in', I don't get anything. Before upgrading, it used to auto-complete it to 'apt-get install'.
Even after apt-get install, when I partially type name of a package, tab key doesn't complete the package name automatically (it used to do it in UP3).

I even don't know if this is issue with apt, bash, gnome3 or UP4.

Any help would be appreciated.

Update : I just found that same issue persisted on cinnamon as well.

Also, does anyone know how to shut down the machine in gnome3? I'm using `init 0` :)
Last edited by anayonkars on Sun Apr 08, 2012 5:01 pm, edited 1 time in total.
Regards,
Anayonkar Shivalkar
anayonkars
Level 1
Level 1
 
Posts: 10
Joined: Thu Mar 29, 2012 12:01 pm

Linux Mint is funded by ads and donations.
 

Re: Strange auto-complete issue in LMDE UP4

Postby äxl on Sun Apr 08, 2012 4:41 pm

For shutdown look here: viewtopic.php?p=563540#p563540

Auto-completion should be a bash problem. Did you ever change your .bashrc?
My Linux history: Ubuntu 10.04 - 10.10 - LMDE 201109 - UP4 My sources.list/preferences

Computers is not science. And it's not magic - it's something in between.
User avatar
äxl
Level 5
Level 5
 
Posts: 524
Joined: Fri Apr 06, 2012 6:14 am
Location: Germany

Re: Strange auto-complete issue in LMDE UP4

Postby anayonkars on Sun Apr 08, 2012 5:00 pm

äxl wrote:For shutdown look here: viewtopic.php?p=563540#p563540

Auto-completion should be a bash problem. Did you ever change your .bashrc?

Thanks a lot. I'll try gnome-shell-extension.

Apart from that, I actually never had .bashrc file, so some time back, I did create my own file. However, your suggestion was enough hint for me to remember that during UP4, something was changed in default bashrc files (in /etc dir) and I accepted maintainers version.

After doing a little search, I found below:
The .bashrc file should contain:

Code: Select all
if [ -f /etc/bash_completion ]; then
 . /etc/bash_completion
fi


That's it. Now auto-complete is working butter-smooth :)
Regards,
Anayonkar Shivalkar
anayonkars
Level 1
Level 1
 
Posts: 10
Joined: Thu Mar 29, 2012 12:01 pm

Re: [SOLVED] Strange auto-complete issue in LMDE UP4

Postby kaefert on Fri Apr 20, 2012 12:51 am

thanks for this solution! ran into the same problem.

The only thing that surprises me, is that there is not more activity arround this bug. Is no one using his gnome-terminal in LMDE?? Or is everyone who is using LMDE anyway such a linux pro that he is maintaining his .bashrc himself and such an issue is that obvious that they don't even go online for it..
kaefert
Level 2
Level 2
 
Posts: 52
Joined: Sun Jan 08, 2012 12:08 pm

Re: [SOLVED] Strange auto-complete issue in LMDE UP4

Postby Monsta on Fri Apr 20, 2012 6:49 am

kaefert wrote:The only thing that surprises me, is that there is not more activity arround this bug. Is no one using his gnome-terminal in LMDE?? Or is everyone who is using LMDE anyway such a linux pro that he is maintaining his .bashrc himself and such an issue is that obvious that they don't even go online for it..

The thing that surprises me more is that it's not mentioned that the terminal also loses colors after update. I thought it's much easier to spot than the partial completion issue...
Here's a thread about it: viewtopic.php?f=198&t=99254
Monsta
Level 8
Level 8
 
Posts: 2343
Joined: Fri Aug 19, 2011 3:46 am

Re: [SOLVED] Strange auto-complete issue in LMDE UP4

Postby kaefert on Fri Apr 20, 2012 12:32 pm

Monsta wrote:The thing that surprises me more is that it's not mentioned that the terminal also loses colors after update. I thought it's much easier to spot than the partial completion issue...
Here's a thread about it: viewtopic.php?f=198&t=99254


gg, well for me the system that helps my bad memory is more important than beautiful colors ;) But thanks for the link, gonna look at it
kaefert
Level 2
Level 2
 
Posts: 52
Joined: Sun Jan 08, 2012 12:08 pm

Re: [SOLVED] Strange auto-complete issue in LMDE UP4

Postby äxl on Sun May 20, 2012 9:36 pm

My Linux history: Ubuntu 10.04 - 10.10 - LMDE 201109 - UP4 My sources.list/preferences

Computers is not science. And it's not magic - it's something in between.
User avatar
äxl
Level 5
Level 5
 
Posts: 524
Joined: Fri Apr 06, 2012 6:14 am
Location: Germany

Linux Mint is funded by ads and donations.
 

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 4 guests