Re: help with gitlab on buster

2020-02-19 Thread Andrei POPESCU
On Ma, 18 feb 20, 12:25:40, john doe wrote:
> 
> Don't forget that the repositories on a server/remote repositories are
> to be 'bare' and 'ending with '.git'.

Using a bare as remote has some advantages in case you don't actually 
need a working tree "there", it is however not a requirement.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: help with gitlab on buster

2020-02-19 Thread john doe
On 2/19/2020 9:03 AM, Andrei POPESCU wrote:
> On Ma, 18 feb 20, 12:25:40, john doe wrote:
>>
>> Don't forget that the repositories on a server/remote repositories are
>> to be 'bare' and 'ending with '.git'.
>
> Using a bare as remote has some advantages in case you don't actually
> need a working tree "there", it is however not a requirement.
>

Or you could clone from that bare repository using the local protocol.

--
John Doe



Re: *nix

2020-02-19 Thread Curt
On 2020-02-19, David Anthony  wrote:
>
> I have been trying to install Debian (and Mint) on an HP Pavilion Desktop.
> The installation goes smoothly until "Grub" begins to install.  At that
> point the entire system freezes.  I have tried the install multiple times
> with the same result each time.  Has anyone else had a similar problem and
> if so what did you do to work around it?  Thanks for any help you can
> provide.
>

Some HP grub-efi-bios-related workarounds in this thread:

https://h30434.www3.hp.com/t5/Desktop-Wireless-and-Networking/Grub-problem/td-p/5949710

-- 
"J'ai pour me guérir du jugement des autres toute la distance qui me sépare de
moi." Antonin Artaud




Re: help with gitlab on buster

2020-02-19 Thread tomas
On Wed, Feb 19, 2020 at 10:03:04AM +0200, Andrei POPESCU wrote:
> On Ma, 18 feb 20, 12:25:40, john doe wrote:
> > 
> > Don't forget that the repositories on a server/remote repositories are
> > to be 'bare' and 'ending with '.git'.
> 
> Using a bare as remote has some advantages in case you don't actually 
> need a working tree "there", it is however not a requirement.

No, but still highly recommended. Pushing to a non-bare repo is...
possible but finicky (a non bare repo has always a "checked out"
branch: now imagine that one isn't clean. What's to happen?

See e.g. [1] for some discussion.

I'd recommend: always use bares as remotes (unless you really know
what you're doing -- or equivalently: unless you're into... learning).

Cheers

[1] 
https://stackoverflow.com/questions/1764380/how-to-push-to-a-non-bare-git-repository

-- t



signature.asc
Description: Digital signature


Re: Looking for an inventory software which is free software and not IT-centric

2020-02-19 Thread Joe
On Wed, 19 Feb 2020 02:59:45 +0100
Linux-Fan  wrote:


> Current alternatives if I do not find anything better:
> 
>  * Try to design some forms with Libreoffice Base.
>I know that I tried that once already and it did not go so well.

Even today, Base is extremely buggy, though at least it connects
reliably and natively to SQL servers now. I broke with it when one day
(in sid) the Report Writer no longer worked at all, and I needed to get
an invoice out urgently. A bit of frantic work with PHP and FPDF solved
that, and I've tidied it up a bit since, and still use it for invoice
printing. I still reluctantly use Base for very simple jobs.

>  * Re-Write my program. Would a database make more sense or
>might it be better to have a single CSV-style table?
> 

Single-table (flat file) databases are very simple, but very limited.
For this application, you will add bells and whistles as time goes by,
and a relational database is pretty much vital. I was once given a job
to do, and MS Works to do it with. I gave up after an hour and started
to learn Access, there was so much that couldn't be done with the
single-table 'database' in Works. MySQL/MariaDB are pretty easy to get
going, after which it is trivial to create and modify databases. There
are things like SQLite, to avoid using a real SQL server, but I've
never seen the need. My little netbook runs MariaDB and Apache2 with
PHP7 quite happily, though I wasn't able to achieve it on my Android
tablet. Not enough memory.

*The* frontend application for this kind of job is still MS Access, but
that will never exist in Linux, and it's generally a bit too complex to
run properly on Wine, uses too many unusual MS libraries. I've done some
database work in the past in Delphi (Delphi 3, it was that long ago),
for which Lazarus is a reasonable substitute, but it's much more work
than Access, especially if you've never used Pascal. Good for form
building, though.

