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

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

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

Postby timh on Tue Apr 10, 2012 2:49 pm

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 ****…“ 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 timh on Thu May 17, 2012 7:07 pm, edited 2 times in total.
LMDE2 UP7
Image
Image Image
User avatar
timh
Level 3
Level 3
 
Posts: 133
Joined: Thu Oct 25, 2007 2:36 pm
Location: Spain

Linux Mint is funded by ads and donations.
 

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

Postby zerozero on Tue Apr 10, 2012 7:17 pm

regarding the bash-issue look here viewtopic.php?f=198&t=99147&p=564284
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6484
Joined: Tue Jul 07, 2009 2:29 pm

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

Postby äxl on Wed Apr 11, 2012 2:32 am

*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?
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: UP4 no bash-completion, Cinnamon Cursor issue, errors

Postby timh on Wed Apr 11, 2012 2:37 am

zerozero wrote:regarding the bash-issue look here viewtopic.php?f=198&t=99147&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.


LMDE2 UP7
Image
Image Image
User avatar
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

Postby äxl on Wed Apr 11, 2012 3:32 am

Canberra: It's libcanberra-gtk3-module
viewtopic.php?p=565250#p565250
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: UP4 no bash-completion, Cinnamon Cursor issue, errors

Postby timh on Wed Apr 11, 2012 3:01 pm

äxl wrote:Canberra: It's libcanberra-gtk3-module
viewtopic.php?p=565250#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.
LMDE2 UP7
Image
Image Image
User avatar
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

Postby äxl on Wed Apr 11, 2012 5:58 pm

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 ...?
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: UP4 no bash-completion, Cinnamon Cursor issue, errors

Postby timh on Sat Apr 14, 2012 2:25 pm

ä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?
LMDE2 UP7
Image
Image Image
User avatar
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

Postby äxl on Sat Apr 14, 2012 4:49 pm

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.
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: UP4 no bash-completion, Cinnamon Cursor issue…[most solv

Postby timh on Thu May 17, 2012 7:05 pm

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:
LMDE2 UP7
Image
Image Image
User avatar
timh
Level 3
Level 3
 
Posts: 133
Joined: Thu Oct 25, 2007 2:36 pm
Location: Spain

Linux Mint is funded by ads and donations.
 

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 9 guests