diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-May/015197.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-May/015197.html | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-May/015197.html b/zarb-ml/mageia-dev/2012-May/015197.html new file mode 100644 index 000000000..a42dcd754 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-May/015197.html @@ -0,0 +1,157 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Proposal: add script to desktop-common-data to find text editor + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Proposal%3A%20add%20script%20to%20desktop-common-data%20to%20find%0A%09text%20editor&In-Reply-To=%3C1336017410.79490.YahooMailClassic%40web160505.mail.bf1.yahoo.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="015321.html"> + <LINK REL="Next" HREF="015226.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Proposal: add script to desktop-common-data to find text editor</H1> + <B>David Walser</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Proposal%3A%20add%20script%20to%20desktop-common-data%20to%20find%0A%09text%20editor&In-Reply-To=%3C1336017410.79490.YahooMailClassic%40web160505.mail.bf1.yahoo.com%3E" + TITLE="[Mageia-dev] Proposal: add script to desktop-common-data to find text editor">luigiwalser at yahoo.com + </A><BR> + <I>Thu May 3 05:56:50 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="015321.html">[Mageia-dev] Freeze Push: e2fsprogs +</A></li> + <LI>Next message: <A HREF="015226.html">[Mageia-dev] Proposal: add script to desktop-common-data to find text editor +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#15197">[ date ]</a> + <a href="thread.html#15197">[ thread ]</a> + <a href="subject.html#15197">[ subject ]</a> + <a href="author.html#15197">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>In the Mageia default IceWM configuration, we have button launchers for a terminal emulator, text editor, and web browser. + +For the terminal emulator, it uses the xvt script from desktop-common-data to find an appropriate xterm or rxvt-like thing. + +For the web browser, it uses the www-browser script from desktop-common-data to use your default web browser from your desktop settings. + +For the text editor, it has emacs hard-coded. This doesn't actually work if the "emacs" package isn't installed. + +dams tried to fix this by changing it to something that also didn't work, and I complained, so he reverted that change. Now he has the icewm package suggest "emacs" so that it will work, so at least it works now. + +However, even being an emacs guy, I'm not thrilled about that solution either, because I don't actually install "emacs" or want it, I only install and use "emacs-nox" and I don't want to have to keep uninstalling the suggest-pulled-in emacs package after every upgrade now. + +I don't want to just complain without providing an alternative, so my idea was to write another script, which should go in desktop-common-data, called xte (a.k.a. X Text Editor, just like xvt, a.k.a. X Virtual Terminal), which will choose an appropriate text editor to run from several choices. + +I don't know the exact procedure to commit something to the desktop-common-data package (in /soft in SVN), so I'm attaching the script here. +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: xte +Type: application/octet-stream +Size: 1508 bytes +Desc: not available +URL: </pipermail/mageia-dev/attachments/20120502/1783d140/attachment.obj> +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="015321.html">[Mageia-dev] Freeze Push: e2fsprogs +</A></li> + <LI>Next message: <A HREF="015226.html">[Mageia-dev] Proposal: add script to desktop-common-data to find text editor +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#15197">[ date ]</a> + <a href="thread.html#15197">[ thread ]</a> + <a href="subject.html#15197">[ subject ]</a> + <a href="author.html#15197">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |