summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-May/015226.html
blob: c131d7f7a4b567506b0544e74e768d33303dafa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
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 &#233;crit :
&gt;<i> In the Mageia default IceWM configuration, we have button launchers for a terminal emulator, text editor, and web browser.
</I>&gt;<i>
</I>&gt;<i> For the terminal emulator, it uses the xvt script from desktop-common-data to find an appropriate xterm or rxvt-like thing.
</I>&gt;<i>
</I>&gt;<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>&gt;<i>
</I>&gt;<i> For the text editor, it has emacs hard-coded.  This doesn't actually work if the &quot;emacs&quot; package isn't installed.
</I>&gt;<i>
</I>&gt;<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 &quot;emacs&quot; so that it will work, so at least it works now.
</I>&gt;<i>
</I>&gt;<i> However, even being an emacs guy, I'm not thrilled about that solution either, because I don't actually install &quot;emacs&quot; or want it, I only install and use &quot;emacs-nox&quot; and I don't want to have to keep uninstalling the suggest-pulled-in emacs package after every upgrade now.
</I>&gt;<i>
</I>&gt;<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>&gt;<i>
</I>&gt;<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>