These days I do most database work in PHP and Apache, and though there
are simpler web servers that will run with PHP, there is much more web
documentation for Apache. I still mostly do hand coding. I have had a go
at Laravel (and Cake-PHP in the distant past) and while I can see the
attraction of frameworks for professional web developers, it doesn't
really cut down the work for small single projects.

-- 
Joe



Re: Looking for an inventory software which is free software and not IT-centric

2020-02-19 Thread Dan Purgert
On Feb 19, 2020, elvis wrote:
> 
> On 19/2/20 12:31 pm, Dan Purgert wrote:
>> On Feb 19, 2020, Linux-Fan wrote:
>>> Hello fellow list members,
>>> 
>>> I am looking for a software of which I am sure it exists, but I fail
>>> to find online, thus asking if anybody might know such a thing? Of
>>> course, it is best if it is included on Debian, even better if in
>>> stable :) . If not, it should at least compile+run on it. I am looking
>>> for free software (as per DFSG) that does not depend on registration
>>> or proprietary servers.
>> I'm not entirely sure it'll tick all the boxes you need (in terms of
>> functionality); but what about "partkeepr"?  Details can be found at
>> their site https://partkeepr.org & the (GPL'd) source is at github
>> (https://github.com/partkeepr/PartKeepr).
> 
> Partkeeper looks awesome, almost makes me wish I had some inventory to
> manage.

Come on down the rabbit hole of "Arduino" -- you'll quickly have
"inventory" to manage. :)

I was in Linux-fan's shoes about 6 months back; the tool made things so
much easier to keep track of (now if only I would remember to use it
before going on a shopping spree at Mouser / Digikey!)

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281


signature.asc
Description: PGP signature


Re: Debian GNU/Linux 9 (stretch) was broken after upgraded from stretch-backports.

2020-02-19 Thread didier . gaumet
Le mardi 18 février 2020 14:50:04 UTC+1, Nektarios Katakis a écrit :
> Στις 2020-02-18 12:41, Anastasios Lisgaras έγραψε:
[...]
[...]
> > Thank you for your answer. About "backports firmwares" what should I 
> > do?
> > What do you have to recommend me?
> > ( I didn't know that at all )

cf https://wiki.debian.org/Firmware

I think that the only firmwares installed are those you installed yourself 
manually (if any), no one is automatically pulled by default.
as root:
# aptitude search firmware
would display most of the firmwares (it's a search by names containing 
'firmware' and some firmwares do not contain 'firmware' in their name). The 
status 'ii' means a firmware is installed. 

What I meant previously is that it is preferable to have a firmware (related to 
a hardware) that is coherent with the driver for this hardware included in the 
kernel. So if you have a hardware that needs a firmware and you use a Backports 
kernel, it is probably preferable to install the Backports version of the 
needed firmware. 

> > Finally, a very important question:
> > Can I go back to where I was before the update ( with only stretch
> > source ) ?
> 
> You should definitely be able to do this since the `apt upgrade` command 
> you
> ran ended without any errors (your system is not broken anyhow).
> 
> > I mention this because the official documentation itself (and you)
> > states that you do not recommend what I did.
> > 
> > There is a way to "I pull a rope" and go back to my sturdy/robust port
> > of stretch repositories/resources ?
> 
> Simply revert the changes sources (apt edit-sources) and
> `apt update && apt upgrade`
[...]

I do not think this will do the trick: if I recall correctly, it will end up 
with Backports packages marked something like 'local' or 'obsolete' without 
being downgraded to their Strech version. 

The best solution would probably to do a fresh install.
But if you want to take the chance, here is a trick to downgrade:
 https://wiki.debian.org/SystemDowngrade



Re: Looking for an inventory software which is free software and not IT-centric

2020-02-19 Thread elvis



On 19/2/20 8:24 pm, Dan Purgert wrote:

On Feb 19, 2020, elvis wrote:

On 19/2/20 12:31 pm, Dan Purgert wrote:

On Feb 19, 2020, Linux-Fan wrote:

Hello fellow list members,

I am looking for a software of which I am sure it exists, but I fail
to find online, thus asking if anybody might know such a thing? Of
course, it is best if it is included on Debian, even better if in
stable :) . If not, it should at least compile+run on it. I am looking
for free software (as per DFSG) that does not depend on registration
or proprietary servers.

