Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Install xed text editor on Buster? [Solved]
-
- Posts: 33
- Joined: 2019-08-31 04:15
- Has thanked: 1 time
Install xed text editor on Buster? [Solved]
Is it possible? if so how? I've searched and find instructions for Debian 8 or 9 which leave me with unsolveable dependencies; the version of xed now on github no longer uses autogen.sh but a meson build system which I've never use before...
Last edited by debbiethekiwi on 2020-01-14 21:02, edited 1 time in total.
Solar powered - saving carbon
Re: Install xed text editor on Buster?
The install procedure seems straightforward:debbiethekiwi wrote:the version of xed now on github no longer uses autogen.sh but a meson build system which I've never use before...
Code: Select all
% meson . build # run the `configure' script
% ninja -v -C build # build xed
[ Become root if necessary ]
% ninja install -v -C build # install xed
Code: Select all
sudo apt-get update
sudo apt-get install meson
btw, here's a quick guide:
https://mesonbuild.com/Quick-guide.html
-
- Posts: 33
- Joined: 2019-08-31 04:15
- Has thanked: 1 time
Re: Install xed text editor on Buster?
Sorry, I'm old-fashioned, gcc and make were good enough ...Just make sure you have 'meson' installed:
plus, not intending to compile debian 'packages' I hadn't installed everthing on the build-essential list, so meson gave me dependency agony. Eventually built and installed but
Code: Select all
(xed:14161): GLib-GIO-ERROR **: 10:20:05.521: Settings schema 'org.x.editor.preferences.editor' is not installed
Trace/breakpoint trap
Code: Select all
meson --prefix=/usr . build
Code: Select all
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
as described at https://github.com/linuxmint/xed/issues/265
all going and happy camping now, thanks Chrisdb
Solar powered - saving carbon
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Install xed text editor on Buster? [Solved]
Did you think the metapackage was named build-essential for no reason?plus, not intending to compile debian 'packages' I hadn't installed everthing on the build-essential list
MX Linux packager and developer
-
- Posts: 1
- Joined: 2020-05-15 08:21
Re: Install xed text editor on Buster? [Solved]
stevepusser wrote:Did you think the metapackage was named build-essential for no reason?plus, not intending to compile debian 'packages' I hadn't installed everthing on the build-essential list
Thank you very much. I am also looking for the same. Can some one please respond.
Re: Install xed text editor on Buster? [Solved]
Compiling xed yourself has the disadvantage that it cannot be updated automatically and you would have to find and compile each new version manually.
There is a version of xed in de repository of Linux Mint Debian Edition. You could add that repository to Debian with a -10 preference and then install it and have it updated.
Adding the repository to Debian:
Add the proper key to your system:
Make sure the preferences indicate that nothing is to be installed automatically. Edit /etc/apt/preferences.d/10-prefrules and make it contain this:
Then update the packages list:
And install xed:
Done!
There is a version of xed in de repository of Linux Mint Debian Edition. You could add that repository to Debian with a -10 preference and then install it and have it updated.
Adding the repository to Debian:
Code: Select all
echo "deb http://packages.linuxmint.com/ debbie main upstream import backport romeo"|sudo tee /etc/apt/sources.list.d/mint.list
Code: Select all
sudo apt-key adv --recv-keys --keyserver pgpkeys.eu 3EE67F3D0FF405B2
Code: Select all
Package: *
Pin: release a=stable
Pin-Priority: 900
Package: *
Pin: release o=Debian
Pin-Priority: -10
Code: Select all
sudo apt update
Code: Select all
sudo apt install xed/debbie
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Install xed text editor on Buster? [Solved]
Not my idea of good advice, READ ME FIRSTThere is a version of xed in de repository of Linux Mint Debian Edition. You could add that repository to Debian with a -10 preference and then install it and have it updated.
And alsoUbuntu, Mint or other derivative repositories are not compatible with Debian!
Better yet read it all.Don't blindly follow bad advice
Unfortunately there's a lot of bad advice on the Internet. Tutorials found on blogs, forums and other sites often include instructions that will break your system in subtle ways.
Especially if you are new to Debian, and if you still don't believe me, read the topics in this thread:
http://forums.debian.net/viewtopic.php? ... 30#p539707
The OP here took the more correct path , compiling it for the specific version, etc . is the better method. But also that is for more advanced users, of course it is all way good when newbies try to learn as well.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Re: Install xed text editor on Buster? [Solved]
This is a repo for Linux Mint DEBIAN EDITION. The xed editor in there is perfectly compatible. I have tried it myself before advising it.
- None1975
- df -h | participant
- Posts: 1410
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 70 times
Re: Install xed text editor on Buster? [Solved]
Very strange. Why do you need that program? After all, standard Debian application repositories have great applications of this type, for example fte
https://packages.debian.org/buster/fte
https://packages.debian.org/buster/fte
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Install xed text editor on Buster? [Solved]
That doesn't do what you think it does. Have you read apt_preferences(5)?Bloom wrote:Edit /etc/apt/preferences.d/10-prefrules and make it contain this:Code: Select all
Package: * Pin: release a=stable Pin-Priority: 900 Package: * Pin: release o=Debian Pin-Priority: -10
In my buster system that source and preferences file results in an instant FrankenDebian.
This is better:
Code: Select all
Package: *
Pin release o=linuxmint
Pin-Priority: 100
deadbang
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Install xed text editor on Buster? [Solved]
Safest of all is to rebuild the package yourself on Debian in the same manner as for simple backports or from a PPA, as in the Debian wiki. That way, you don't really have to be familiar with the ins and outs of meson, etc.--just the recipe for porting over packages from source. You only have to open the hood and get your hands dirty if something goes wrong with the build.
Isn't xed a forked version of ye olde time GNOME 2 gedit, anyway? What sets it apart from the zillion other text editors you can get?
Isn't xed a forked version of ye olde time GNOME 2 gedit, anyway? What sets it apart from the zillion other text editors you can get?
MX Linux packager and developer