file name

Christian V. J. Brüssow cvjb at cvjb.de
Mon Feb 21 18:31:59 CET 2005


Hello,

On Mon, Feb 21, 2005 at 10:04:00AM -0600, Dennis J. Tuchler wrote:
>On Monday 21 February 2005 04:02, Christian V. J. Brüssow wrote:
>> On Sun, Feb 20, 2005 at 07:52:52PM -0600, Dennis J. Tuchler wrote:
>> >What is the name of the file that holds the names of applications for the
>> > Run Program menu?
>>
>> For me it is "~/.cache/xfce4/xfce4-modules/runlist.2.dbh".
>
>Thank you!  How does one find this sort of thing out for oneself?

I have searched the strace output for xfrun4, with two assumptions:

1. There must be an "open" system call.
2. The file is beneath my home directory.

So I called:

$ strace -e trace=open -o xfrun4.strace xfrun4 && less xfrun4.strace

In "less", I searched for my home directory, and voila, the fifth hit was
the file in question.

Maybe, there is an easier way to get to this kind of information, but it works.


Hope that helps,

Christian




More information about the Xfce mailing list