I'm not entirely sure it'll tick all the boxes you need (in terms of
functionality); but what about "partkeepr"?  Details can be found at
their site https://partkeepr.org & the (GPL'd) source is at github
(https://github.com/partkeepr/PartKeepr).

Partkeeper looks awesome, almost makes me wish I had some inventory to
manage.

Come on down the rabbit hole of "Arduino" -- you'll quickly have
"inventory" to manage. :)

I was in Linux-fan's shoes about 6 months back; the tool made things so
much easier to keep track of (now if only I would remember to use it
before going on a shopping spree at Mouser / Digikey!)


I have started with the pi, picked up a pi zero for 10 bucks! I still 
have trouble believing how powerful it is.







--
Nuclear weapons can wipe out life on Earth, if used properly



Re: Debian GNU/Linux 9 (stretch) was broken after upgraded from stretch-backports.

2020-02-19 Thread Nektarios Katakis

Στις 2020-02-19 10:38, didier.gau...@gmail.com έγραψε:

Le mardi 18 février 2020 14:50:04 UTC+1, Nektarios Katakis a écrit :

Στις 2020-02-18 12:41, Anastasios Lisgaras έγραψε:

[...]
[...]

> Thank you for your answer. About "backports firmwares" what should I
> do?
> What do you have to recommend me?
> ( I didn't know that at all )


cf https://wiki.debian.org/Firmware

I think that the only firmwares installed are those you installed
yourself manually (if any), no one is automatically pulled by default.
as root:
# aptitude search firmware
would display most of the firmwares (it's a search by names containing
'firmware' and some firmwares do not contain 'firmware' in their
name). The status 'ii' means a firmware is installed.

What I meant previously is that it is preferable to have a firmware
(related to a hardware) that is coherent with the driver for this
hardware included in the kernel. So if you have a hardware that needs
a firmware and you use a Backports kernel, it is probably preferable
to install the Backports version of the needed firmware.


> Finally, a very important question:
> Can I go back to where I was before the update ( with only stretch
> source ) ?

You should definitely be able to do this since the `apt upgrade` 
command

you
ran ended without any errors (your system is not broken anyhow).

> I mention this because the official documentation itself (and you)
> states that you do not recommend what I did.
>
> There is a way to "I pull a rope" and go back to my sturdy/robust port
> of stretch repositories/resources ?

Simply revert the changes sources (apt edit-sources) and
`apt update && apt upgrade`

[...]

I do not think this will do the trick: if I recall correctly, it will
end up with Backports packages marked something like 'local' or
'obsolete' without being downgraded to their Strech version.

The best solution would probably to do a fresh install.
But if you want to take the chance, here is a trick to downgrade:
 https://wiki.debian.org/SystemDowngrade


Interesting I thought you could downgrade with the package manager.
from the looks of it you end up with an unstable system. I had removed
repos in the past and the packages were removed automatically but I 
guess

I was lucky!



Re: Looking for an inventory software which is free software and not IT-centric

2020-02-19 Thread Linux-Fan

Linux-Fan writes:


Hello fellow list members,

I am looking for a software of which I am sure it exists, but I fail to find
online, thus asking if anybody might know such a thing? Of course, it is
best if it is included on Debian, even better if in stable :) . If not, it
should at least compile+run on it. I am looking for free software (as per
DFSG) that does not depend on registration or proprietary servers.


[...]


So far, I found that there is a software called `partkeeper` which despite
having a seemingly very complex user interface, goes in the direction of
what I am searching. In my own implementation, I had the buttons coded with
barcodes such that I could alternate my hands between the barcode scanner
and the keyboard, invoking the application's controls by scanning a code on
the screen rather than with the mouse. I have never seen this in other
software, although knowing that it is an "ancient" user interface pattern --
if a software can be made to work in this style, it would also be very
interesting.

## Alternatives

Current alternatives if I do not find anything better:

* Try to design some forms with Libreoffice Base.
  I know that I tried that once already and it did not go so well.
* Re-Write my program. Would a database make more sense or
  might it be better to have a single CSV-style table?


[...]

Thanks for the suggestions, everyone!

So it seems that I should really investigate partkeeper.

In case of a rewrite, a database makes sense and instead of interfacing with
it by Libreoffice Base, it might make sense to use Lazarus/Object Pascal as
a means of having the form-building available in a programming context? I
have used Delphi in the past, but although it was only in 2013, it feels
like ages ago and I was never an "expert" with it :)

