Re: [As-users] Where are master files?
Jeff Krebs (jkrebs@tconl.com)
Sun, 23 Jul 2006 23:35:40 -0500
OK. I remember this... AS reads *.desktop files (on FC5,
they are located primarily in /usr/share/desktop-directories,
/usr/share/desktop-menu-patches, & /usr/share/applications).
Other systems might have /usr/local/share/... .
Do a search for files *.desktop to see all available.
AS reads the data from these files and adds the programs in
the menus.
If you have a certain program you desire to add, and it doesn't
show through .desktop entries, you can add it manually.
Look at the example that you provided (Applications/Network).
The menu files were numbered 1_* to 8_*. Look at the menu output
under AS. The order should be the same, with *.desktop entries
on the bottom. Copy the file "4_mail" to "9_xchat".
Edit your new file to read:
Exec "XChat (IRC)" exec xchat &
and save the file. Using the menu and selecting
Desktop -> Update All
should show your new program. Look at the other menu items for
examples, especially those launching in terminals. You can add
subsequent programs like the example above: 10_*, 11_*, etc..
As I said earlier, I'd rather add a button under Wharf for
programs I use frequently; I rarely use the menus.
Jeff Krebs
* Mike Rosing (eresrch@eskimo.com) wrote:
> On Sun, 23 Jul 2006, Jeff Krebs wrote:
>
> > I said move .../start/ . That should be COPY!
>
> Very good idea :-)
>
> > * Jeff Krebs (jkrebs@tconl.com) wrote:
> > > Are you talking about the paths for the AS files, or the menu stuff?
>
> I'm not sure - like I said, I'm confused.
>
> > > Paths are in the file "base".
> > >
> > > I don't know what you are trying to "look for". AS, through "base",
> > > is fairly inclusive of all items needed to run AS; i.e., AS knows
> > > where to look to find all of its own installed data.
>
> OK.
>
> > > This is provided you used configure correctly during build. Unless
> > > you are seeing odd things, all is probably OK.
> > >
> > > For my local ~/.afterstep, I have the following directories:
> > >
> > > ~/.afterstep
> > > backgrounds
> > > desktop <- auto-created
> > > fonts <- auto-created
> > > icons
> > > tiles <- auto-created
> > > non-configurable <- auto-created
> > >
> > > "autoexec", "base", "pager", "wharf", "database", "winlist" need
> > > to go directly into ~/.afterstep.
>
> Good to know - I don't have that built up yet.
>
> > > If you are talking about the menus, some of the stuff is AS commands,
> > > some is calling external programs. You are looking in the right place,
> > > and that is the ..../start/ directory. The .include isn't what you need
> > > to follow; look at the files and dirs with numbers in front of them.
> > > All menus are just text files and dirs, with the dirs indicating
> > > sub-folders. It's WYSIWYG.
>
> This is where I'm totally confused. In the start/applications/network
> I've got:
> -rw-r--r-- 1 root root 40 2006-07-22 21:16 1_ftp
> -rw-r--r-- 1 root root 46 2006-07-22 21:16 2_ncftp
> -rw-r--r-- 1 root root 44 2006-07-23 06:42 3_lynx
> -rw-r--r-- 1 root root 44 2006-07-22 21:16 4_mail
> -rw-r--r-- 1 root root 49 2006-07-22 21:16 5_irc
> -rw-r--r-- 1 root root 48 2006-07-22 21:16 7_news
> -rw-r--r-- 1 root root 52 2006-07-22 21:16 8_telnet
>
> But when I pull up the menu with the mouse I get
> Ftp
> NcFTP
> Lynx
> Mail
> Irc
> Newsreader
> Telnet
> Gaim
> Gnome ICU AIM/ICQ client
> GnomeMeeting
> Web Bookmarks
> Web Browser
>
> The directory corresponds to everything before telnet in the ls -l
> command, but I don't see where Gaim comes from. .include appears with
> ls -la. I want to be able to edit Web Browser so I can grab the one
> I want.
>
> > > For applications that you use frequently, I'd recommend making a
> > > button in Wharf... It's so much easier (one click rather than many).
>
> I don't click, I flow. Not having the wharf is my appreciation of
> afterstep - it fits with the whole minimalist picture. Plus, my kids
> can't figure it out (yet!)
> :-)
>
> Thanks for your help - I really appreciate it!
> Mike
_______________________________________________
As-users mailing list
As-users@afterstep.org
http://mail.afterstep.org/mailman/listinfo/as-users