You are not logged in.

#1 2023-01-10 14:48:11

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

[Solved] Medit vs other Text editors

Solved: Medit is DEAD! See this post and below

===============
Can anyone explain to me why, "out of the blue", ± a week ago, Medit started converting characters funny.  I say convert becsuse if I copy from medit to another editor, that are the same as medit shows them:

2023-01-10-105402-S11.jpg

mousepad, pluma and geany all work as they have for years.

All use UTF-8
And in examples:
Fira Code Medium 12

Last edited by Sector11 (2023-01-11 02:02:42)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2 2023-01-10 19:15:30

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: [Solved] Medit vs other Text editors

Medit is only avilable in oldstable and oldoldstable. "the package is going to disappear unless someone takes it over and reintroduces it".
https://tracker.debian.org/pkg/medit

Maybe nothing to be concerned about?


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#3 2023-01-10 23:01:22

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Medit vs other Text editors

Yes I am aware of the fact it is in oldstable and not in stable and will go "poof" at sometime.
SO SAD!  Great little editor, been using it forever!

But it was working perfect up until ±a week ago.
And it's the only text editor that gives me the "Location" bar that I use a lot.
2023-01-10-195021-S11.jpg

So the question remains.

Anyone have any idea why the text all of a sudden went funny?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#4 2023-01-10 23:59:48

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,660

Re: [Solved] Medit vs other Text editors