Thanks again
Linux-Fan


pgphxsL3w5uDM.pgp
Description: PGP signature


Re: Debian GNU/Linux 9 (stretch) was broken after upgraded from stretch-backports.

2020-02-19 Thread Jonas Smedegaard
Quoting Nektarios Katakis (2020-02-19 12:16:20)
> Interesting I thought you could downgrade with the package manager. 
> from the looks of it you end up with an unstable system. I had removed 
> repos in the past and the packages were removed automatically but I 
> guess I was lucky!

You _can_ downgrade with apt-based package managers, but it is 
unsupported, so indeed when it works you should feel lucky :-)


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Re: Debian GNU/Linux 9 (stretch) was broken after upgraded from stretch-backports.

2020-02-19 Thread mick crane

On 2020-02-18 13:45, Nektarios Katakis wrote:


Upgrading from 9 to 10 should be straight forward.


wasn't there something a bit dramatic about having to migrate the 
postgresql database ?


mick

--
Key ID4BFEBB31



Searching for tutorials on ambiguous Debian commands

2020-02-19 Thread Richard Owlett

I'm looking for a tutorial covering
"cron(3tcl) cron" [.../tcllib/cron.3tcl.en.html]
NOT "CRON(8) System Manager's Manual" [.../cron/cron.8.en.html]

Neither DuckDuckGo nor Google gave acceptable references.
Many were references to cron(8) *NOT* cron(3tcl).

A website of interest updates data hourly.
There is an internal time stamp in the data.
There is a significant, but a to be determined, delay between the 
time-stamp and when the data is available on the web.


I want to do data captures at 1 minute intervals from 10 minutes before 
to 10 minutes after the top of the hour.


Suggestions?
TIA







Re: Debian GNU/Linux 9 (stretch) was broken after upgraded from stretch-backports.

2020-02-19 Thread Greg Wooledge
On Wed, Feb 19, 2020 at 02:38:50AM -0800, didier.gau...@gmail.com wrote:
> cf https://wiki.debian.org/Firmware
> 
> I think that the only firmwares installed are those you installed yourself 
> manually (if any), no one is automatically pulled by default.

It depends on what firmware packages are available at installation
time, which in turn depends greatly on which installation image
you use.

The netinst and DVD images that are linked from the Debian web site
do not include any non-free firmware.  But there are unofficial netinst
images which *do* include the non-free firmware.  If you use one of
those, you're very likely to get some non-free firmware installed
for you automatically, if your computer has any devices which want it.

Almost all new computers do.  Laptops especially.



Re: Debian GNU/Linux 9 (stretch) was broken after upgraded from stretch-backports.

2020-02-19 Thread Greg Wooledge
On Wed, Feb 19, 2020 at 12:11:14PM +, mick crane wrote:
> On 2020-02-18 13:45, Nektarios Katakis wrote:
> 
> > Upgrading from 9 to 10 should be straight forward.
> 
> wasn't there something a bit dramatic about having to migrate the postgresql
> database ?

Not any more so than in every other upgrade.

Look for a section labelled something like "Default clusters and upgrading"
in /usr/share/doc/postgresql-*/README.Debian.gz and follow the
instructions.

Near as I can tell, that same section of that same file has been present
in every version of the Postgresql server packages going back to wheezy
and probably beyond, with the package/cluster versions updated for
each release.



Re: Searching for tutorials on ambiguous Debian commands

2020-02-19 Thread tomas
On Wed, Feb 19, 2020 at 07:24:06AM -0600, Richard Owlett wrote:
> I'm looking for a tutorial covering
> "cron(3tcl) cron" [.../tcllib/cron.3tcl.en.html]
> NOT "CRON(8) System Manager's Manual" [.../cron/cron.8.en.html]

