Re: [DNG] window manager question

2022-05-18 Thread Ralph Ronnquist
On Thu, May 19, 2022 at 11:33:16AM +1000, Ralph Ronnquist wrote:
> On Wed, May 18, 2022 at 06:17:44PM -0700, Fred wrote:
> > On 5/18/22 17:46, Ralph Ronnquist wrote:
> > > On Wed, May 18, 2022 at 02:47:25PM -0700, Fred wrote:
> > > > Hello,
> > > > 
> > > > I normally use openbox for window manager but I would like to try fvwm. 
> > > > Can
> > > > this be done without disrupting openbox and how to do it?
> > > 
> > > Run X on a free virtual terminal, then you'll start fvwm and, say,
> > > xterm on that:
> > > 
> > > E.g.:
> > > $ sudo /usr/lib/xorg/Xorg -nolisten tcp -auth $HOME/fvwm-trial.auth :2 
> > > vt09
> > > $ DISPLAY=:2
> > > $ fvwm&
> > > $ xterm&
> > > 
> > > That will start an X server on vt9 with display identity :2, with fvwm
> > > and an xterm. Shift to it with C-A-F9 and shift back with C-A-F7.
> > > 
> > > Ralph.
> > > ___
> > > Dng mailing list
> > > Dng@lists.dyne.org
> > > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> > Hi Ralph,
> > 
> > I assume that when I install fvwm first it won't automagically replace
> > openbox?
> 
> I donät think so. I installed fvwm on my xfce without hiccup. Though I
> havenät tried rebooting yet.
> 
> > Your sudo command line and following commands are executed in an openbox
> > xterm which starts fvwm in the "void" and the C-A-F9 switches out of openbox
> > and into fvwm?
> 
> Yes, all fine.
> 
> > 
> > When I am done evaluating fvwm I can stop it by kill -9 whatever-its-PID is?
> > Or is there a proper way?
> 
> Yes. Will need sudo of course, since Xorg is owned by root.

See e.g.

https://www.x.org/archive/X11R6.8.1/doc/Xserver.1.html#sect11

Ralph.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] window manager question

2022-05-18 Thread Ralph Ronnquist
On Wed, May 18, 2022 at 06:17:44PM -0700, Fred wrote:
> On 5/18/22 17:46, Ralph Ronnquist wrote:
> > On Wed, May 18, 2022 at 02:47:25PM -0700, Fred wrote:
> > > Hello,
> > > 
> > > I normally use openbox for window manager but I would like to try fvwm. 
> > > Can
> > > this be done without disrupting openbox and how to do it?
> > 
> > Run X on a free virtual terminal, then you'll start fvwm and, say,
> > xterm on that:
> > 
> > E.g.:
> > $ sudo /usr/lib/xorg/Xorg -nolisten tcp -auth $HOME/fvwm-trial.auth :2 vt09
> > $ DISPLAY=:2
> > $ fvwm&
> > $ xterm&
> > 
> > That will start an X server on vt9 with display identity :2, with fvwm
> > and an xterm. Shift to it with C-A-F9 and shift back with C-A-F7.
> > 
> > Ralph.
> > ___
> > Dng mailing list
> > Dng@lists.dyne.org
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> Hi Ralph,
> 
> I assume that when I install fvwm first it won't automagically replace
> openbox?

I donät think so. I installed fvwm on my xfce without hiccup. Though I
havenät tried rebooting yet.

> Your sudo command line and following commands are executed in an openbox
> xterm which starts fvwm in the "void" and the C-A-F9 switches out of openbox
> and into fvwm?

Yes, all fine.

> 
> When I am done evaluating fvwm I can stop it by kill -9 whatever-its-PID is?
> Or is there a proper way?

Yes. Will need sudo of course, since Xorg is owned by root.

regards,

Ralph.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] window manager question

2022-05-18 Thread Fred

On 5/18/22 17:46, Ralph Ronnquist wrote:

On Wed, May 18, 2022 at 02:47:25PM -0700, Fred wrote:

Hello,

I normally use openbox for window manager but I would like to try fvwm. Can
this be done without disrupting openbox and how to do it?


Run X on a free virtual terminal, then you'll start fvwm and, say,
xterm on that:

E.g.:
  
$ sudo /usr/lib/xorg/Xorg -nolisten tcp -auth $HOME/fvwm-trial.auth :2 vt09

$ DISPLAY=:2
$ fvwm&
$ xterm&

That will start an X server on vt9 with display identity :2, with fvwm
and an xterm. Shift to it with C-A-F9 and shift back with C-A-F7.

Ralph.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Hi Ralph,

I assume that when I install fvwm first it won't automagically replace 
openbox?


