enigma9o7
Crew Member
 
Posts: 1,210
Likes: 1,213
Member is Online
|
Post by enigma9o7 on Dec 7, 2022 19:41:04 GMT
Bodhi's default text editor, Leafpad works fine, and it's default icon suits Bodhi well. I'd also assumed it was one of the fastest and lightest available since it's so simple, but this recent article caught my attention, in particular the memory usage table:
If that's right (I haven't tried to verify myself) then leafpad uses more than 20x the memory of mousepad, even tho mousepad offers more features. Plus its maintained upstream, whereas I believe leafpad is no longer maintained upstream and ylee does it himself, including applying patches to fix bugs.
So it might be easier/better just to switch to mousepad for Bodhi 7?
|
|
|
Post by ylee on Dec 7, 2022 23:15:20 GMT
Mousepad is a nice enough simple text editor and indeed more feature rich than leafpad. But I have no idea where those numbers in that blog post came from. My tests below opening the file ~/.xsession-errors Private + Shared = RAM used Program
9.3 MiB + 1.6 MiB = 10.9 MiB leafpad Private + Shared = RAM used Program
12.5 MiB + 3.7 MiB = 16.2 MiB mousepad
I used the python script ps_mem.py to generate this output.
|
|
Sharp
Crew Member
 
Posts: 157
Likes: 222
|
Post by Sharp on Dec 16, 2022 2:23:36 GMT
Just my opinion but I prefer Leafpad to Mousepad because it does all I need for a regular editor. If I need something more than it I use Geany.
|
|
enigma9o7
Crew Member
 
Posts: 1,210
Likes: 1,213
Member is Online
|
Post by enigma9o7 on Dec 16, 2022 3:43:36 GMT
Ya I trust ylee's method more than that article, and leafpad is fine in my opinion too. It was mainly cuz I thought wow, mousepad is super duper light, figured it must use whatever the linux equivilent of using assembly or something for super efficient code. But not a reality.
|
|