cron(3tcl) is a Tcl library (or module or what it's ever called),
not a command. So it's to be used from a Tcl program. It schedules
actions at given times whithin a running Tcl program and is not
based on its namesake (just inspired on it).

That said, "man 3tcl cron" should lead you to the man page. One
of Tcl's niceties is that its docs are available as man pages).

I don't know whether there is any tutorial on that around (I
don't even know whether Tcl's cron is what you are after --
guessing from your question it's not clear to me).

A quick search of cron in https://wiki.tcl.tk doesn't yield
good hits -- only two describing how to interact with the
system cron, i.e. the "real thing".

> Neither DuckDuckGo nor Google gave acceptable references.
> Many were references to cron(8) *NOT* cron(3tcl).
> 
> A website of interest updates data hourly.
> There is an internal time stamp in the data.
> There is a significant, but a to be determined, delay between the
> time-stamp and when the data is available on the web.
> 
> I want to do data captures at 1 minute intervals from 10 minutes
> before to 10 minutes after the top of the hour.

And you want to control all of that from a constantly
running Tcl process (so some kind of daemon)?

If your answer is "yes", then cron(3tcl) might be for
you (OTOH it's pretty straightforward to schedule timing
things from Tcl without a special library, so perhaps
understanding cron(3tcl) ends up being more complex than
cooking something up around [after]).

If your answer is "no", then that's not the cron for you.

My Tcl is a bit rusty, but if you're still on the "yes"
branch above, you can show us the code you already
tried and we can try to take it from there.

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: Searching for tutorials on ambiguous Debian commands

2020-02-19 Thread John Hasler
Have you looked at   ?
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Searching for tutorials on ambiguous Debian commands

2020-02-19 Thread Greg Wooledge
On Wed, Feb 19, 2020 at 02:49:13PM +0100, to...@tuxteam.de wrote:
> On Wed, Feb 19, 2020 at 07:24:06AM -0600, Richard Owlett wrote:
> > I'm looking for a tutorial covering
> > "cron(3tcl) cron" [.../tcllib/cron.3tcl.en.html]
> > NOT "CRON(8) System Manager's Manual" [.../cron/cron.8.en.html]
> 
> cron(3tcl) is a Tcl library (or module or what it's ever called),
> not a command. So it's to be used from a Tcl program. It schedules
> actions at given times whithin a running Tcl program and is not
> based on its namesake (just inspired on it).

It's a package within Tcllib, apparently.  Not one that I've used
personally, though.

> That said, "man 3tcl cron" should lead you to the man page. One
> of Tcl's niceties is that its docs are available as man pages).

Yeah, that works if tcllib is installed locally.

Upstream documentation is also at


Debian's man page is also at




Re: Searching for tutorials on ambiguous Debian commands

2020-02-19 Thread David Wright
On Wed 19 Feb 2020 at 07:24:06 (-0600), Richard Owlett wrote:
> I'm looking for a tutorial covering
> "cron(3tcl) cron" [.../tcllib/cron.3tcl.en.html]
> NOT "CRON(8) System Manager's Manual" [.../cron/cron.8.en.html]
> 
> Neither DuckDuckGo nor Google gave acceptable references.
> Many were references to cron(8) *NOT* cron(3tcl).
> 
> A website of interest updates data hourly.
> There is an internal time stamp in the data.
> There is a significant, but a to be determined, delay between the
> time-stamp and when the data is available on the web.
> 
> I want to do data captures at 1 minute intervals from 10 minutes
> before to 10 minutes after the top of the hour.
> 
> Suggestions?
> TIA

cron (8) and wget¹, downloading to a directory whose name is
constructed with $(date some-format), so that you can pick over
your downloads at leisure.

¹ some might suggest curl instead. One day I'll settle down, read
their man pages and compare them. Perhaps write a tutorial :)

Cheers,
David.



X11 and hot-plugged keyboards and multiple layouts

2020-02-19 Thread Nicolas George
Hi.

A few weeks back, I asked about standard tools to handle hot-plugged
keyboards with different layouts under X11 without root privileges,
hinting that I know how to do it with non-standard tools or with root
privileges.

Here is a concentrate of what I know about the issue, for Debian testing
as of 2020-02-19.

Most of it is already documented on the web, but not all, and not all in
one place. If you find this interesting, feel free to dump it in a wiki
somewhere. And please let me know if there are inaccuracies.

The default keyboard layout on Debian is configured in
/etc/default/keyboard. This file is created and edited by the package
keyboard-configuration, whose bulk is in the debconf configure script,
not the actual contents.

/etc/default/keyboard can be queried and carelessly overwritten by a
DBus service provided by systemd-localed in the systemd package. It can
be queried by the client localectl or with a generic DBus client:

dbus-send --system --print-reply \
  --dest=org.freedesktop.locale1 /org/freedesktop/locale1 \
  org.freedesktop.DBus.Properties.Get \
  string:org.freedesktop.locale1 string:X11Layout

But X.org does not use this.

The udev rule /lib/udev/rules.d/64-xorg-xkb.rules provided by the
xserver-xorg-core package causes /etc/default/keyboard to be imported
into the environment of udev events detected to be associated with
keyboards. The environment can be overridden by a later rule, something
like:

ACTION=="add|change", \
  SUBSYSTEM=="input", KERNEL=="event[0-9]*", \
  ENV{ID_INPUT_KEY}=="?*", \
  ATTRS{idVendor}=="1997", ATTRS{idProduct}=="2433", \
  ENV{XKBLAYOUT}="fr"

udev stores the final environment in /run/udev/data/c${major}:${minor}.

When a new input device is detected, X.org applies the configuration
files. If nothing is specified, /usr/share/X11/xorg.conf.d/10-evdev.conf
from xserver-xorg-input-evdev tells to use the evdev driver but is soon
overridden by /usr/share/X11/xorg.conf.d/40-libinput.conf from
xserver-xorg-input-libinput that tells to use the libinput driver.

The configuration snippets can define several InputClass sections that
can use match criteria to selectively apply options. See INPUTCLASS in
xorg.conf(5) and the examples of the two files above.

If the configuration does not set the layout, the options from the udev
environment are used. I have not found where this fact is documented, I
suspect it is a very generic mechanism in X.org that can apply to any
options, for example touchpad fancy stuff.

All this allows to set different layouts for hot-plugged keyboards using
either snippets of configuration for the X11 server or udev rules.

All this is more or less explained there:
https://wiki.debian.org/XStrikeForce/InputHotplugGuide

It all requires root privileges. Let's see what we can do without.

Handling the layout of hot-plugged keyboards involves two X11
extensions, XKEYBOARD aka XKB and XInputExtension aka XI2.

Configuring a keyboard layout is done with XKB.

The high-level configuration of XKB involves a few settings: layout,
variant and options, as set in /etc/default/keyboard. They are mapped to
snippets of detailed configuration using the contents of
/usr/share/X11/xkb/rules/. It produce a skeleton description that looks
like:

xkb_keymap {
  xkb_keycodes { include "evdev+aliases(azerty)" };
  xkb_types { include "complete" };
  xkb_compat { include "complete" };
  xkb_geometry { include "pc(pc105)" };
  xkb_symbols { include "pc+fr+compose(menu)+terminate(ctrl_alt_bksp)" };
};

The high-level tool to set the layout is setxkbmap.

The description, either generated by rules or written by hand, is
handled by xkbcomp, a tool to convert a textual description into a
compiled description and back. It can operate with files, with standard
extension .xkb for text and .xkm for compiled, and directly with the
tables in the X11 server, only in compiled form obviously.

The current complete description can be obtained with:

xkbcomp $DISPLAY output.xkb

A description ca be loaded to the keyboard with:

xkbcomp input.xkb $DISPLAY

We can display the complete current layout with:

xkbcomp :0 - | xkbcomp - - | xkbprint - - | display -

Hot-plugged input devices are handled by the XI2 extension. The standard
tool xinput from the package with the same name can be used to control
it.

Keyboards are grouped in a shallow hierarchy, with the "Virtual core
keyboard" as the root and master and the actual keyboards under it. I
know it is possible to have several master pointers, which correspond to
several actual pointers on the screen moving independently. I have not
checked what happens if we try to create a second master keyboard.

The xinput command without arguments print the current hierarchy.

xinput can be used to change options on individual devices. That's how
we set the speed on a specific mouse for example:

xinput set-prop "Logitech USB Optical Mouse" "libinput Accel Speed" -0.4

For keyboard layouts, xinput is not smart enough. We need to use x

Re: Poll about DVD drive behavior

2020-02-19 Thread Linux-Fan

Thomas Schmitt writes:


Hi,

it was one one my first posts to this list when i asked if Debian software
was to blame for automatically pulling in a DVD burner's tray after 200  
seconds.

Model is: HL-DT-ST (LG) GH24NSC0.


[...]


Does the tray stay out for clearly more than 200 seconds ?

If you have a drive which pulls in on its own, please post its producer and
model id. (Obtain by burn program, or lshw, or by its name in /dev/disk/by- 
id.)


Sorry for being a little late to reply, but I seem to have only those  
devices which do not automatically pull in. Devices as reported by  
/dev/disk/by-id listed below. Observations are of course less precise than  
noted, but within 1 minute of the given times :)


┌──┬─┬┬─┐
│Computer  │Device (/dev/disk/by-id) │ Opened │ Not closed  │
│  │ ││automatically│
│  │ ││until│
├──┼─┼┼─┤
│masysma-2 │ata-JLMS_XJ-HD166S   │12:52:02│  13:37:49   │
├──┼─┼┼─┤
│masysma-5 │ata-TSSTcorpCD_DVDW_TS-H652L │12:54:43│  13:40:21   │
├──┼─┼┼─┤
│masysma-7 │ata-HL-DT-STDVD-ROM_GDR8162B │13:37:17│  14:51:00   │
├──┼─┼┼─┤
│masysma-8 │ata-SONY_DVD_RW_DW-Q30A  │13:38:05│  14:51:00   │
├──┼─┼┼─┤
│masysma-13│wwn-0x50014800 aka.  │12:54:31│  13:40:24   │
│  │ata-HL-DT-ST_DVDRAM_GHB0N_401HJ004534││ │
├──┼─┼┼─┤
│pte5  │usb-PHILIPS_SPD6002T_11100E480A0C-0:0│12:48:09│  13:39:08   │
└──┴─┴┴─┘

HTH
Linux-Fan


pgp1udD7Onx51.pgp
Description: PGP signature


Re: Debian GNU/Linux 9 (stretch) was broken after upgraded from stretch-backports.

2020-02-19 Thread Anastasios Lisgaras


On 2/18/20 3:45 PM, Nektarios Katakis wrote:
> If you check the output of `systemctl status graphical.target` you ll see
> it s a systemd target and whether it s activated or not. The related file
> in `/lib/systemd/system/graphical.target` will also point you to related/
> needed services for the graphical target.
>
> You can start from there and check if those targets/services are enabled.
> Also if they failed in your last boot (`systemctl list-units
> --state=failed`).

You can see the output of "systemctl status graphical.target" here:
https://pastebin.com/raw/hSaqVzJA - Is `inactive (dead)`.

* ls -alh /lib/systemd/system/
https://pastebin.com/raw/mLHBS6SP

* cat /lib/systemd/system/graphical.target
https://pastebin.com/raw/p13JuV5C

* systemctl list-units --state=failed
https://pastebin.com/raw/2H3MXBFN


On 2/18/20 3:45 PM, Nektarios Katakis wrote:
> Upgrading from 9 to 10 should be straight forward. In my case I ensured
> that
> my system is up to date with the main repositories, that I had enough
> free space
> and then modified the sources.list to buster repos and did the apt
> dist-upgrade.
> That being said I didnt have any packages installed manually or on hold
> (`apt-mark showhold`).
>
> Check for a very extensive guide here
>https://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html

To be honest I thought exactly the same, but in the end I didn't,
because I saw this very detailed guide and didn't have the time to read
it all, so I thought the steps and process were ultimately much longer
and risky if you don't follow the right steps..
Anyway, it is amazing that you are telling me that from your own
experience, that upgrading process is just so simple! Thank you!

On 2/18/20 3:45 PM, Nektarios Katakis wrote:
> You should definitely be able to do this since the `apt upgrade` command
> you
> ran ended without any errors (your system is not broken anyhow).
>
> [...]
>
> Simply revert the changes sources (apt edit-sources) and
> `apt update && apt upgrade`

Thank you for your answer, but just now I read this :
https://wiki.debian.org/SystemDowngrade
**Downgrade it isn't supported**

So the only suggested way to go now is to go ahead?



On 2/19/20 12:38 PM, didier.gau...@gmail.com wrote:
> cf https://wiki.debian.org/Firmware
>
> I think that the only firmwares installed are those you installed
> yourself manually (if any), no one is automatically pulled by default.
> as root:
> # aptitude search firmware
> would display most of the firmwares (it's a search by names containing
> 'firmware' and some firmwares do not contain 'firmware' in their
> name). The status 'ii' means a firmware is installed.
>
> What I meant previously is that it is preferable to have a firmware
> (related to a hardware) that is coherent with the driver for this
> hardware included in the kernel. So if you have a hardware that
> needs a firmware and you use a Backports kernel, it is probably
> preferable to install the Backports version of the needed firmware.