Your sudo command line and following commands are executed in an openbox 
xterm which starts fvwm in the "void" and the C-A-F9 switches out of 
openbox and into fvwm?


When I am done evaluating fvwm I can stop it by kill -9 whatever-its-PID 
is?  Or is there a proper way?


Best regards,
Fred


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] window manager question

2022-05-18 Thread Ralph Ronnquist
On Thu, May 19, 2022 at 10:46:31AM +1000, Ralph Ronnquist wrote:
> On Wed, May 18, 2022 at 02:47:25PM -0700, Fred wrote:
> > Hello,
> > 
> > I normally use openbox for window manager but I would like to try fvwm. Can
> > this be done without disrupting openbox and how to do it?
> 
> Run X on a free virtual terminal, then you'll start fvwm and, say,
> xterm on that:
> 
> E.g.:
>  
> $ sudo /usr/lib/xorg/Xorg -nolisten tcp -auth $HOME/fvwm-trial.auth :2 vt09
> $ DISPLAY=:2
> $ fvwm&
> $ xterm&
> 
> That will start an X server on vt9 with display identity :2, with fvwm
> and an xterm. Shift to it with C-A-F9 and shift back with C-A-F7.
> 

I lost the ">& $HOME/fvwm.log &" bit at the end of the first line.

Ralph.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] window manager question

2022-05-18 Thread Ralph Ronnquist
On Wed, May 18, 2022 at 02:47:25PM -0700, Fred wrote:
> Hello,
> 
> I normally use openbox for window manager but I would like to try fvwm. Can
> this be done without disrupting openbox and how to do it?

Run X on a free virtual terminal, then you'll start fvwm and, say,
xterm on that:

E.g.:
 
$ sudo /usr/lib/xorg/Xorg -nolisten tcp -auth $HOME/fvwm-trial.auth :2 vt09
$ DISPLAY=:2
$ fvwm&
$ xterm&

That will start an X server on vt9 with display identity :2, with fvwm
and an xterm. Shift to it with C-A-F9 and shift back with C-A-F7.

Ralph.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] window manager question

2022-05-18 Thread Fred

Hello,

I normally use openbox for window manager but I would like to try fvwm. 
Can this be done without disrupting openbox and how to do it?


best regards,
Fred
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] assistance sought to repair install - - re:python

2022-05-18 Thread Bob Proulx via Dng
Antony Stone wrote:
> o1bigtenor wrote:
> > I was trying to clean up my /usr/bin directory so was discarding older
> > versions of software.
>
> You should never manually delete binaries or library files which have been
> installed by a package management system.  If you want to get rid of them use
> something like "aptitude purge python3.9" so that:

Agreed.  If it is in /usr/bin:/bin then leave it to the package
management tools.  /usr/local/bin is available for local admin hacking
if that is desired.

> > Had python3.10 available so thought (foolishly - - now clear) that
> > python3.9 was a great candidate for discard.
> > Nope nix and no way.
> >
> > Now I have myself more than a bit of a mess with my installed python
> > systems.
> >
> > Suggestions as to how to repair my 'mess'?
>
> Have you tried simply "aptitude install python3.9" or possibly "aptitude
> reinstall python3.9" etc (for each of the versions of python which you seem to
> be having problems with)?

I would "install --reinstall" the list of things that were manually
removed.  That should install the /usr/bin components again.  For
example here is one command.

apt-get install --reinstall python3.9 python3.9-minimal

I am pretty sure that would work.  But for python2.7 I think the
better option might be to purge it from the package manager database.
Because python2 has been deprecated and has been removed from later
releases and is no longer available.  Therefore when you try a
reinstall it will likely fail due to not being available.  But go
ahead and see if it works.

apt-get install --reinstall python2.7 python2.7-minimal

But if that fails as I expect then I would try to purge it.

apt-get purge python2.7-minimal

Be careful with that purge action!  Look carefully at any dependencies
it is going to purge along with it.  If it is purging things you don't
want purged then say No and don't do it.

In the case that a manual remove of the binary created a problem then
a manual restoration of the binary would fix the problem.  Either
restore the /usr/bin/python2.7 from backup or copy it from another
system.  Since it is the same across all of the Devuan systems of the
same release and version level it means that if you don't have a local
backup that you could copy it from another system.  Maybe from a local
friend's system?  That would restore what was removed and things would
return to normal operation.

> > (Following is what the apt update upgrade process barfs up.
> > Errors were encountered while processing:
> >  python2.7-minimal
> >  python3.9-minimal
> >  python3.9
> >  python2.7
> >  python3.9-dev

For each of those you could look to see if they are available using
apt-cache to query it for information about installed and available
versions.

apt-cache policy python2.7-minimal
apt-cache policy python3.9-minimal
... and so on ...

Good luck!
Bob


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng