How do i apply changes in afterstep?

How do i apply changes in afterstep?

Post by Linux-Whi » Sat, 13 Feb 1999 04:00:00



Hello

Recently I asked about how to modify the prog/app menu in afterstep....
with the info i got from you guys, and that which i discovered on my
own, I have been able to add/modify the menu without problem....... the
way I've been dooing this is changing the directory structure..
(/root/GNUstep/Library/AfterStep/start)   I found that if i add a file,
or change a directory, directly affects the app menu accordinly.. which
is what i want. To see the changes, I "Restart the Session"..... and it
works!  But as soon as I totally quit out of Afterstep, and then reload
it, the directory structure is back to the way it was, and so is my app
menu.. hehe, all that work with the scripts gone down the tube.. I
thought it was just something that I did wrong the 1st time, but it
happened a second and third.

SO!  My question is, how do I save the existing setup?????

Oh!  One last thing... To connect/disconnect to the internet, i've been
using the command "ifup/ifdown -ppp1"  i can only do this when logged in
as ROOT, and not as a user... (unless i activate SU root)...... any
other way of connecting to the internet???

Thanks so much for all the help guys!!

Rick

 
 
 

How do i apply changes in afterstep?

Post by DonJ » Wed, 17 Feb 1999 04:00:00



> Hello

> Recently I asked about how to modify the prog/app menu in afterstep....
> with the info i got from you guys, and that which i discovered on my
> own, I have been able to add/modify the menu without problem....... the
> way I've been dooing this is changing the directory structure..
> (/root/GNUstep/Library/AfterStep/start)   I found that if i add a file,
> or change a directory, directly affects the app menu accordinly.. which
> is what i want. To see the changes, I "Restart the Session"..... and it
> works!  But as soon as I totally quit out of Afterstep, and then reload
> it, the directory structure is back to the way it was, and so is my app
> menu.. hehe, all that work with the scripts gone down the tube.. I
> thought it was just something that I did wrong the 1st time, but it
> happened a second and third.

> SO!  My question is, how do I save the existing setup?????

> Oh!  One last thing... To connect/disconnect to the internet, i've been
> using the command "ifup/ifdown -ppp1"  i can only do this when logged in
> as ROOT, and not as a user... (unless i activate SU root)...... any
> other way of connecting to the internet???

> Thanks so much for all the help guys!!

> Rick

Can't help with the first question I don't use AfterStep.
  It was to hard to configure and to inflexable and SLOW to boot.

For the "ifup/ifdown ppp1" question
  Go to /etc/sysconfig/network-scripts/  directory and:
   chmod 644 ifcfg-ppp1
    { thats rw-r--r--  Note it should be root.root as far as owner.group

Quote:}

  And make sure the line:
    USERCTL=yes
  exists. If it says 'no' then change it to 'yes'
  This last part is what allows regular users to control a given
net-device.

--
 -----------------------
  Don E. Groves, Jr.
  my Email is jetnick AT erols DOT com

  I'll add a witty saying here later.

----------------

 
 
 

How do i apply changes in afterstep?

Post by Jeremia » Wed, 17 Feb 1999 04:00:00



> Recently I asked about how to modify the prog/app menu in afterstep....
> with the info i got from you guys, and that which i discovered on my
> own, I have been able to add/modify the menu without problem....... the
> way I've been dooing this is changing the directory structure..
> (/root/GNUstep/Library/AfterStep/start)   I found that if i add a file,
> or change a directory, directly affects the app menu accordinly.. which
> is what i want. To see the changes, I "Restart the Session"..... and it
> works!  But as soon as I totally quit out of Afterstep, and then reload
> it, the directory structure is back to the way it was, and so is my app
> menu.. hehe, all that work with the scripts gone down the tube.. I
> thought it was just something that I did wrong the 1st time, but it
> happened a second and third.

> SO!  My question is, how do I save the existing setup?????

        From your problem, I assume you're using RedHat... if not,
you can disregard the rest of this message...

        Anyway, RH uses wmconfig to handle windows, so that you can
change window managers and still have the same menus.  Also, many
applications will (supposedly) automatically create menu entries for
themselves...  so it's a nice feature to have.
        However, it doesn't cooperate very well with AfterStep.  
You have a couple options:

1) Get a hacked version of wmconfig (available from www.afterstep.org)
   to make it work with AS better.

2) Avoid using wmconfig at all...  create a file called .Xclients,
   containing only the following line:

