LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2005, 11:29 AM   #1
janux
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
gedit very slow


hi,

recently my gedit got from working fine to being verry slow.
I tracked it down to a problem with my new choosen theme AluminumAlloy-Volcanic.

It's a problem with the scrollbar, as long as there is no scrollbar, gedit is working fine.
But when the text gets longer and the scrollbar appears it takes more than a full second to enter a new line because gedit is repainting the scrollbar.

When I change to the "simple" theme the problem disappears.
You might think it's a problem with the "AluminumAlloy-Volcanic" theme but I'm getting the same problem with other themes which use graphics on the scrollbar.

And then there is eclipse with the internal editor which does not make any problems at all using the any theme an scrollbar.

So it might be a bug in gedit.
Has anyone encounterd the same problem?

I reallly do not want to use a simple theme just becouse of gedit.

jan
 
Old 11-05-2005, 12:30 PM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
I don't see any problem although I use the AluminumAlloy-Volcanic.
How many ram do you have, and how fast your CPU are?
 
Old 11-05-2005, 12:57 PM   #3
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
This problem can be RAM related because of HEAVY graphic display of aluminum-alloy. Track your CPU usage via "top" program and see if it either CPU or RAM. If your CPU is at low percentage then it's definitely lack of RAM
 
Old 11-06-2005, 06:43 PM   #4
janux
LQ Newbie
 
Registered: May 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I have a Pentium M 1.7Ghz with 512MB RAM.
OK 512MB is not the world, but it should definitely be enough for runnig X and gedit.

Also the problem occurs only in gedit all other application are running fine (e.g. Gnome terminal with the same scrollbar)

Here some output of top:
Code:
top - 00:36:33 up  8:02,  5 users,  load average: 0.12, 0.18, 0.19
Tasks:  91 total,   1 running,  90 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.7% us,  0.3% sy,  0.0% ni, 98.0% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    515256k total,   392848k used,   122408k free,    40348k buffers
Swap:  1534672k total,        0k used,  1534672k free,   210136k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
23171 root       5 -10  156m  24m 7416 S  1.0  4.8   0:54.41 Xorg
 6136 root      15   0  5960 2292 1460 S  0.3  0.4   0:12.43 cupsd
23400 jan       15   0 37372  15m 9664 S  0.3  3.0   0:05.83 gnome-terminal
    1 root      16   0  1596  540  472 S  0.0  0.1   0:00.54 init
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    3 root      10  -5     0    0    0 S  0.0  0.0   0:00.19 events/0
    4 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
 
Old 11-06-2005, 06:48 PM   #5
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
As you see your CPU is only 1.7%, which is fine on stand-by mode. Run your gedit and check if actually gedit is taking resources. Maybe is not
 
Old 11-07-2005, 07:57 AM   #6
janux
LQ Newbie
 
Registered: May 2004
Posts: 9

Original Poster
Rep: Reputation: 0
ok, while pressing enter in gedit the cpu load is increasing drastically:

Code:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 6884 root       6 -10 52816  32m 6976 S 53.2  6.4   2:08.98 Xorg
 7258 jan       18   0 35188  18m  11m R 42.3  3.7   0:47.77 gedit
 7195 jan       15   0  101m  32m  14m S  2.0  6.5   0:09.81 firefox-bin
 7246 jan       16   0 36500  13m 9192 R  1.7  2.7   0:04.00 gnome-terminal
    1 root      16   0  1596  536  472 S  0.0  0.1   0:00.53 init
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    3 root      10  -5     0    0    0 S  0.0  0.0   0:00.03 events/0
    4 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
    5 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
Still my CPU should not be to slow to run gedit.
Especially since other applications are runnig fine.

jan
 
Old 11-07-2005, 03:54 PM   #7
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Quote:
Originally posted by janux
42.3 3.7 0:47.77 gedit
I don't know. change metacity probably
Mine is such:

Code:
 3195 root      15   0  160m  28m 142m S  6.0  3.2  29:33.02 Xorg
 3500 slackerl  15   0 63276  33m  26m S  1.7  3.8  30:11.54 amule
 3406 slackerl  15   0 18312  11m  15m S  1.0  1.3   0:11.34 wnck-applet
 3347 slackerl  15   0 13644 9396  11m S  0.7  1.0   0:17.35 metacity
 3351 slackerl  15   0 23592  15m  17m S  0.3  1.7   0:06.18 gnome-panel
 3412 slackerl  16   0 18148  11m  14m S  0.3  1.3   0:01.95 gnome-keyboard-
25881 slackerl  15   0 99.0m  30m  29m S  0.3  3.4   0:04.00 firefox-bin
25899 slackerl  15   0 27424  10m  16m S  0.3  1.2   0:00.60 gnome-terminal
25906 slackerl  15   0 23528  14m  19m S  0.3  1.6   0:00.75 gedit
    1 root      16   0  1812  656 1600 S  0.0  0.1   0:00.72 init
As you see gedit takes only 0.3% of CPU

Last edited by SlackerLX; 11-07-2005 at 03:55 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with gedit hitlaur Linux - Newbie 4 11-09-2004 11:16 PM
Can't update Gedit rvoigt Linux - Newbie 1 09-28-2004 07:15 AM
gedit-like app? Smokey Slackware 9 07-19-2004 11:21 AM
how can i reinstall gedit? vree13 Linux - Newbie 5 03-05-2004 05:17 PM
Gedit JsCAMRY Linux - Software 10 11-06-2003 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration