Re: How to get a working Desktop->(Looks/Feels/Pictures menu) [was: Re: Looks switching bug]
Randall Hopper (aa8vb@vislab.epa.gov)
Fri, 8 Jan 1999 08:44:14 -0500
David Mihm:
|On Thu, 7 Jan 1999, Randall Hopper wrote:
|!
|! Unfortunately, this isn't the case here. I did:
|!
|! > cd ~/.GNUstep/Library/AfterStep
|! > mkdir looks feels pictures
|!
|! , then rebuilt the start menu via Desktop->Update-Start-Menu, and the
|! Looks, Feels, and Pictures menus are gone from the Desktop menu, as before.
|! If I nuke non-configurable/startmenu and restart AfterStep, they're back.
|!
| You are making this alot harder than it is. Take a look at the
|/usr/local/share/afterstep/start/ directory tree. Notice that there is a
|Desktop/ directory (which is where the looks/feels/pictures are in the
|menu). Do you also see the Feel, Look, and Pictures directories under
|Desktop/ dir? Notice that there isn't anything in them, they are filled
|in within the menu from the files that exist in the
|/usr/local/share/afterstep/desktop/(feels/looks/backgrounds) respectively.
|As the man pages state repeatedly, the global files are under the share
|tree and are *overriden* if they exist in the user directory - ~/G/L/A/.
|Is this concept making sense yet?
I saw that, but I was/am not clear on what level the override occurs. On a
per-file basis, or on a per-directory basis.
With your tips, I gather that AfterStep queues off the presence of the
totally empty ~/G/L/A/start/Desktop/{Look,Feel,Pictures} directories as to
whether to generate the appropriate menus in Desktop, and has special
internal logic which overrides the behavior of these menus (i.e. bump up
and read ~/G/L/A/looks/* or /u/s/a/looks/*, etc.).
It was my mistaken assumption that AfterStep would key directly off the
presence of ~/G/L/A/looks dir to determine whether to generate the looks
menu. If in the local, it'd use it; if not found in the local, it'd look
at the global (per-directory based override). Or it'd just merge the looks
in both places (per-file based override).
The error was as you guessed that somehow the empty
~/G/L/A/start/{Looks,Feels,Pictures} directories didn't exist. I'm not
sure how this happened. I think I must have recursively copied the files
in the global, thus missing empty directory creation.
It's fixed now. Thanks for your help.
| So, now just copy recursively the entire
|/usr/local/share/afterstep/ directory structure to ~/G/L/A/ and all will
|be fine. If you edit/delete anything in the non-configurable directory -
|it is proof positive that you have not rtfm!
No, just positive proof I was getting a bit frustrated with AfterStep not
working, and poking around in an effort to debug the problem.
| If this is still unclear, please respond with a concise
|description of what you fail to understand.
No, that was clear. Thanks.
--
Randall Hopper
aa8vb@vislab.epa.gov
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://www.caldera.com/linuxcenter/forums/afterstep.html