[openbox] ~me versus /home/meme

Mikael Magnusson mikachu at gmail.com
Mon Aug 24 16:02:09 EDT 2009


On Mon, 24 Aug 2009, Doug Barton wrote:

> Mikael Magnusson wrote:
>> On Mon, 24 Aug 2009, Mikael Magnusson wrote:
>>
>>> On Mon, 24 Aug 2009, Doug Barton wrote:
>>>
>>>>  dcarroll wrote:
>>>>>  Consider this excerpt from one of my pipe menus:
>>>>>>  <execute>
>>>>>  firefox -new-window http://someremotehost/~me/somewebapp/
>>>>>  et cetera
>>>>>>  Does anybody know how to prevent the tilde (~) from being
>>>> expanded into
>>>>>  the pathname of my home directory?
>>>>
>>>>  Try HTML encoding: /%7Eme/somewebapp/
>>>
>>> Please don't give advice without trying it first.
>
> I did try it first, but in general I agree with your suggestion so
> I'll let you slide. :)
>
>> Sorry for being slow, that does work in this specific case of urls, but
>> it won't become a tilde in openbox generically.
>
> Unless I'm missing something, avoiding having openbox see that as a
> tilde (so as to avoid having it expanded into the string for his home
> directory) is exactly what the OP was after.

Yes, but you cheated :). There is no tilde anymore, so it isn't not 
expanded.

--
Mikael Magnusson


More information about the openbox mailing list