diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-May/015226.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-May/015226.html | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-May/015226.html b/zarb-ml/mageia-dev/2012-May/015226.html new file mode 100644 index 000000000..c131d7f7a --- /dev/null +++ b/zarb-ml/mageia-dev/2012-May/015226.html @@ -0,0 +1,140 @@ +<!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%0A%20find%20text%20editor&In-Reply-To=%3C4FA268C5.6040403%40damsweb.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="015197.html"> + <LINK REL="Next" HREF="015202.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Proposal: add script to desktop-common-data to find text editor</H1> + <B>Damien Lallement</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Proposal%3A%20add%20script%20to%20desktop-common-data%20to%0A%20find%20text%20editor&In-Reply-To=%3C4FA268C5.6040403%40damsweb.net%3E" + TITLE="[Mageia-dev] Proposal: add script to desktop-common-data to find text editor">mageia at damsweb.net + </A><BR> + <I>Thu May 3 13:15:17 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="015197.html">[Mageia-dev] Proposal: add script to desktop-common-data to find text editor +</A></li> + <LI>Next message: <A HREF="015202.html">[Mageia-dev] [soft-commits] [4379] fix shutting down +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#15226">[ date ]</a> + <a href="thread.html#15226">[ thread ]</a> + <a href="subject.html#15226">[ subject ]</a> + <a href="author.html#15226">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le 03/05/2012 05:56, David Walser a écrit : +><i> In the Mageia default IceWM configuration, we have button launchers for a terminal emulator, text editor, and web browser. +</I>><i> +</I>><i> For the terminal emulator, it uses the xvt script from desktop-common-data to find an appropriate xterm or rxvt-like thing. +</I>><i> +</I>><i> For the web browser, it uses the www-browser script from desktop-common-data to use your default web browser from your desktop settings. +</I>><i> +</I>><i> For the text editor, it has emacs hard-coded. This doesn't actually work if the "emacs" package isn't installed. +</I>><i> +</I>><i> 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. +</I>><i> +</I>><i> 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>><i> +</I>><i> 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>><i> +</I>><i> 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. +</I> +I was working on the same script (needed for iceWM for example). +Thank you for it, I updated desktop-common-data and will now update +icewm package to use it and so remove 'emacs' as a suggests. +-- +Damien Lallement +twitter: damsweb - IRC: damsweb/coincoin +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="015197.html">[Mageia-dev] Proposal: add script to desktop-common-data to find text editor +</A></li> + <LI>Next message: <A HREF="015202.html">[Mageia-dev] [soft-commits] [4379] fix shutting down +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#15226">[ date ]</a> + <a href="thread.html#15226">[ thread ]</a> + <a href="subject.html#15226">[ subject ]</a> + <a href="author.html#15226">[ 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> |