Re: [As-users] AS 2.00.01 start menu sort order

Renegade Muskrat (dramaley@spatulacity.cx)
Tue, 18 Jan 2005 17:15:24 -0600


Thank you!

I can't try this immediately (i have a meeting starting soon), but 
later tonight i'll have to give it a try.

At 01:32 PM 1/18/2005 -0600, you wrote:
 >Ok, here is a new feature for your pleasure ( available in CVS for 
now
 >)
 >
 >include_ordered 1000 "/usr/share/afterstep/start"
 >
 >Put this into your .include file instead of an old line.
 >What it does is it essentially adds second order index that takes
 >precedence over old order number fom the filename.
 >By default it is set to 0.
 >
 >Having above line will cause all the items from
 >/usr/share/afterstep/start have it set to 1000, effectively throwing
 >them into the bottom of menu below your private items.
 >
 >Cheers
 >Sasha
 >
 >
 >Renegade Muskrat wrote:
 >
 >> I want to add a couple of my most-used programs to the top of the 
menu
 >
 >> that appears when i click the desktop. I've created a directory
 >> ~/.afterstep/start and put a .include file in it to load the normal 

 >> system menu. The .include looks like:
 >>     name AfterStep
 >>     include "/usr/share/afterstep/start"
 >> In AfterStep 1.8.11 i could add new items to the top of the menu by 

 >> creating files in ~/GNUstep/Library/AfterStep/start named 
0_program,
 >> 1_program, etc. They would appear at the top of the menu. But if i 
do
 >
 >> that in AfterStep 2.00.01, my custom entries don't get sorted at 
the
 >> top, they are mixed in with the system menu.
 >>
 >> For example, the system menu (in /usr/share/afterstep/start) looks
 >like
 >> this (the first column is how the menu item appears on screen, the
 >> second is the name of the file associated with each item):
 >>     Debian                       0_Debian
 >>     Desktop                      1_Desktop
 >>     Modules                      2_Modules
 >>     Windows                      4_Windows
 >>     Quit                         5_Quit
 >>            [separator space]     6_nop
 >>     About AfterStep              7_About_AfterStep
 >>     XTerminal                    c_xterminal
 >> if i create in ~/.afterstep/start 3 files 0_rxvt, 1_firefox, 
99_nop,
 >the
 >> menu looks like this (items from the custom menu are in caps to 
easily
 >
 >> distinguish them):
 >>     Debian                       0_Debian
 >>     RXVT                         0_rxvt
 >>     Desktop                      1_Desktop
 >>     MOZILLA FIREFOX              1_firefox
 >>     Modules                      2_Modules
 >>     Windows                      4_Windows
 >>     Quit                         5_Quit
 >>            [separator space]     6_nop
 >>     About AfterStep              7_About_AfterStep
 >>            [SEPARATOR SPACE]     99_nop
 >>     XTerminal                    c_xterminal
 >> Is there a way to make them sort at the top, ala AS 1.8.11? I want 
the
 >
 >> menu to look like this:
 >>     RXVT                         0_rxvt
 >>     MOZILLA FIREFOX              1_firefox
 >>            [SEPARATOR SPACE]     99_nop
 >>     Debian                       0_Debian
 >>     Desktop                      1_Desktop
 >>     Modules                      2_Modules
 >>     Windows                      4_Windows
 >>     Quit                         5_Quit
 >>            [separator space]     6_nop
 >>     About AfterStep              7_About_AfterStep
 >>     XTerminal                    c_xterminal
 >>
 >> For the three custom menu items, i have tried naming them with 
extra
 >> zeros on the front, so their file name would be: 000_rxvt,
 >001_firefox,
 >> 099_nop. But that had no effect; they were sorted the same as 
before i
 >
 >> added the extra zeros.
 >>
 >> In my look file i do have "StartMenuSortMode 1" set, but i didn't 
see
 >
 >> any other settings that appeared to be associated with start menu 
sort
 >
 >> order.
 >>                                                -- Dan
 >>
 >--------------------------------------------------------------------
 >>             "I'm still sane on three planets and two moons."
 >>
 >--------------------------------------------------------------------
 >>       Daniel Ramaley                  3118 Cottage Grove Ave Apt 8
 >>       dramaley at spatulacity dot cx        Des Moines, Iowa 50311
 >>       http://www.spatulacity.cx/                    (515) 271-5233
 >>
 >--------------------------------------------------------------------
 >>        WARNING: REDISTRIBUTION OF THIS MESSAGE MAY BE IN
 >>                 VIOLATION OF APPLICABLE COPYRIGHT LAWS.
 >>                 THIS MESSAGE NOT GUARANTEED Y-TO-K COMPLIANT.
 >>
 >> _______________________________________________
 >> As-users mailing list
 >> As-users@afterstep.org
 >> http://mail.afterstep.org/mailman/listinfo/as-users
 >
 > At 01:32 PM 1/18/2005 -0600, you wrote:
 >Ok, here is a new feature for your pleasure ( available in CVS for 
now
 >)
 >
 >include_ordered 1000 "/usr/share/afterstep/start"
 >
 >Put this into your .include file instead of an old line.
 >What it does is it essentially adds second order index that takes
 >precedence over old order number fom the filename.
 >By default it is set to 0.
 >
 >Having above line will cause all the items from
 >/usr/share/afterstep/start have it set to 1000, effectively throwing
 >them into the bottom of menu below your private items.
 >
 >Cheers
 >Sasha
 >
 >
 >Renegade Muskrat wrote:
 >
 >> I want to add a couple of my most-used programs to the top of the 