exec /usr/local/bin/afterstep >~/.AfterStep-errors 2>&1

   (and maybe a few other things, I have "xset s off" and "xscreensaver &"
    in mine)   This will stop wmconfig from being used.  Then your changes
    to ~/GNUstep/Library/AfterStep/start should remain...

3) If you're willing to make global changes, make changes to /etc/X11/wmconfig.
   The format should be the same as ~/GNUstep/Library/AfterStep/start.  This makes
   global changes, so that all users are affected.

4) You can make some changes by having a directory called ~/.wmconfig.  Again,
   this will have the same format.  However, I was only able to add things to
   my start menu this way, not delete them.  

Also, check linux.redhat.digest, for a recent thread about this very topic...
they go into much greater detail than I just did.

Brian

--
email to bmeloon at netscape dot net.  evilquaker is a spam collector.

 
 
 

How do i apply changes in afterstep?

Post by James Kimbl » Tue, 23 Feb 1999 04:00:00


Couldn't find the orignal message here so I'll respond under this response.

I was having the same problems with AfterStep (RH 5.1) blowing away all my
menu configurations each time I exited X and restarted again. The fix lies
in
the /etc/X11/xinit/Xclients script. This is the script that looks at your
config
and starts your window manager. The problem is, if you don't have this
script
in your home dir it uses the one in /etc/X11/xinit which is intended to
take
care of everyone. There is an error in the script (at least I think it's an
error)
that recreates the ~/GNUstep dir everytime you startx, whether it already
exists or not. I solved this by altering the script so that it will only
create the
~/GNUstep dir if it doesn't already exist. Works great now! I was
frustrated
out of my mind looking for the problem. Even made posts here but no one
has had this problem. Hope this helps,

James Kimble





> > Hello

> > Recently I asked about how to modify the prog/app menu in afterstep....
> > with the info i got from you guys, and that which i discovered on my
> > own, I have been able to add/modify the menu without problem....... the
> > way I've been dooing this is changing the directory structure..
> > (/root/GNUstep/Library/AfterStep/start)   I found that if i add a file,
> > or change a directory, directly affects the app menu accordinly.. which
> > is what i want. To see the changes, I "Restart the Session"..... and it
> > works!  But as soon as I totally quit out of Afterstep, and then reload
> > it, the directory structure is back to the way it was, and so is my app
> > menu.. hehe, all that work with the scripts gone down the tube.. I
> > thought it was just something that I did wrong the 1st time, but it
> > happened a second and third.

> > SO!  My question is, how do I save the existing setup?????

> > Oh!  One last thing... To connect/disconnect to the internet, i've been
> > using the command "ifup/ifdown -ppp1"  i can only do this when logged
in
> > as ROOT, and not as a user... (unless i activate SU root)...... any
> > other way of connecting to the internet???

> > Thanks so much for all the help guys!!

> > Rick

> Can't help with the first question I don't use AfterStep.
>   It was to hard to configure and to inflexable and SLOW to boot.

> For the "ifup/ifdown ppp1" question
>   Go to /etc/sysconfig/network-scripts/  directory and:
>    chmod 644 ifcfg-ppp1
>     { thats rw-r--r--  Note it should be root.root as far as owner.group
> }
>   And make sure the line:
>     USERCTL=yes
>   exists. If it says 'no' then change it to 'yes'
>   This last part is what allows regular users to control a given
> net-device.

> --
>  -----------------------
>   Don E. Groves, Jr.
>   my Email is jetnick AT erols DOT com

>   I'll add a witty saying here later.

> ----------------

 
 
 

1. Year 2000 patch: to apply or not to apply?

I have two servers, one with Openserver 5.0.2 and the other with Openserver 5.0.4. I just downloaded the Year 2000 Supplement OSS601a. Do you think it's better to apply it  now or to wait until January 1, 2000 to see if I need it or not? Are there some risk related to the process of applying this patch?

Thank you and sorry for the silly question.
Best Wishes, Cristian

--
Cristian Veronesi - CRPA SpA - Reggio Emilia, Italy

Whatever it is, I'm against it (Groucho Marx)

2. reading a single character variable

3. Apply changes to pf.conf file without rebooting

4. Who is binded to an NIS server?

5. Applying boot.c changes (Q)

6. GCC 2.95.2 problems on RedHat 6.2 -- help anyone ?

7. How do i apply these changes??

8. TEST---DO NOT READ

9. Version change after applying patch to kernel src

10. Need help applying a change to all lines in a file

11. apply changes to DNS without interruption

12. Problem getting PMagic 5.0 to apply changes to partition

13. changes made in first profile is not applied