[Lxde-list] run dialog question

Brian Winfrey bwcode4u at gmail.com
Sat Feb 5 15:45:27 PST 2011


Don't know how I did this, but this is the wrong group.  So sorry

On Sat, Feb 5, 2011 at 12:38 PM, Brian Winfrey <bwcode4u at gmail.com> wrote:
> On Sat, Feb 5, 2011 at 11:11 AM, Stephan Sokolow
> <gmane.ssokolow at spamgourmet.com> wrote:
>> I'm not sure it's the "correct" way but you could use this:
>>
>> sh -c 'xmessage "$PATH"'
>>
>> The reason yours didn't work is because $PATH is a shell script variable
>> reference and lxpanel's run dialog doesn't use the shell to parse the
>> command string.
>>
>> The command above works by explicitly asking the shell to interpret the
>> string.
>>
>> On 05/02/11 12:59 PM, Brian Winfrey wrote:
>>> I was trying to determine $PATH for X.  I ran 'xmessage $PATH' from
>>> the lxpanel run dialog, but it literally displayed "$PATH".
>>>
>>> What is the correct way to do this in LXDE?
>>>
>>> Thanks,
>>> Brian
>>>
>>> ------------------------------------------------------------------------------
>>> The modern datacenter depends on network connectivity to access resources
>>> and provide services. The best practices for maximizing a physical server's
>>> connectivity to a physical network are well understood - see how these
>>> rules translate into the virtual world?
>>> http://p.sf.net/sfu/oracle-sfdevnlfb
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The modern datacenter depends on network connectivity to access resources
>> and provide services. The best practices for maximizing a physical server's
>> connectivity to a physical network are well understood - see how these
>> rules translate into the virtual world?
>> http://p.sf.net/sfu/oracle-sfdevnlfb
>> _______________________________________________
>> Lxde-list mailing list
>> Lxde-list at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxde-list
>>
>
> I believe your example is the same as opening a terminal and typing
> 'xmessage $PATH'.
>
> I was trying to determine the path that X uses (for example to lauch a
> program from a .desktop file), and this is how I recall finding it in
> KDE.
>
>
> Thanks,
> Brian
>



More information about the lfs-support mailing list