Of course you are right, but so far I have not (remembered) ever
installed any particular firware on my desktop.
(But it might be - but I didn't know). How do I see if my hardware needs
a particular firmware to work properly?


* 337 packages are installed from the backports :
apt list --installed : https://termbin.com/axej

* About the firmware because I don't know how to check it ( but on the
desktop especially i don't think i have something extra installed )
apt search firmware : https://pastebin.com/raw/KAQkvSGH
apt list --installed | grep firmware : https://pastebin.com/raw/4cxjRy6t

[]

On 2/19/20 12:38 PM, didier.gau...@gmail.com wrote:
> The best solution would probably to do a fresh install.

Really ; Is there any sure way to get away from it and so that I have a
proper system installed?
So, now the only way is to format my desktop and install the Debian
GNU/Linux from the beginning??? 0.0 :(


On 2/19/20 3:41 PM, Greg Wooledge wrote:
> It depends on what firmware packages are available at installation
> time, which in turn depends greatly on which installation image
> you use.
>
> The netinst and DVD images that are linked from the Debian web site
> do not include any non-free firmware.  But there are unofficial netinst
> images which *do* include the non-free firmware.  If you use one of
> those, you're very likely to get some non-free firmware installed
> for you automatically, if your computer has any devices which want it.
>
> Almost all new computers do.  Laptops especially.

Understood. I didn't know that. I only use the official installation
guides/installers.
Not only new laptops are needed closed firmware, but also my old laptop
(the one I'm writing to you now) - a *HP Pavilio dv5 - 1145ev* -
after the initial installation of the Debian GNU/Linux I need to install
a closed (firmware) driver to "see" the wireless network card.


Thank you for you,
-- 
Kind regards,
Tasos




Re: Poll about DVD drive behavior

2020-02-19 Thread Thomas Schmitt
Hi,

Linux-Fan wrote:
> Sorry for being a little late to reply,

The poll is still open, especially for a nice load like this:

Reporter  Drive  Since  MediaPulls
--
...
Linux-Fan JLMS XJ-HD166S 2004   DVD-ROMno
Linux-Fan TSSTcorp TS-H652L  2006   DVDno
Linux-Fan HL-DT-ST GDR8162B  2005   DVD-ROMno
Linux-Fan SONY DW-Q30A   2006   DVDno
Linux-Fan HL-DT-ST GHB0N 2014   DVDno
Linux-Fan PHILIPS SPD6002T   2008   DVDno

(Despite the rumor that optical media are dead, some drives seem to live
 forever ...)

Meanwhile collected info:

1 CD drive, 4 DVD-ROM, 16 DVD, 1 BD-ROM, 1 BD-combo, 7 BD.

4 DVD pull in after 200 seconds, 1 DVD-ROM after 90 seconds.
(1 such DVD drive was reported on LinuxQuestions: hp DH16ABLH.)


Have a nice day :)

Thomas



Re: Poll about DVD drive behavior

2020-02-19 Thread Miguel A. Vallejo
DVD A DH16AASH, the tray has been open now for more than an hour.

Hope this helps.



[no subject]

2020-02-19 Thread Rickard B Hansson
I use apt-mirror, to mirror repository locally.
Unfortunately, the software is a little buggy, not properly maintained,
lacks active packet manager.

It happens that local repository becomes inconsistent. For example, I often
get html pages in response to communication problems.

In postmirror.sh I have added a function to list all html pages:
grep -irl -e ">
/data/apt-mirror/var/cron.log

I copy from the log and makes a cleanup script.

It takes a long time and requires manual work.
I think a script based on "file" would go much faster, both moving html
files to / data / apt-mirror / error and listing the moves in the log. But
I do not know how to write it.

I have looked at alternatives to apt-mirror, for example aptly. I  didgot
the hang of of that program.
Eventually, I can open a new thread about that.

// regards rbh
Rickard B Hansson


Re: Re: Thunderbird no longer opens links

2020-02-19 Thread Boas Kirui
what do I do now,should I re-enable the virtual syscall?


Re: [Subject is missing]

2020-02-19 Thread Charles Curley
On Wed, 19 Feb 2020 23:29:37 +0100
Rickard B Hansson  wrote:

> I have looked at alternatives to apt-mirror, for example aptly. I
> didgot the hang of of that program.

You might also look at apt-cacher and apt-cacher-ng. I have used the
latter for years.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/