menu
 >
 >> that appears when i click the desktop. I've created a directory
 >> ~/.afterstep/start and put a .include file in it to load the normal 

 >> system menu. The .include looks like:
 >>     name AfterStep
 >>     include "/usr/share/afterstep/start"
 >> In AfterStep 1.8.11 i could add new items to the top of the menu by 

 >> creating files in ~/GNUstep/Library/AfterStep/start named 
0_program,
 >> 1_program, etc. They would appear at the top of the menu. But if i 
do
 >
 >> that in AfterStep 2.00.01, my custom entries don't get sorted at 
the
 >> top, they are mixed in with the system menu.
 >>
 >> For example, the system menu (in /usr/share/afterstep/start) looks
 >like
 >> this (the first column is how the menu item appears on screen, the
 >> second is the name of the file associated with each item):
 >>     Debian                       0_Debian
 >>     Desktop                      1_Desktop
 >>     Modules                      2_Modules
 >>     Windows                      4_Windows
 >>     Quit                         5_Quit
 >>            [separator space]     6_nop
 >>     About AfterStep              7_About_AfterStep
 >>     XTerminal                    c_xterminal
 >> if i create in ~/.afterstep/start 3 files 0_rxvt, 1_firefox, 
99_nop,
 >the
 >> menu looks like this (items from the custom menu are in caps to 
easily
 >
 >> distinguish them):
 >>     Debian                       0_Debian
 >>     RXVT                         0_rxvt
 >>     Desktop                      1_Desktop
 >>     MOZILLA FIREFOX              1_firefox
 >>     Modules                      2_Modules
 >>     Windows                      4_Windows
 >>     Quit                         5_Quit
 >>            [separator space]     6_nop
 >>     About AfterStep              7_About_AfterStep
 >>            [SEPARATOR SPACE]     99_nop
 >>     XTerminal                    c_xterminal
 >> Is there a way to make them sort at the top, ala AS 1.8.11? I want 
the
 >
 >> menu to look like this:
 >>     RXVT                         0_rxvt
 >>     MOZILLA FIREFOX              1_firefox
 >>            [SEPARATOR SPACE]     99_nop
 >>     Debian                       0_Debian
 >>     Desktop                      1_Desktop
 >>     Modules                      2_Modules
 >>     Windows                      4_Windows
 >>     Quit                         5_Quit
 >>            [separator space]     6_nop
 >>     About AfterStep              7_About_AfterStep
 >>     XTerminal                    c_xterminal
 >>
 >> For the three custom menu items, i have tried naming them with 
extra
 >> zeros on the front, so their file name would be: 000_rxvt,
 >001_firefox,
 >> 099_nop. But that had no effect; they were sorted the same as 
before i
 >
 >> added the extra zeros.
 >>
 >> In my look file i do have "StartMenuSortMode 1" set, but i didn't 
see
 >
 >> any other settings that appeared to be associated with start menu 
sort
 >
 >> order.
 >>                                                -- Dan
 >>
 >--------------------------------------------------------------------
 >>             "I'm still sane on three planets and two moons."
 >>
 >--------------------------------------------------------------------
 >>       Daniel Ramaley                  3118 Cottage Grove Ave Apt 8
 >>       dramaley at spatulacity dot cx        Des Moines, Iowa 50311
 >>       http://www.spatulacity.cx/                    (515) 271-5233
 >>
 >--------------------------------------------------------------------
 >>        WARNING: REDISTRIBUTION OF THIS MESSAGE MAY BE IN
 >>                 VIOLATION OF APPLICABLE COPYRIGHT LAWS.
 >>                 THIS MESSAGE NOT GUARANTEED Y-TO-K COMPLIANT.
 >>
 >> _______________________________________________
 >> As-users mailing list
 >> As-users@afterstep.org
 >> http://mail.afterstep.org/mailman/listinfo/as-users
 >
 >
                                                -- Dan
   --------------------------------------------------------------------
             "I'm still sane on three planets and two moons."
   --------------------------------------------------------------------
       Daniel Ramaley                  3118 Cottage Grove Ave Apt 8
       dramaley at spatulacity dot cx        Des Moines, Iowa 50311
       http://www.spatulacity.cx/                    (515) 271-5233
   --------------------------------------------------------------------
        WARNING: REDISTRIBUTION OF THIS MESSAGE MAY BE IN
                 VIOLATION OF APPLICABLE COPYRIGHT LAWS.
                 THIS MESSAGE NOT GUARANTEED Y-TO-K COMPLIANT.

_______________________________________________
As-users mailing list
As-users@afterstep.org
http://mail.afterstep.org/mailman/listinfo/as-users