Did you perform an update/upgrade recently?
I think medit is python based (their repositories are dead, so I can't check). If there was an update to python or some other dependency, medit may be broken.

Last edited by PackRat (2023-01-11 00:01:43)


You must unlearn what you have learned.
    -- yoda

Offline

#5 2023-01-11 01:38:14

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Medit vs other Text editors

Good call, yes!

I will check.
Thanks PackRat


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#6 2023-01-11 01:53:28

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Medit vs other Text editors

   $ dep medit
alias dep=apt-cache depends
medit
  Depends: libatk1.0-0
{snip}
  Depends: <python:any>
    python
    python-is-python2

And that's it.

 10 Jan 23 @ 22:50:54 ~
   $ sho python-is-python2
alias = aptitude show filename
Package: python-is-python2        
Version: 2.7.18-9
State: not installed
Multi-Arch: allowed
Priority: optional
Section: oldlibs
Maintainer: Matthias Klose  <doko@debian.org>
Architecture: all
Uncompressed Size: 13.3 k
Depends: python2
Breaks: python, python-is-python2-but-deprecated, python-is-python3, python-minimal
Replaces: python, python-is-python2-but-deprecated, python-is-python3, python-minimal
Provides: python (= 2.7.18-2), python-is-python2:any (= 2.7.18-9), python:any (= 2.7.18-2)
Description: symlinks /usr/bin/python to the DEPRECATED python2
 Starting with the Debian 11 (bullseye) and Ubuntu 20.04 LTS (focal) releases, all python packages use explicit python3 or python2
 interpreter and do not use unversioned /usr/bin/python at all. Some third-party code may still be python2 based, yet may use
 /usr/bin/python. 
 
 This is a convenience package which ships a symlink to point /usr/bin/python interpreter at the current default python2. It may improve
 compatibility with obsolete 3rd-party software, whilst breaking some modern software. 
 
 This package will be installed upon upgrades to Debian 11 (bullseye) and Ubuntu 20.04, if the DEPRECATED python2 was installed. 
 
 python2 is DEPRECATED and will not be provided in future Debian and Ubuntu releases. It is recommended to remove python2 and this package
 after ensuring that only python3 is in use. 
 
 No packages may declare dependencies on this package, or recommend that package.
Tags: role::shared-lib

 
 10 Jan 23 @ 22:51:01 ~
   $ 

removed python-is-python2 which ripped out medit.

python-is-python3 will not work with medit.

Goodbye old friend.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#7 2023-01-11 07:31:22

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,140
Website

Re: [Solved] Medit vs other Text editors

Damn snakes. Ooo, that's Biblical.


I don't care what you do at home. Would you care to explain?

Offline

#8 2023-01-11 10:42:16

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: [Solved] Medit vs other Text editors

Would this be solvable with python venv? (or similar tech)

Offline

#9 2023-01-11 10:47:22

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,660

Re: [Solved] Medit vs other Text editors

brontosaurusrex wrote:

Would this be solvable with python venv? (or similar tech)

Probably. Or have both python2 and python3 installed.

Given that it's a relatively simple text editor, it would be easier to go with something that is actively maintained like pluma or xed. I think xed is a fork of pluma to remove any mate desktop dependencies.


You must unlearn what you have learned.
    -- yoda

Offline

#10 2023-01-11 11:20:55

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,140
Website

Re: [Solved] Medit vs other Text editors


I don't care what you do at home. Would you care to explain?

Offline

#11 2023-01-11 12:17:28

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,660

Re: [Solved] Medit vs other Text editors

Gedit stand alone editor now, or does it bring in some gnome dependencies?

Last edited by PackRat (2023-01-11 13:27:14)


You must unlearn what you have learned.
    -- yoda

Offline

#12 2023-01-11 14:59:28

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Medit vs other Text editors

I have been through this conversation a long time ago.

Someone: What's wrong with (editor)?
S11: Don't like it
Someone: Why?

Why do I have to explain my choices?
I asked a question about Medit back then as well

= = = = =
ME: What don't we all use BSD and use it's standard installed programs.
ANS: But I don't like BSD
ME: Why?
See: choices, we all have our own.
That's another reason I use conky v1.9.0
OK enough of that.
= = = = =

2007 I used gedit, it was default with Ubuntu04 by first Linux.
- Loved it
Switched to medit during my #! days and been there ever since.

However "contempt prior to investigation" is not a good thing, and today is a new day so:

 11 Jan 23 @ 11:19:05 ~
   $ get gedit

I see Gedit is following Gnome standards - ie: No Toolbar - which I already knew having investigated before.

click on the [3lines] and then "Find and Replace" from a menu.
- 2 clicks vs the one click on a Toolbar found in mousepad and pluma

LIKE THIS: Lots of Keyboard Shortcuts though.

Depends don't seem so bad ... at least I don't see GNOME {koff koff}

   $ dep gedit
alias dep=apt-cache depends
gedit
  Depends: gedit-common
  Depends: gedit-common
  Depends: gir1.2-glib-2.0
  Depends: gir1.2-gtk-3.0
  Depends: gir1.2-gtksource-4
  Depends: gir1.2-pango-1.0
  Depends: gir1.2-peas-1.0
  Depends: gsettings-desktop-schemas
  Depends: iso-codes
  Depends: python3-gi
  Depends: python3-gi-cairo
  Depends: <python3:any>
    python3
  Depends: python3.9
  Depends: libamtk-5-0
  Depends: libatk1.0-0
  Depends: libc6
  Depends: libcairo2
  Depends: libgdk-pixbuf-2.0-0
  Depends: libgirepository-1.0-1
  Depends: libglib2.0-0
  Depends: libgspell-1-2
  Depends: libgtk-3-0
  Depends: libgtksourceview-4-0
  Depends: libpango-1.0-0
  Depends: libpeas-1.0-0
  Depends: libtepl-5-0
  Recommends: yelp
  Recommends: zenity
  Suggests: gedit-plugins

Medit did a "Sort Lines" that I use a LOT!
Gedit: [3lines] + [Tools] + [Sort] - at least it is there

NOT a huge GNOME fan.
In fact I'm kinda anti-GNOME

To be honest, I don't like it because of the GNOME look feel.
BUT it has:
- terminal | medit lost that a while ago
- sort lines | medit had that and could be undone
- - pluma has that - no undo though
- spell check | pluma here for that
More later .....


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#13 2023-01-11 18:58:18

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: [Solved] Medit vs other Text editors

Well, the tarball from sourceforge builds fine as it seems,
https://sourceforge.net/projects/mooedi … it/1.2.92/
what is the character text to test?
c0eVlLWt.png

Notes:

sudo apt install libgtk2.0-dev libxml2-dev python2.7-dev
# unpack the tarball, cd to dir
./configure
./make
sudo make install

Last edited by brontosaurusrex (2023-01-11 19:03:05)

Offline

#14 2023-01-12 05:07:18

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,140
Website

Re: [Solved] Medit vs other Text editors

PackRat wrote:

Gedit stand alone editor now, or does it bring in some gnome dependencies?

Just what you see there, gedit-common, gsettings-desktop-schemas and python 3.

@Sector11, yes. Use your dead editor, you don't need these alternative recommendations. MDeadit. Have at it.


I don't care what you do at home. Would you care to explain?

Offline

#15 2023-01-12 12:12:29

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Medit vs other Text editors

brontosaurusrex wrote:

Well, the tarball from sourceforge builds fine as it seems,

First post:
All use UTF-8
And in examples:
Fira Code Medium 12

And I never use anything from sourceforge.
Also that one is still using python2 which is depreciated.
- symlinks /usr/bin/python to the DEPRECATED python2

Not going to happen:
simulated apt install

   $ sget libgtk2.0-dev libxml2-dev python2.7-dev
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  gir1.2-gtk-2.0 icu-devtools libatk1.0-dev libblkid-dev libbrotli-dev libcairo-script-interpreter2 libcairo2-dev libdatrie-dev
  libexpat1-dev libffi-dev libfontconfig-dev libfontconfig1-dev libfreetype-dev libfreetype6-dev libfribidi-dev libgdk-pixbuf-2.0-dev
  libgdk-pixbuf2.0-bin libglib2.0-dev libglib2.0-dev-bin libgraphite2-dev libharfbuzz-dev libharfbuzz-gobject0 libice-dev libicu-dev
  libmount-dev libpango1.0-dev libpcre16-3 libpcre2-32-0 libpcre2-dev libpcre2-posix2 libpcre3-dev libpcre32-3 libpixman-1-dev libpng-dev
  libpthread-stubs0-dev libpython2.7-dev libselinux1-dev libsepol1-dev libsm-dev libthai-dev libx11-dev libxau-dev libxcb-render0-dev
  libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev
  libxinerama-dev libxml2-utils libxrandr-dev libxrender-dev pango1.0-tools uuid-dev x11proto-dev x11proto-input-dev x11proto-randr-dev
  x11proto-xext-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev
Suggested packages:
  libcairo2-doc libdatrie-doc freetype2-doc libgirepository1.0-dev libglib2.0-doc libgraphite2-utils libgtk2.0-doc libice-doc icu-doc
  libpango1.0-doc libsm-doc libthai-doc libx11-doc libxcb-doc libxext-doc
Recommended packages:
  debhelper libpng-tools
The following NEW packages will be installed:
  gir1.2-gtk-2.0 icu-devtools libatk1.0-dev libblkid-dev libbrotli-dev libcairo-script-interpreter2 libcairo2-dev libdatrie-dev
  libexpat1-dev libffi-dev libfontconfig-dev libfontconfig1-dev libfreetype-dev libfreetype6-dev libfribidi-dev libgdk-pixbuf-2.0-dev
  libgdk-pixbuf2.0-bin libglib2.0-dev libglib2.0-dev-bin libgraphite2-dev libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0 libice-dev
  libicu-dev libmount-dev libpango1.0-dev libpcre16-3 libpcre2-32-0 libpcre2-dev libpcre2-posix2 libpcre3-dev libpcre32-3 libpixman-1-dev
  libpng-dev libpthread-stubs0-dev libpython2.7-dev libselinux1-dev libsepol1-dev libsm-dev libthai-dev libx11-dev libxau-dev
  libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev
  libxft-dev libxi-dev libxinerama-dev libxml2-dev libxml2-utils libxrandr-dev libxrender-dev pango1.0-tools python2.7-dev uuid-dev
  x11proto-dev x11proto-input-dev x11proto-randr-dev x11proto-xext-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev
0 upgraded, 69 newly installed, 0 to remove and 0 not upgraded.
Inst gir1.2-gtk-2.0 (2.24.33-2 Debian:11.6/stable [amd64])
Inst icu-devtools (67.1-7 Debian:11.6/stable [amd64])
{snip}

 12 Jan 23 @ 10:25:45 ~
   $ 

Last edited by Sector11 (2023-01-12 13:36:36)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#16 2023-01-12 14:09:42

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: [Solved] Medit vs other Text editors

I tried wink (And I haven't noticed any symlinking to old python, but I could be wrong)

Last edited by brontosaurusrex (2023-01-12 14:10:53)

Offline

#17 2023-01-12 14:24:45

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Medit vs other Text editors

hhh wrote:

@Sector11, yes. Use your dead editor, you don't need these alternative recommendations. MDeadit. Have at it.

medit is gone.  If is cannot display characters correctly in my conkys it's just not for me.

gedit has a lot of things I like BUT OH THAT GNOME LOOK|FEEL!

So I still have 4 editors. (temporary)

- terminal | medit lost that a while ago - gedit has it
- - super simple to pop in:
- - - pkill -xf "conky -c /media/5/Conky/MerryChristmas.conky" &
- - - - similar lines found in all my conkys
- - - hit ↑ and edit line to:
- - - conky -c /media/5/Conky/MerryChristmas.conky &
- - - to start stop conkys as I work on them
- - otherwise open a terminal to do that.
- sort lines | medit had that and could be undone - gedit has it
- - pluma has that - no undo though
- spell check | pluma here for that - now gedit as well
- column cut|paste - geany - but HATE that white on black

If I can get use to the {koff koff} GNOME LOOK FEEL of gedit it can do it all less the column cut|paste I think.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#18 2023-01-12 15:09:18

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Medit vs other Text editors

brontosaurusrex wrote:

I tried wink (And I haven't noticed any symlinking to old python, but I could be wrong)

Keep trying.  always better than not trying.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#19 2023-01-12 15:19:28

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,660

Re: [Solved] Medit vs other Text editors

Doesn't geany have all that for you?
Probably need the geany-plugins package.


You must unlearn what you have learned.
    -- yoda

Offline

#20 2023-01-12 15:33:04

jeffreyC
Member
Registered: 2019-09-07
Posts: 192

Re: [Solved] Medit vs other Text editors

Maybe try a different theme aka colorscheme for geany?

Offline

Board footer

Powered by FluxBB