UP4 no bash-completion, Cinnamon Cursor issue…[solved]

Archived topics about LMDE 1 and LMDE 2
Locked
timh
Level 3
Level 3
Posts: 133
Joined: Thu Oct 25, 2007 2:36 pm
Location: Spain

UP4 no bash-completion, Cinnamon Cursor issue…[solved]

Post by timh »

I did a fresh install with ISO LMDE 201109 and on Friday update with UP4.

Now I loose bash completion. I tried to overwrite the new with the old one:

Code: Select all

sudo cp /etc/bash.bashrc.dpkg-old  bash.bashrc
No luck - I get then errors in Terminal:

Code: Select all

bash: [: Zu viele Argumente.
bash: [: =: Einstelliger (unärer) Operator erwartet.
bash: [: Zu viele Argumente.
bash: [: =: Einstelliger (unärer) Operator erwartet.
I live now with that, because I need completion. the same errors if I copy int $HOME/.bashrc this:

Code: Select all

if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi
I found this errors in .xsession-errors:

Code: Select all

(gnome-settings-daemon:2443): updates-plugin-WARNING **: failed to get upgrades: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_5ftransaction_5ferror.Code4: GetDistroUpgrades not supported by backend

(cinnamon:2490): St-WARNING **: percentage lengths not currently supported

Gtk-Message: Failed to load module "canberra-gtk-module" 
gnome-session-canberra is installed

I installed a new cursor theme and it works only in some windows:
Firefox OK - in Nautilus only at hover over files or directories, on Desktop the same (only at hover…), not in menu or panel, pidgin only in message window. :?

Where can I change the main browser from epiphany to firefox? In the System Information there is no firefox to choose.
The new(Gnome3) open with for files sucks, I can only choose in a list from some progs. is not possible to put a command in. What Linus T. said: „…Interface <violates forum rules>…“ is correct :lol:

Another Problem:

Cinnamon takes in 10h 275MB memory, think this is to much.
Memory used: 605MB (Cinnamon 275MB)
I restart (ALT F2 r) Cinnamon Shell
Memory used: 598MB (Cinnamon 45MB)
There must be a leak, how can this be fixed?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Image
zerozero

Re: UP4 no bash-completion, Cinnamon Cursor issue, errors

Post by zerozero »

äxl

Re: UP4 no bash-completion, Cinnamon Cursor issue, errors

Post by äxl »

*Completion: You could try by process of elimination to see what causes the problem.
But basically bash_completion belongs in ~/.bashrc or /etc/bash.bashrc - last one works for me at least.

*XSession errors: Doesn't seem too suspicous. I thought I solved the canberra problem by installing some libcanberra...

*For deeper system settings: You need to install gconf-editor or dconf-editor
mateconf-editor for MATE.

*Memory leak? Which process causes this?
timh
Level 3
Level 3
Posts: 133
Joined: Thu Oct 25, 2007 2:36 pm
Location: Spain

Re: UP4 no bash-completion, Cinnamon Cursor issue, errors

Post by timh »

zerozero wrote:regarding the bash-issue look here http://forums.linuxmint.com/viewtopic.p ... 7&p=564284
Sorry but I write in my post that this produce the error:
timh wrote:I live now with that, because I need completion. the same errors if I copy in $HOME/.bashrc this:

Code: Select all

    if [ -f /etc/bash_completion ]; then
        . /etc/bash_completion
    fi

Code: Select all

    bash: [: Zu viele Argumente.
    bash: [: =: Einstelliger (unärer) Operator erwartet.
    bash: [: Zu viele Argumente.
    bash: [: =: Einstelliger (unärer) Operator erwartet.
Image
timh
Level 3
Level 3
Posts: 133
Joined: Thu Oct 25, 2007 2:36 pm
Location: Spain

Re: UP4 no bash-completion, Cinnamon Cursor issue, errors

Post by timh »

äxl wrote:Canberra: It's libcanberra-gtk3-module
http://forums.linuxmint.com/viewtopic.p ... 50#p565250
Thank you, I installed it :)
äxl wrote:*Memory leak? Which process causes this?
I think Cinnamon, because it sucks a lot of memory even the PC still not work and running not another programs.
In 12 hours ~375MB is a lot, :shock: I remember there was something with Gnome-shell, it had that problem in the beginning.
Image
äxl

Re: UP4 no bash-completion, Cinnamon Cursor issue, errors

Post by äxl »

timh wrote:Thank you, I installed it :)
You're welcome.
I think Cinnamon, because it sucks a lot of memory even the PC still not work and running not another programs.
In 12 hours ~375MB is a lot, :shock: I remember there was something with Gnome-shell, it had that problem in the beginning.
Cinnamon is pretty hungry for resources I suspect. But which memory does it take? Are you looking at Virtual or Resident Memory?
I believe that it works as a shell and as the window manager. So maybe that's normal ...?
timh
Level 3
Level 3
Posts: 133
Joined: Thu Oct 25, 2007 2:36 pm
Location: Spain

Re: UP4 no bash-completion, Cinnamon Cursor issue, errors

Post by timh »

äxl wrote: Cinnamon is pretty hungry for resources I suspect. But which memory does it take? Are you looking at Virtual or Resident Memory?
I believe that it works as a shell and as the window manager. So maybe that's normal ...?
it takes resident mem.

I took a look with pmap, this is (short) output:

Code: Select all

tim@lmde ~/Desktop $ pmap -d 9346
9346:   /usr/bin/cinnamon
Address           Kbytes Mode  Offset           Device    Mapping
0000000000400000      16 r-x-- 0000000000000000 008:00003 cinnamon
0000000000604000       4 rw--- 0000000000004000 008:00003 cinnamon
000000000070b000   24064 rw--- 0000000000000000 000:00000   [ anon ]
00007f608bfff000   65540 rw-s- 0000000000000000 000:00012 pulse-shm-962126878
00007f6090000000    2352 rw--- 0000000000000000 000:00000   [ anon ]
00007f609024c000   63184 ----- 0000000000000000 000:00000   [ anon ]
00007f60945fd000   10240 rwx-- 0000000000000000 000:00000   [ anon ]
00007f6094ffd000       8 r-x-- 0000000000000000 008:00003 pango-basic-fc.so
00007f6094fff000    2044 ----- 0000000000002000 008:00003 pango-basic-fc.so
00007f60951fe000       4 r---- 0000000000001000 008:00003 pango-basic-fc.so
00007f60951ff000       4 rw--- 0000000000002000 008:00003 pango-basic-fc.so
00007f6095200000    1024 rw--- 0000000000000000 000:00000   [ anon ]
00007f60957fd000       8 r-x-- 0000000000000000 008:00003 ISO8859-1.so
00007f60957ff000    2044 ----- 0000000000002000 008:00003 ISO8859-1.so
00007f60959fe000       4 r---- 0000000000001000 008:00003 ISO8859-1.so
00007f60959ff000       4 rw--- 0000000000002000 008:00003 ISO8859-1.so
00007f6095a00000    1024 rw--- 0000000000000000 000:00000   [ anon ]
00007f6095b7f000     512 rw-s- 000000010bc18000 000:00005 card0
00007f6095bff000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f6095c00000    9216 rw--- 0000000000000000 000:00000   [ anon ]
00007f6096516000     512 rw-s- 000000010bd18000 000:00005 card0
00007f6096596000      24 r-x-- 0000000000000000 008:00003 libpixbufloader-xpm.so
00007f609659c000    2048 ----- 0000000000006000 008:00003 libpixbufloader-xpm.so
00007f609679c000       4 rw--- 0000000000006000 008:00003 libpixbufloader-xpm.so
00007f609679d000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f609679e000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f6096f9e000       4 ----- 0000000000000000 000:00000   [ anon ]
…
There are some [ anon ] - I disable now the most extensions/plugins to get the hungry one ;)
I need some time to controll this.

The cursor issue I did a „dirty“ fix - renamed the DMZ-White directory. Now my cursor is working

Code: Select all

tim@lmde ~ $ sudo mv /usr/share/icons/DMZ-White /usr/share/icons/DMZ-White-disabled
The bash-completion is working but bash don't like the old /etc/bash.bashrc - it gives that error:

Code: Select all

bash: [: Zu viele Argumente.
bash: [: =: Einstelliger (unärer) Operator erwartet.
bash: [: =: Einstelliger (unärer) Operator erwartet.
bash: [: =: Einstelliger (unärer) Operator erwartet.
bash: [: =: Einstelliger (unärer) Operator erwartet.
bash: [: Zu viele Argumente.
bash: [: =: Einstelliger (unärer) Operator erwartet.
bash: [: =: Einstelliger (unärer) Operator erwartet.
bash: [: =: Einstelliger (unärer) Operator erwartet.
bash: [: =: Einstelliger (unärer) Operator erwartet.
bash: [: =: Einstelliger (unärer) Operator erwartet.
 _____________________________
< Give him an evasive answer. >
 -----------------------------
  \
   \
       ___  
     {~._.~}
      ( Y )
     ()~*~()   
     (_)-(_)   
tim@lmde ~ $

There is an error in the script, I think.
So this post is partly solved :)

I hope there is a fix in the next update. I have this version:

Code: Select all

tim@lmde ~ $ apt-cache policy bash
bash:
  Installiert: 4.2-1
  Kandidat:    4.2-1
  Versionstabelle:
 *** 4.2-1 0
        500 http://debian.linuxmint.com/latest/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
Or should I switch to another repository?
Image
äxl

Re: UP4 no bash-completion, Cinnamon Cursor issue, errors

Post by äxl »

timh wrote:I took a look with pmap, this is (short) output:
I also see some [ anon ] in MATE's processes. Should I worry?
The bash-completion is working but bash don't like the old /etc/bash.bashrc - it gives that error:
Do you have the completion in both files? Have you tried it with empty conf files?
I hope there is a fix in the next update. I have this version:
I've got the same version from the same source. On debian.org testing is a newer version which is installable without dependency problems (for me). But I don't think that would solve your problem.
timh
Level 3
Level 3
Posts: 133
Joined: Thu Oct 25, 2007 2:36 pm
Location: Spain

Re: UP4 no bash-completion, Cinnamon Cursor issue…[most solv

Post by timh »

Now - since a view weeks - I run Z-shell (zsh) and will never use bash/dash.
No problem with completion and this is a very good shell. :mrgreen:
Image
Locked

Return to “LMDE Archive”