Re: Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
Jonas Smedegaard (12019-11-25):
> udev is the standard - it is an infrastructure where you can then hook 
> tools onto.

Unicode is the standard, but not the standard about what I am asking.
Speaking about Unicode here is irrelevant.

Same goes for udev.

> Somewhere you need root access - to install whatever tool you want to 
> expose to your users of the system.

No, I do not need root access, I can install the tool in my home
directory. Anyway, I would be ok with using root privileges to install
the tool, but not to use the tool to configure the device; I hope you
can grasp the difference.

> None of those _tools_ are "standard" in Debian, but if you care less 
> about that part of your question and more about the user interface part, 
> then I suggest taking a look at Debian packages esekeyd and 
> triggerhappy.

triggerhappy: "Unlike other hotkey daemons, it runs as a persistent,
systemwide service"

esekeyd: "It is a userspace program that pools /dev/input/event?
interfaces"

Not what I am asking at all.

Regards,

-- 
  Nicolas George



signature.asc
Description: PGP signature


Re: Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
David Wright (12019-11-25):
> My problem is knowing what to put in the script to make a keyboard
> layout apply only to a specific keyboard. I connect two keyboards;
> one is an old IBM M with British layout (PS/2), the other is a
> Logitech K520 with US layout (wireless).
> 
> Currently the machine boots in GB mode with the PS/2, and I have
> kbdgb and kbdus functions to switch back and forth when I use
> either keyboard. (For just the odd character I use memory of the
> easier transpositions (like @"), or the composition key.)
> 
> How do you make layout scripts so specific?

Is it for the console or for X11?

For the console I do not know. For X11, use this:

xkbcomp -i $id mapping.xkb

where $id is found with the xinput command.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
Henning Follmann (12019-11-25):
> > I want a solution for simple users, without root permissions to edit
> > xorg.conf.

> That's what udev is for

Thanks, but no, not at all: I specifically requested a solution for
simple users, while udev requires root privileges to write in /etc/udev.
Furthermore, udev scripts will not be able to connect to the X11 server,
except with fragile hacks.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
Hi.

What is the standard for a user to automatically configure hotplugged
input devices under X11, to set the keyboard layout, repeat speed,
pointer acceleration, etc.?

I know how to do it manually using xinput and xkbcomp.

I would like a generic solution, whatever desktop environment may
propose its own solution, I do not use it.

I want a solution for simple users, without root permissions to edit
xorg.conf.

If there is no standard solution, would you like one? I have a small
program that can serve as the basis for one, I can publish it if that
would be useful.

Extra question:

Is there a standard way to bind a key on a specific keyboard? Basically
an XInput-aware version of xbindkeys?

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re : [testing] problème détection frappe clavier

2019-11-25 Thread nicolas . patrois
Le 25/11/2019 11:31:51, Luc Novales a écrit :

> Je profite de ce fil pour savoir si vous avez retrouvé l’apostrophe 
> typographique sur le nouvelle disposition ISO AZERTY.

> Sur l’ancien /“Français variante obsolète”/, il était en
> /“AtlGr+Maj+b”/ 

Depuis que j’ai bidouillé mon .Xmodmap, il est en AltGr-Maj-'.
AltGr-Maj-b donne le guillemet droit.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : [testing] problème détection frappe clavier

2019-11-21 Thread nicolas . patrois
Le 22/11/2019 01:01:27, Gaëtan Perrier a écrit :

> Bonjour,

> Depuis quelques temps j'ai des problèmes de détection de frappes de
> certaines touches, notamment les touches accentuées ou utilisant SHIFT ou ALT
> GR.
> Je ne sais pas comment vérifier si c'est un problème du clavier
> lui-même ou si c'est ma debian qui est en cause.
> Déjà une piste serait de savoir si je suis le seul à rencontrer ce
> problème ou non?

Chez moi, quand je tape « bonjour » alors que l’ordinateur rame, je vois 
parfois « bnojruo ».
Je me demande si je n’ai pas le même problème de détection des touches, j’y 
ferai attention.
Je pense que c’est depuis qu’IBus est installé.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: Little problem with rights on a script

2019-11-17 Thread Nicolas George
Gene Heskett (12019-11-17):
> i have a similar situation with heyu, which runs as a normal user. But 
> udev insists all the ttyUSB# ports are root:root, so I've put a couple 
> lines in my rc.local for the last decade or so to make me own

You could have read the doc for udev instead of wasting your time on a
fragile solution.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Little problem with rights on a script

2019-11-17 Thread Nicolas George
Hans (12019-11-17):
> The script settings are >  rwsr-xr-- root:dip
> and as far as I know, it should start with the rights of root.

Linux does not honor SUID bits for scripts, because it is very tricky to
implement without security issue and most interpreters do not make the
effort.

You need another way of increasing privileges. Possibly nothing at all,
since the privileges of the group may be enough.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re : Méthode pour passer debian de 32 à 64 bits

2019-11-03 Thread nicolas . patrois
Le 03/11/2019 23:58:55, ajh-valmer a écrit :

> Quelle est la méthode la plus simple pour
> passer ma Debian Jessie 32 bits vers 64 bits ?
> (ou trouver un bon howto ?)

Tu as déjà posé la question le 27/06/2019 à 11:18:20. ;-)
La question m’intéresse toujours mais je n’ai pas eu le temps de m’y pencher.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: [OT] Email signature double dash delimiters (Was: KISS gpg)

2019-10-31 Thread Nicolas George
Cindy Sue Causey (12019-10-31):
> Maybe it's only certain ones?

Or maybe the correct answer has already been given twice in this very
discussion:

https://lists.debian.org/debian-user/2019/10/msg01140.html
https://lists.debian.org/debian-user/2019/10/msg01152.html

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
deloptes (12019-10-31):
> Not sure - cause if you close gpg and agent etc. and set the GNUPGHOME and
> start again all the work will be done in the new GNUPGHOME. The sockets
> will be created when you start gpg.
> 
> What is the problem with it? How do you expect the programs to exchange
> information?

The problem is to run instances of gpg simultaneously: one to access the
key without any risk of modifying it, one to do the work.

Programs that make it hard to run several independent instances without
a very very good user-visible reason are badly designed.

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Reply-default etiquette (was Re: KISS gpg)

2019-10-31 Thread Nicolas George
Gene Heskett (12019-10-31):
> And this is something that the kmail of yore, now forked to TDE, makes 
> simple. If you sort incoming mail to list yy in its own folder, then it 
> is sufficient to name that list in the folder definitions.  I've been 
> doing that for so long I'd consider any email agent that does not do 
> that, broken.

I consider a mailing-list that requires to do that or anything broken.

Do it if you want. It should not be necessary.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Reply-default etiquette (was Re: KISS gpg)

2019-10-31 Thread Nicolas George
Andrew McGlashan (12019-11-01):
> Do you also have "ignore list-post:" in your muttrc ?

Of course not. What a strange question: the ignore directive is for
display, not for controlling the recipients.

In case you confused it with ignore_list_reply_to, look at the comment
on its side: "Press L for list replies": unacceptable, press the same
key for ALL replies.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
The Wanderer (12019-10-31):
> ...can you clarify what you mean by this term? The definition of
> "exigent" which I know of ("in need of immediate, urgent response, such
> that there is not time to delay", roughly speaking), and the one I find
> in gcide, doesn't seem to fit this context at all; "exigence" is
> obviously derived from "exigent", so I'm no better off there.
> 
> (I do understand what you probably mean by the overall statement, of
> course, but linguistics is one of my interests and this has caught my
> attention.)

I think the reply I just sent to your other mail covers that.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
deloptes (12019-10-31):
> again the homedir option is for the agent and not for gpg - and you should
> setup your environment properly

Again, without perfect control and feedback, this is not acceptable.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Reply-default etiquette (was Re: KISS gpg)

2019-10-31 Thread Nicolas George
The Wanderer (12019-10-31):
> IMO, the correct behavior should indeed be the same for lists as for
> private mail: reply to the source from which you received the message.

... and everybody who got it too.

For example, if I reply to:

# From: Colleague
# To: Me
# Cc: Boss

it should be:

# From: Me
# To: Colleague
# Cc: Boss

> I am subscribed to dozens of mailing lists, and have been active on most
> or all of them at various points in time. To get reply behavior to be
> correct on all of them, I would need to set Reply-To to a different
> value for each one.

You do not need that because most mailing-list software does it for you:
if you are subscribed to the mailing-list and there is no reply-to
address in your mail, it sets it to the list.

Debian is amongst the few mailing-lists that do not do that. This comes
from the influence of the dogmatic people who wrote the infamous
“"Reply-To" Munging Considered Harmful” document and designed a
suboptimal solution instead.

> I know of no way to get a mail client to automatically set Reply-To
> differently depending on what message is being replied to

Possible with Mutt:

send-hook . "unmy_hdr Reply-To:"
send-hook ~cdebian-u...@lists.debian.org my_hdr "Reply-To: 
debian-user@lists.debian.org"

> It should not be the responsibility of every sender to contrive some
> configuration to automatically set Reply-To (or other non-default)
> headers correctly for every different mailing list.

I agree with that. Unfortunately, the Debian mailing-list makes it
necessary.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
Andrew McGlashan (12019-11-01):
> No, if you have the file S.gpg-agent in the alternate --homedir with the
> right settings that point somewhere else for the socket, you can check
> it's existence before and after invoking with --homedir

Maybe. This is too uncertain and hackish, I do not want to trust it
with my private key.

> I'm not manually adding any reply-to header, no-one else has a problem
> with "List-Post:" header  

I will not discuss this further if your solution requires a different
command for lists and individuals. Maybe no-one else has this level of
exigence.

I am very exigent about the optimality of the software solution I use, I
confess to that.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
Andrew McGlashan (12019-11-01):
> Emails of the list have a header
> 
>   List-Post: <mailto:debian-user@lists.debian.org>
> 
> There should be no need for an extra reply-to header.

Already replied to this: a solution whose UI treats lists and individual
mails differently is optimal.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
Andrew McGlashan (12019-11-01):
> reply-list works perfectly this end

reply-list requires paying attention to whether it is a list or a
private e-mail. That would be acceptable, but since there is a solution
that does not require that extra attention, an inferior solution should
not be chosen.

> https://askubuntu.com/questions/777900/how-to-configure-gnupgs-s-gpg-agent-socket-location#860346

Requires changing files in the home directory, which makes it complex to
have several instances simultaneously, and will not confirm what socket
is used. Too fragile and uncertain.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
Andrew McGlashan (12019-11-01):
> btw doesn't "reply list" work for you?  I get all list messages okay.

If you do not want to be on copy, use the standard reply-to header to
specify it, just like me. Senders should not be expected to do something
special for normal answers, correct behaviour should be the default for
lists as well as private mail; with reply-to correctly configured it is.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
Andrew McGlashan (12019-11-01):
> Okay, well if something is constantly using gpg, then it will restart
> as you use it by gpg.  I would stop it and see that it is stopped,
> then try with --homedir  it may restart the agent, but it /might/
> be for the new --homedir area.

I know all that. Please assume that I spent a significant amount of time
researching the question by myself before trying on this mailing-list on
the off-change that somebody might understand the question and know an
answer.

I have been trying to explain that I consider "it might" is unacceptable
for handling something as precious as a private key.

At the very least, to trust gpg with its agent, I would require options
to explicitly set the path of the agent's socket and to print the path
of the socket that was used.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
Andrew McGlashan (12019-11-01):
> So, perhaps the agent is restarted by systemd -- perhaps you can
> disable it using systemctl commands to stop it restarting ...  then
> the agent might be better in /your/ control?

No, the agent is not restarted by systemd, it is restarted by gpg
itself.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
The Wanderer (12019-10-31):
> FWIW, I don't see that pattern in my local copy of the message you're
> replying to; on my end, the line begins with '--homedir', sans quotes.

Yet, is it there:

https://lists.debian.org/debian-user/2019/10/msg01136.html

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
Greg Wooledge (12019-10-31):
> Huh.  There's that "dash space dash dash" pattern again, from a completely
> different person this time.
> 
> Is the mailing list software mangling people's posts (lines that begin
> with dash dash get an extra dash space prepended), or is there some
> common mail user agent in the wild that's doing this?

# ~ $ echo 'Hello\n-- dash dash --\nworld' | gpg --clearsign 
# gpg: using "CA4DC60C" as default secret key for signing
# -BEGIN PGP SIGNED MESSAGE-
# Hash: SHA512
# 
# Hello
# - -- dash dash --
# world
# gpg: signing failed: Operation cancelled

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
Andrew McGlashan (12019-11-01):
> If I understand correctly, the agent is getting in your way.
> 
> Killing the agent /might/ be your answer:

Unfortunately no: using the agent is mandatory since 2.1: if I kill the
agent, it comes back.

> I think your private key has a pass phrase, but the agent is providing
> the answer without you needing to and that gives you the impression
> that it isn't protected.

No, in the particular issue I am having right now, the key has no pass
phrase, and I want to add one while exporting without ever touching the
original file.

> If it isn't gpg's agent that is getting in your way, it might be the
> gnome keyring daemon instead.

dpkg-query: no path found matching pattern /usr/bin/gnome-keyring-daemon

> If you kill all agents to stop them interfering, then use the
> - --homedir option of gpg with a copy of your files, I think you will
> have what you need.

That would have worked with gpg < 2.1. With >= 2.1, it will ignore the
homedir option and connect to an agent. Or re-start an agent, with or
without the homedir option. I do not know what gpg does exactly, it does
not tell me. For handling something as precious as a private key, this
is unacceptable.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
Erwan David (12019-10-31):
> Replace gpg by openpgp client without agent in the question, do you
> understand ?  Because gpg agent is linked to a session and you mlay
> want to use oipenpgp encryption outside any session (eg for backups)

This is exactly what I am looking for, thanks. Can you point me to the
package?

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
deloptes (12019-10-31):
> You can close the topic!

I can stop replying to you. But I can also hope that somebody will have
a relevant answer.

Sorry to not have been awed by gratefulness at your irrelevant answer.

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
deloptes (12019-10-31):
> There is a reason for the agent. If you want gpg without an agent use
> another product.

Which is exactly the question I asked. Again: if you do not understand
the question and cannot give a relevant answer…

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-31 Thread Nicolas George
Stefan Monnier (12019-10-31):
> Not sure how the above relates to the following question, so maybe
> I misunderstand something.

If I can control exactly where GPG finds its files, I can copy the key
into a new directory and work from here, doing exactly what I want
without endangering the original.

> I'm not very knowledgeable in GPG, but AFAICT it only offers commands to
> export public keys, not private/secret keys.

   --export-secret-keys
   --export-secret-subkeys
  Same as --export, but exports the secret keys instead.  The  ex‐
  ported  keys are written to STDOUT or to the file given with op‐
  tion --output.

But if the key is unprotected in the keyring, then it is exported as
unprotected. I want to keep it unprotected in the keyring but export it
protected.

Also, if anybody is about to suggest to add a pass phrase in the
keyring, export, then remove the pass phrase, do not: I already thought
of this solution, but changing the original is an unacceptable risk.

>   So I think you're stuck
> with copying by hand the actual file that holds the private key
> (somewhere in ~/.gnupg) if you want to "export" it.  Once you've done
> that, you can put it in "another-dir" with a similar structure and then
> use
> 
> gpg --homedir ../another-dir --change-passphrase
> 
> to change its passphrase.

That would be the idea. And for that, I need a KISS gpg, because current
gpg does not honor the homedir setting for private keys, because it uses
the agent instead. This is exactly the problem.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: firefox pasting using xclip replaces line ends with spaces

2019-10-30 Thread Nicolas George
songbird (12019-10-30):
>   pasting into a terminal may work just fine.  open up a blog
> post or something on a website and it may or may not work.

This is exactly what I did, and it worked. Your analysis of the problem
is not correct.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: KISS gpg

2019-10-30 Thread Nicolas George
deloptes (12019-10-30):
> the agent was always there - better do a proper setup and btw. what does it
> have to do with your files

> ???

If you do not understand the question, you can let somebody else answer.
That saves your time and mine.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: firefox pasting using xclip replaces line ends with spaces

2019-10-30 Thread Nicolas George
songbird (12019-10-30):
> pastes this when i try to use it:
> aconite alfalfa alliums (blue, purple) asters (purple, white) astibile (red) 
> babies breath bachelor buttons baptisia beans (...a lot...) bearded irises 
> (dark purple, purple, lavender,...

You neglected to say why you consider this bad, I will assume that your
original list was separated by newlines.

For me, the test works, I get the paste with newlines, not spaces.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: firefox pasting using xclip replaces line ends with spaces

2019-10-30 Thread Nicolas George
songbird (12019-10-30):
> # did not work
> $ xclip -selection clip-board -i list-alpha 

It did work. It just used the selection called "clip-board" instead of
"clipboard".

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


KISS gpg

2019-10-30 Thread Nicolas George
Hi.

Is there somewhere in Debian a KISS version of GnuPG or something
compatible?

The current default version of GnuPG, since 2015, necessarily uses a
client-server agent to access the private keys. While it is convenient
and secure for everyday use, but for some tasks, the efforts it makes to
protect my files from myself prevent me from doing the tasks I want.

As a short-term solution, does anyone know how to add a pass phrase to a
private key while exporting it, without changing it on the storage?

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: (solved) Re: Missing a "9" (possible font missing)

2019-10-22 Thread Nicolas George
Beco (12019-10-22):
> > > solved the mystery.

> But as I'm just a user in this case, it is solved in my end.

No it is not: as long as you do not know what caused it, you cannot
pretend to have solved the *mystery*. At most, you may have solved the
*problem*, but most likely it will be back in similar circumstances.

> I'll send an email to the webmaster to let them know about the problem.
> Though I have no hopes, and no intention to follow up.

I am pretty certain the problem is not on their side.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re : Qui écrit dans /etc/apt/apt.conf ?

2019-10-22 Thread nicolas . patrois
Le 22/10/2019 13:22:13, Belaïd a écrit :
> Bonjour,

> Si je comprends bien tu veux savoir quel Utilisateur modifie ce
> fichier à ton insu ?

Quand j’écris « Qui ? », je veux surtout savoir quel script, je suis seul sur 
ma machine.
Je pense que c’est fait à chaque redémarrage, sans certitude.

> Sinon le cas échéant tu peux utiliser tes commandes unset dans ton
> fichier .bashrc , ça t'évitera déjà de le faire a la main

Fait, merci.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: (solved) Re: Missing a "9" (possible font missing)

2019-10-22 Thread Nicolas George
Beco (12019-10-21):
> Installing:
> 
> # apt-get install ttf-mscorefonts-installer
> 
> solved the mystery.

No, it hid it.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Qui écrit dans /etc/apt/apt.conf ?

2019-10-19 Thread nicolas . patrois
Bonjour,

J’ai un problème de proxy avec apt. En fait, je n’en veux pas mais quelqu’un 
tient absolument à ce que j’en ai un (bidon en plus).
Dans /etc/apt/conf, j’ai ça :
#Acquire::http::Proxy "http://;;
#Acquire::ftp::Proxy "http://;;

De temps en temps, quelqu’un rajoute ces deux mêmes lignes à la suite mais sans 
les # de commentaires.
Ce qui fait que j’ai ça :
# set |grep proxy
ftp_proxy=http://
http_proxy=http://
https_proxy=http://

Et je suis obligé d’utiliser unset à la main sur ces trois variables.
Est-ce que quelqu’un pourrait me dire qui est le lourd et où chercher ?

Merci.
nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Bidouiller la carte du clavier avec ibus

2019-10-09 Thread nicolas . patrois
Le 09/10/2019 10:28:29, Haricophile a écrit :

> Et tu ne peux pas désinstaller ibus ? C'est probablement un paquet
> recommandé et pas obligatoire. Sinon im-config devrait te permettre de régler 
> ça
> en désactivant ibus (c'est très bien ces choses quand on en a l'usage, 
> sinon
> c'est du bloatware).

Bof, il fait le taf, il me permet de taper à la volée des caractères qui ne 
sont pas bidouillés sur mon clavier et n’a rien écrasé.
Je me demande s’il est compatible avec xmodmap et sinon, comment le bidouiller.
Sa page sur github n’est pas très explicite.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Bidouiller la carte du clavier avec ibus

2019-10-08 Thread nicolas . patrois
Bonjour,

Ibus est apparu subitement dans la barre d’outils de XFCE. Pourquoi pas, il ne 
me dérange pas et n’a pas changé ma carte bidouillée amoureusement avec xmodmap.
xmodmap a perdu quelques réglages il y a longtemps (sur le pavé numérique, pas 
grave) et ibus a commencé triomphalement en déconnant complètement (par 
exemple, la touche espace envoyait une tabulation, AltGr ne fonctionnait plus…) 
et jouer avec xmodmap aggravait le problème.
Bref, tout est revenu à la normale après un redémarrage de session (sauf le 
pavé numérique).
Je me demandais donc comment bidouiller la carte du clavier pour mon usage 
personnel comme je le faisais avec xmodmap. Je sais qu’on peut copier 
fr-azerty.mim dans le répertoire ~/.m17n.d mais le fichier de configuration 
n’explique pas comment obtenir des caractères spéciaux à partir d’une touche ou 
d’une combinaison donnée du clavier.
Peut-être que xmodmap est compatible avec ibus mais vu mon expérience du 
mélange quand tout déconnait, je ne retente pas sans vos avis.

Et pour finir, j’ai compris comment obtenir un caractère à partir de son numéro 
(Crtl-WinG-u 22a5 donne ⊥ comme AltGr-t) mais pas les sourilaids avec 
Ctrl-WinG-e. Je viens de trouver ici https://www.mankier.com/7/ibus-emoji et là 
https://askubuntu.com/questions/1083913/what-does-ctrl-shift-e-do-while-typing-text
 (j’ai changé les raccourcis). Ctrl-WinG-e puis espace affiche la fenêtre de 
choix des catégories et là on peut choisir, par exemple une pieuvre  dans la 
catégorie Animaux & nature. On remonte avec Échap et on choisit avec Entrée.

Ça ne règle pas mon problème du bidouillage. 

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : [testing] ecran noir apres mise a jour

2019-10-05 Thread nicolas . patrois
Le 05/10/2019 13:46:59, Gaëtan PERRIER a écrit :

> Rectification, je n'arrive même plus sur gdm et pas moyen de chopper
> une console avec CTRL+ALT+Fx ... :(

Essaie d'accéder à ta machine via ssh.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: OT: Reason to buy a Raspberry Pi ;-) (was Re: shell wrappers for trig and other mathematical functions)

2019-10-02 Thread Nicolas George
rhkra...@gmail.com (12019-10-02):
> Anyway, my thinking on this topic is that I wouldn't mind having a program 
> dedicated to the uses the OP brought up (I keep a session of bc - l open in a 
> terminal for quick calculations).

I personally have shift-meta-letter keyboards shortcuts to start xterms
at pre-selected locations. One of them, c, gives me a 40×8 xterm on the
upper-right corner of the screen with a calculator. It is very
convenient for my use style.

It used to be bc -lq. But quite some time ago I upgraded to gp -q. It
does rational functions, which is quite enough for quick access to my
tastes.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: shell wrappers for trig and other mathematical functions

2019-10-02 Thread Nicolas George
David Wright (12019-10-02):
> > alias cp='cp -i'
> > alias rm='rm -i'
> Ouch, a couple of great recipes for losing information.
> Far better to train your fingers to spell cp and rm with five characters.

Avoid assuming that everybody's mental process work the same as yours.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: shell wrappers for trig and other mathematical functions

2019-10-02 Thread Nicolas George
to...@tuxteam.de (12019-10-02):
> [1] try "echo $((0.6 + 1.3))" in your bash to see what I mean :)

People live happier when their "bash" is actually a zsh:

~ $ echo $((0.6 + 1.3))
1.8999
~ $ zmodload zsh/mathfunc
~ $ echo $[exp(1)+exp(-1)]
3.0861612696304874

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Perl displayed as text, Not HTML

2019-09-30 Thread Nicolas George
Dan Ritter (12019-09-30):
> Anyway: you need a perl module to run perl CGI:
> libapache2-mod-perl2

This is not true at all.

To run a CGI, the web server does not need anything specific. CGI are
external programs following a specific convention (environment variables
and output). Running a CGI written in perl requires a perl interpreter,
which I doubt you can avoid on Debian anyway.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Debian Installer, Manual Partitioning is a Joke

2019-09-29 Thread Nicolas DOBIGEON

Your mail is a joke,
I think debian partitionning tool is the best i tried.
It's your taste but don't tell it's a joke.

Le 29/09/2019 à 16:56, Wayne Sallee a écrit :
Debian really needs to work on the manual partitioning part of the 
installation.


It's absolutely pathetic.

Wayne Sallee
wa...@waynesallee.com
http://www.WayneSallee.com




Re : Re : Re : [HS] Richard stallman chez microsoft !

2019-09-10 Thread nicolas . patrois
Le 09/09/2019 23:33:53, Basile Starynkevitch a écrit :

> Pas du tout d'accord. C'est tout le problème de l'économie (libérale
> ou non) en tant que discipline scientifique: modéliser quantitativement
> le comportement économique des humains.

Il n’est pas que quantitatif, très loin de là et c’est bien le problème de 
l’économie libérale qui se croit la seule scientifique sous prétexte que tout y 
est quantifié. L’astrologie aussi quantifie tout.
Par ailleurs, tu fais une autre erreur épistémologique, typique du moment où 
l’économie mathématique a été inventée (le XIXe siècle) : croire que tout vient 
d’un seul modèle. Même en sciences physiques, il existe plein de modèles, 
chacun a son utilité, certains sont inutilisables parce que trop complexes dans 
des cas simples. On n’arrive même pas à faire coller les modèles macroscopiques 
avec les modèles microscopiques.

> L'hypothèse de l'Homo Economicus 
> <https://fr.wikipedia.org/wiki/Homo_%C5%93conomicus> n'est *pas* celle
> des économistes /libéraux/. C'est (ou en tout cas a été) l'hypothèse 
> raisonnable de tout économiste (libéral ou non). Et cette même
> hypothèse a été faite par Karl Marx dans son /Capital/ (que, je te rappelles,
> j'ai lu contraint et forcé en 1977; j'ai très largement oublié la plupart
> du texte, mais pas les hypothèses faites; à l'époque déjà je prétendais 
> avoir un esprit scientifique).

Erreur encore une fois : le modèle de l’homme économique n’est pas une 
hypothèse raisonnable de tout économiste, elle est une hypothèse tout court de 
certaines traditions économiques.
L’économie n’est pas que mathématique. Elle est à la croisée de tout un tas de 
disciplines, dont les mathématiques mais pas seulement : la géographie, 
l’histoire, l’anthropologie, la sociologie, la psychologie… J’ai l’impression 
que pour se prétendre scientifique, certains économistes l’aient oublié.
Par exemple, dans quelle autre science humaine as-tu une telle prétention de 
matheux purs qui écrasent les autres ? Vois-tu en géographie des matheux purs 
prétendre que leur seule approche est scientifique ?

> Mais, chers amis libristes et économistes, "il n'y a qu'a" faire le 
> modèle numérique.

Sauf qu’il n’y a jamais UN modèle mais plusieurs.
Le dogmatique ici, ce n’est pas moi.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Re : [HS] Richard stallman chez microsoft !

2019-09-09 Thread nicolas . patrois
Le 09/09/2019 21:19:12, Basile Starynkevitch a écrit :

>> Tirole est surtout connu pour ses prises de positions bien
>> libérales, bien dans l’air du temps. Réputé ? Sûrement pas

> Elle connaît bien (professionnellement) et 
> personnellement Tirole (qui a écouté avec attention et intelligence
> des séminaires en économie qu'elle faisait) et trouve ses analyses 
> macro-économiques pertinentes, et elle les comprend bien.

Le problème, c’est que l’économie est très loin d’être réductible à ces seuls 
paquets de nombres, c’est tout le problème des économistes libéraux.

> J'attends des pourfendeurs de Tirole ici qu'ils citent leurs 
> publications -avec peer review 
> <https://fr.wikipedia.org/wiki/%C3%89valuation_par_les_pairs>, comme 
> c'est l'usage dans le monde académique et cet usage là a inspiré le 
> logiciel libre, dans des journaux universitaires d'économie. Je n'ai 
> jusqu'à présent vu aucune citation (de préférence au format BibTeX,
> car je la reprendrais telle quelle).

Je sais ce qu’est une revue à évaluation par les pairs. L’ennui, c’est que 
l’économie n’est pas une science dure, elle est (comme tu l’écris juste en 
dessous), soumise aux idées politiques de droite comme de gauche comme 
d’ailleurs (fascistes, staliniens, anarchistes, décroissancistes…) Les choix de 
modélisations des uns comme des autres en dépendent.
Je sais aussi que même dans une revue à évaluation par les pairs, on a des 
phénomènes de cliques, dans les sciences dures comme dans les sciences humaines 
(dont fait partie l’économie). Dans les sciences dures, les erreurs manifestes 
finissent par se heurter au réel. Dans les sciences humaines, des erreurs 
peuvent perdurer des années (pense à la psychanalyse ou au relativisme 
cognitif). L’économie n’y échappe pas et les luttes entre économistes « de 
droite » et « de gauche » sont violentes. Il y a la même chose en pédagogie. 
Sauf que dans les disciplines de sciences humaines, le réel est bien complexe à 
modéliser et on tombe vite dans des modèles simplistes qui ne modélisent que 
des cas jamais rencontrés (même de loin) dans la vie réelle (comme la théorie 
des jeux appliquée à l’économie) et les théories ne reflètent in fine que les 
idées politiques de ceux qui les construisent. Comme on dit en anglais, garbage 
in, garbage out.
Les revues à évaluations par les pairs ne sont pas la panacée, même en sciences 
dures (lis par exemple la revue de l’AFIS), alors en sciences humaines… je me 
souviens encore du canular de Sokal et Bricmont.
D’ailleurs, les économistes de la même veine que Tirole proposent des solutions 
politiques qui font les mêmes dégâts depuis des dizaines d’années et dans plein 
de pays différents ; et ces gens proposent de poursuivre dans la même voie. Ils 
n’ont pas encore compris que ça ne marche pas, même de leur point de vue ?

> Ok, Tirole est un économiste "de droite". Et alors? (Cette 
> classification a-t-elle un sens /objectif/?) J'entends aussi dire
> qu'il n'a pas eu son "Prix pas Nobel mais presque" par corruption ou de 
> manière malhonnête, mais *à la sueur de son front*. Il a son égo 
> (parait-il raisonnable), moi le mien. Et moi aussi, je revendique
> avoir eu mon titre de Docteur honnêtement et à la sueur de mon front.

Et alors ?
Ça transpire dans ses positions d’économistes, tout comme dans les théories des 
économistes « de gauche ».
Note que Germaine Hanselman est docteresse elle aussi, pas moi.
Je ne suis pas en train de dire qu’un doctorat n’a aucune valeur et que les 
thésards ne font rien, je suis juste entrain de refuser un argument d’autorité.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : [HS] Richard stallman chez microsoft !

2019-09-09 Thread nicolas . patrois
Le 09/09/2019 17:30:56, Basile Starynkevitch a écrit :

> PS2. En dépit de ce que j'ai lu sur certaines listes publiques 
> francophones en rapport avec le logiciel libre, Tirole n'est pas un 
> fumier, mais un économiste réputé (Prix Nobel).

Il n’y a PAS de prix Nobel d’économie, il y a un prix de la banque de Suède en 
l’honneur d’Alfred Nobel.
Tirole est surtout connu pour ses prises de positions bien libérales, bien dans 
l’air du temps. Réputé ? Sûrement pas par… David Graeber qui n’est pas 
économiste mais anthropologue. Il démolit les thèses économiques libérales dans 
son livre sur la Dette (Dette 5000 ans d’histoire) tout en disant qu’il n’a 
(sur ce point) rien inventé : ça fait cent ans que les anthropologues savent 
que les économistes libéraux racontent n’importe quoi.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Blocages lors de "grosses" copies..

2019-09-05 Thread nicolas . patrois
Le 05/09/2019 12:35:13, David BERCOT a écrit :

> Depuis quelque temps, j'ai un problème bizarre sur mon poste Debian.  
> Pour info, je suis en SID avec Gnome et noyau 5.2.0-2-amd64.  

> Donc, si je télécharge des fichiers de taille importante depuis
> Internet (documents, vidéos, etc.), pas de souci.

> En revanche, chez moi, quand je veux copier un "gros" fichier (ceci
> commence à quelques centaines de Mo jusqu'à plusieurs Go) sur mon NAS, j'ai
> l'impression que l'interface réseau se fige et fige tout le reste !

J’ai un peu le même problème chez moi sur un matériel vieillissant (il a neuf 
ans).
Si je lance une copie d’ISO sur une clé USB (coucou l’autre fil), mon système 
rame et est presque inutilisable tant que ce n’est pas fini, que j’ai tué par 
un moyen (*kill) ou par un autre (ssh) le processus qui fait ramer ou renice 
qui a marché aussi.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Re : Debian sur clé USB

2019-08-31 Thread nicolas . patrois
Le 29/08/2019 15:37:50, Erwann Le Bras a écrit :

> j'ai une Debian sur clé USB, en vrai un disque dur amovible USB3.
> Marche aussi sur USB2.

> J'ai fait une installation classique (comme pour un vrai disque) sur
> une partition cryptée. Faut être sûr de sélectionner le bon disque pour 
> l'installation, et à la fin choisir d'installer Grub sur le disque 
> plutôt que dans le boot de la machine.

Tu as utilisé debian-installer-launcher ? Calamares ?

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Erreur - Configuration d'APT - Debian 6

2019-08-29 Thread nicolas . patrois
Le 29/08/2019 10:41:13, Maximilien Molet a écrit :

> Bonjour, lorsque j'ai voulu installer Debian 6, voici le message

Tu n’as pas plus récent ?

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Re : Re : Debian sur clé USB

2019-08-28 Thread nicolas . patrois
Le 27/08/2019 16:39:31, hamster a écrit :

> Une partition contient le système en lecture seule tel qu'il a été
> installé (y compris home) et n'est jamais modifiée. Quand on utilise
> la clef comme ca, les changements par rapport a ce qui a été installé
> sont stockés dans un système de fichiers en mémoire vive, raison pour
> laquelle tous les changements sont perdus après redémarrage.

J’utilise ces pages-là, qui ne me semblent pas très à jour mais ça avance :
https://debian-facile.org/doc:install:deblive-usb-persistant
http://papy-tux.legtux.org/doc1158/index.php
J’ai créé une image avec lb (live-build) mais toute nue (en fait, ça 
m’arrangerait presque) et je peux démarrer dessus.
Il y a cependant un truc bizarre avec les partitions puisque je n’arrive pas à 
créer de partition live-rw une fois l’image copiée avec dd ou avec Disques 
(gnome-disks).
cfdisk /dev/sdd répond qu’il n’y a pas de table de partitions, gparted affiche 
une partition et Disques en affiche trois :
une en iso9660 qui a la bonne taille,
une petite en FAT et
une vide que je ne peux pas modifier avec Disques.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Re : Debian sur clé USB

2019-08-27 Thread nicolas . patrois
Le 27/08/2019 15:07:49, hamster a écrit :
> Le 27/08/2019 à 16:48, nicolas.patr...@gmail.com a écrit :

>> J’ai trouvé le fil mais je ne suis pas sûr que le système lui-même
>> soit modifiable, c’est-à-dire que la mise à jour ou l’installation de
>> paquets soient elles aussi persistantes.

> Si si.

L’étiquette live-rw fait donc tout, pas seulement office de /home ?
Quand j’ai créé la clé avec gnome-disks, lui voit deux partitions plus un 
espace libre, gparted ne voit qu’une image en iso9660, cfdisk ne voit rien du 
tout.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Debian sur clé USB

2019-08-27 Thread nicolas . patrois
Le 27/08/2019 14:12:03, hamster a écrit :

> Cette question a déjà été posée sur cette même liste le 02/08/2019 à
> 18:45. Il y a eu 4 réponses qui expliquent la marche a suivre. Plutôt
> que de répéter, je te laisse aller lire ces messages.

J’ai trouvé le fil mais je ne suis pas sûr que le système lui-même soit 
modifiable, c’est-à-dire que la mise à jour ou l’installation de paquets soient 
elles aussi persistantes.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Debian sur clé USB

2019-08-27 Thread nicolas . patrois
Le 27/08/2019 14:12:03, hamster a écrit :

> Cette question a déjà été posée sur cette même liste le 02/08/2019 à
> 18:45. Il y a eu 4 réponses qui expliquent la marche a suivre. Plutôt
> que de répéter, je te laisse aller lire ces messages.

Je n’ai pas eu internet pendant un mois dont ce jour-là donc je n’ai pas vu 
passer ce fil.
Merci quand même du tuyau.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Debian sur clé USB

2019-08-27 Thread nicolas . patrois
Le 27/08/2019 13:21:07, Daniel Huhardeaux a écrit :

> Lorsqu'elle est montée, elle est bien en rw ?

> Ex mount:
> /dev/sdXN on / type  
> (rw,relatime,discard,errors=remount-ro,data=ordered)

Non et j’ai une partition /dev/sdc1 vide selon cfdisk, montée en iso9660 selon 
mount sur /run/live/medium et sur /usr/lib/live/mount/medium.
La clé contient une deuxième partition /dev/sdc2 en FAT32 mais elle n’est pas 
montée.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Debian sur clé USB

2019-08-27 Thread nicolas . patrois
Bonjour,

J’ai installé Debian sur une clé USB pour un EEEPC 900 (la clé est sur la prise 
USB de gauche).
Je n’ai pas trouvé comment la rendre persistante, c’est-à-dire comment 
conserver ce que je fais.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Helpful attitude (was: Server hardware advice.)

2019-08-08 Thread Nicolas George
deloptes (12019-08-08):
> Well strictly speaking two different things are referred as server:


I have observed that contributors on this mailing-list have a tendency
to fall in two categories:

- those who try to understand what the original poster says in order to
  reply in the most helpful manner ;

- those who try to understand what the original poster says in order to
  find imprecisions and then forcefully educate them.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: A followup on github discussion

2019-07-26 Thread Nicolas George
Reco (12019-07-26):
> Today it was brought to my attention that GitHub has restricted access
> to users who live in countries that have US sanctions applied - [1].

You mean that GitHub respects the laws of the country where it operates?
How shocking!

Regards,

-- 
  Nicolas George



Re: Problème récurrent avec les clés USB

2019-07-25 Thread Nicolas FRANCOIS
Le Thu, 25 Jul 2019 15:26:56 +0200,
Stephane Ascoet  a écrit :

> Le 25/07/2019 à 15:09, Nicolas FRANCOIS a écrit :
> > La plupart du temps, cela concerne surtout les clés VFAT (ou NTFS,
> > je sais pas vraiment la différence), mais parfois, il y a aussi des
> > ennuis avec les clés Ext4.  
> 
> Bonjour, ce sont des systemes de fichiers qui n'ont pas grand chose a 
> voir. Regarde sur Wikipedia.

Ouais, je sais, mais c'était pour dire que c'est pas un problème de
système de fichier, mais plutôt de gestion de disques amovibles.
 
> Il faudrait que tu vires cette merde de gnome-vfs, que tu desactives
> les montages automatiques en graphique et que tu reviennes a la bonne 
> vieille methode du mount en ligne de commande.

Je veux bien, mais ça veut dire que je dois avoir une ligne
dans /etc/fstab pour chaque clé que j'utilise (j'en ai une bonne
dizaine...). Et que je sache exactement ce que je dois virer comme
paquets.

Après ça, ça m'arrange plutôt de pouvoir monter mes clés
automatiquement. Le problème, c'est que j'aimerais bien savoir OÙ je
dois faire la configuration. Or là, je ne sais pas, et ça a l'air
d'être fait à plein d'endroits différents. C'est plutôt un processus de
diagnostic que je recherche.

Merci pour la piste gnome-vfs, quand même :-) Ça m'a viré quelques
autres trucs, dont je ne savais pas pour la plupart qu'ils étaient
installés. Seul problème : BlueFish. Mais je peux m'en passer.

\bye

-- 

Nicolas FRANCOIS  |  /\ 
http://nicolas.francois.free.fr   | |__|
  X--/\\
We are the Micro$oft.   _\_V
Resistance is futile.   
You will be assimilated. darthvader penguin


pgp5OeJ7NyYqd.pgp
Description: Signature digitale OpenPGP


Problème récurrent avec les clés USB

2019-07-25 Thread Nicolas FRANCOIS
Salut.

Depuis quelques temps (disons moins d'un an), j'ai parfois des soucis
avec mes clés USB : celles-ci sont montés en "Read-only", avec souvent
un propriétaire root, et je n'arrive à rien faire avec.

La plupart du temps, cela concerne surtout les clés VFAT (ou NTFS, je
sais pas vraiment la différence), mais parfois, il y a aussi des ennuis
avec les clés Ext4.

Parfois, je sais que cela vient d'une clé étant passée parun poste
Windows de mon bahut, mais parfois, cela se produit sans interaction
avec ces machines du diable.

Bref, je suis un peu perdu. En général, quand cela se produit (et ça se
produit sur mes DEUX ordinateurs, le fixe et le portable), je n'ai rien
de mieux à faire que de rebooter la machine. J'ai l'impression que le
système USB est déglingué, et je ne sais pas comment le réparer sans
rebooter.

Un problème récurrent actuellement : Thunar (je suis sous XFCE4) a un
comportement erratique, soit il ne se lance pas, soit il se lance, mais
il monte toutes les clés en RO, soit il freeze lorsque je mui demande
de démonter une clé.

J'ai installé pcmanfs, qui a l'air de faire les choses proprement (il y
a d'ailleurs eu installation d'un paquet gnome-gvfs avec...), sauf
qu'il crashe lorsque je lui demande de démonter une clé (APRÈS l'avoir
démontée, merci à lui).

Ce que je soupçonne : comme j'ai fait des mises à jour successives (je
pense que la Buster actuelle vient au mieux d'une Stretch, au pire de
la version d'avant...), il se peut que plusieurs systèmes interfèrent
dans la gestion de l'USB. Je voudrais bien diagnostiquer tout cela,
mais je suis un peu perdu.

Quelqu'un a une fiche méthode pour diagnostiquer la gestion de l'USB,
et du montage des clés USB ? Je lui en serais TRÈS reconnaissant :-)

D'avance merci.

\bye

-- 

Nicolas FRANCOIS  |  /\ 
http://nicolas.francois.free.fr   | |__|
  X--/\\
We are the Micro$oft.   _\_V
Resistance is futile.   
You will be assimilated. darthvader penguin


pgp3IYzEHYJOB.pgp
Description: Signature digitale OpenPGP


Re: Configuration réseau

2019-07-23 Thread Nicolas FRANCOIS
Le Tue, 23 Jul 2019 05:02:07 -0700 (PDT),
didier.gau...@gmail.com a écrit :

> la doc de référence pour le réseau est là:
>  https://www.debian.org/doc/manuals/debian-reference/ch05.fr.html
> plus particulièrement je pense dans ton cas:
>  
> https://www.debian.org/doc/manuals/debian-reference/ch05.fr.html#_the_modern_network_configuration_without_gui
> 
> il y a aussi une page du wiki:
>  https://wiki.debian.org/SystemdNetworkd
> 
> et même si je ne pense pas que ça ait un impact pour toi vu que la
> syntaxe iptables peut continuer à être utilisée, nftables a remplacé
> iptables:
> https://www.debian.org/releases/buster/amd64/release-notes/ch-whats-new.fr.html#nftables
> 

Merci Didier. Je vais regarder tout ça.

\bye

-- 

Nicolas FRANCOIS  |  /\ 
http://nicolas.francois.free.fr   | |__|
  X--/\\
We are the Micro$oft.   _\_V
Resistance is futile.   
You will be assimilated. darthvader penguin


pgpEmsRJrJLT1.pgp
Description: Signature digitale OpenPGP


Configuration réseau

2019-07-23 Thread Nicolas FRANCOIS
Salut.

Je viens de passer de Stretch à Buster, sans "trop" de problèmes
(quelques soucis liés aux backports, mais tout est rentré dans
l'ordre).

Un seul soucis : j'ai un VPN configuré (HideMyAss), qui fonctionne
parfaitement, sauf que :
1) avec Stretch, je pouvais ajouter des routes pour les serveurs smtpet
   pop de mon provider et quelques autres serveurs qui ne devaient pas
   passer par le VPN,
2) maintenant, le fait d'ajouter les serveurs smtp et pop de Bouygues
   (je suis aussi passé à la fibre) dans /etc/hosts ne permet pas de
   passer par mon routeur/firewall IpFire.

En creusant un peu, je me suis rendu compte d'une chose : il semblerait
que le passage de Stretch à Buster ait changé le système de
configuration du réseau : sous Buster, c'est maintenant Systemd qui
s'occupe de tout. D'ailleurs, j'ai constaté que
dans /etc/systemd/network, il y a un fichier 10-static-enp3s0.network
dans lequel les routes que j'avais configurées pour mon ancien provider
sont inscrites. Elles correspondent d'ailleurs à ce que ip route show
me renvoie. par contre, les routes supplémentaires configurées
dans /etc/hosts ne semblent pas prises en compte.

Il semblerait donc que ça soit systemd qui gère mon réseau. Ça ne me
dérange pas, sauf :
1) j'aurais bien aimé être prévenu,
2) je voudrais bien voir quelque chose à ce sujet dans la doc réseau de
   Debian Buster, qui parle toujours de l'ancien
   système /etc/network/interface... et uniqueent de celle-ci,
3) pour voir la nouvelle doc, il faut insister et penser à préciser
   "systemd" dans son moteur de recherche favori,
4) il faut se taper toute la nouvelle doc pour retrouver ses petits (je
   n'ai pas encore trouvé où se situait la définition statique de ma
   carte réseau, par exemple).

D'où ma question : comment savoir exactement quel système est utilisé ?
Si c'est systemd, comment être sûr que les "anciens" système ne
viennent pas foutre le bazar ? Où trouver une doc pour débutant sur la
config réseau par systemd ?

D'avance merci, déjà pour m'avoir lu jusqu'ici, ensuite pour toute aide
utile :-)

\bye

-- 

Nicolas FRANCOIS  |  /\ 
http://nicolas.francois.free.fr   | |__|
  X--/\\
We are the Micro$oft.   _\_V
Resistance is futile.   
You will be assimilated. darthvader penguin


pgp9AxU_UCioO.pgp
Description: Signature digitale OpenPGP


Re: What program is capturing key press on root window of X?

2019-07-18 Thread Nicolas George
Harry Putnam (12019-07-18):
> Somewhere in the last few months my Debian OS has acquired an input
> box on upper right of base window (in X) that appears to grab any key
> presses aimed at the base window and print them in that small input
> window.
> 
> Since I have run the `xbindkeys' program (An keybinding program that
> takes its intput from key presses in base window and calls programs
> thru a control script ~/.xbindkeys.scm), this new key grabbing program
> that seems to run at startup is ruining that whole process.
> 
> I wasn't able to tell which program it is by examining the autostart
> programs ... can anyone tell me what that is that is running so I can
> turn it off?

If you can see a window, then xprop may be able to tell you more about
its owner, if it is polite.

You can also get the list of all grabs with:

xdotool key XF86LogGrabInfo

(or any equivalent way of pressing an unusual key) and reading
/var/log/Xorg.0.log.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Where'd lsb-compat go?

2019-07-15 Thread Nicolas George
Kent West (12019-07-15):
> - They plainly state that they support Ubuntu 18.04, but not Debian.

So, did I get this right: this is a software, if you install it on
Ubuntu 18.04, it can tell you on what OS and version it runs, REMOTELY.
Is that it?

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re : Re : Lumière bleue des moniteurs led ?

2019-07-08 Thread nicolas . patrois
Le 08/07/2019 17:20:04, hamster a écrit :

> Est-ce de l'incompréhension ou bien carrément de la mauvaise foi ?

Pète un coup, ça ira mieux.
[…]

> Pour ceux qui veulent creuser le sujet, c'est par la :
> https://www.youtube.com/watch?v=AZBRng9L_pc

As-tu plutôt un texte à lire qu4une vidéo à regarder ?

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Re : Lumière bleue des moniteurs led ?

2019-07-08 Thread nicolas . patrois
Le 08/07/2019 11:03:52, hamster a écrit :

> PS : tu pourrais te renseigner ou demander pour quelle raison on veut
> faire ça avant de décréter de façon lapidaire que ça sert a rien alors
> que tu sais même pas de quoi tu parle.

J’y peux rien si la demande initiale n’est pas claire non plus.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Lumière bleue des moniteurs led ?

2019-07-08 Thread nicolas . patrois
Le 08/07/2019 09:40:01, Nicolas Dobigeon a écrit :

> Je confirme pour le paquet "redshift", ma compagne et moi l'utilisons
> sur KDE et Mate avec leurs plugins en systray.
> Et ça fait son job, certains peuvent dire que ce n'est pas parfait, je
> n'ai pas de sonde pour contrôler les températures colorimétriques avec ou
> sans le soft.
> Mais le gain en conforme est tout de même la et je ne ferais marche
> arrière pour rien au monde =)

Vous avez des boutons sur votre écran pour régler la luminosité et les couleurs.
Vous pouvez utiliser un thème sombre pour vous reposer les yeux mais une chose 
est sûre la lumière bleue de l’écran n’est pas assez forte pour abîmer vos yeux.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: Lumière bleue des moniteurs led ?

2019-07-08 Thread Nicolas Dobigeon
Le lun. 8 juil. 2019 à 11:13, hamster  a écrit :

> Le 08/07/2019 à 08:29, toto a écrit :
> > Bonjour à tous.
> >
> > Je cherche à savoir s'il existe un paquetage sous debian stretch 9.9.0
> qui
> > permet de filtrer efficacement la lumière bleue des moniteurs led.
>
> redshift
>
> ensuite, est-ce que c'est ce que tu appelle "efficacement" ?
>

Bonjour les amis,

Je confirme pour le paquet "redshift", ma compagne et moi l'utilisons sur
KDE et Mate avec leurs plugins en systray.
Et ça fait son job, certains peuvent dire que ce n'est pas parfait, je n'ai
pas de sonde pour contrôler les températures colorimétriques avec ou sans
le soft.
Mais le gain en conforme est tout de même la et je ne ferais marche arrière
pour rien au monde =)

Bonne journée.

Nicolas D.


Re : Lumière bleue des moniteurs led ?

2019-07-08 Thread nicolas . patrois
Le 08/07/2019 06:29:02, toto a écrit :

> Bonjour à tous.

> Je cherche à savoir s'il existe un paquetage sous debian stretch 9.9.0
> qui permet de filtrer efficacement la lumière bleue des moniteurs led.

> J'ai fait quelques recherches mais je n'ai rien trouvé.

Ça ne sert à rien, tu perds ton temps et tes sous.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: xfce4-screenshooter does not copy images to clipboard

2019-07-07 Thread Nicolas George
Erik Dobák (12019-07-07):
> same behavior with xclip -o --selection clip-board > clip10.txt

Check the manpage better. (And blame xclip for accepting malformed
options.)

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: xfce4-screenshooter does not copy images to clipboard

2019-07-07 Thread Nicolas George
Erik Dobák (12019-07-07):
> Hi i have this problem for some months now. If i do a screenshot and copy
> it to clipboard it does not arrive there.
> 
> Checked by xclip -o > screenshot.txt
> either there is nothing or something old.

This xclip command does not check the clipboard but the primary
selection. It may be the source of your confusion. Check the manpage to
have xclip use the clipboard.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: etiquette of sharing executable files

2019-07-07 Thread Nicolas George
john doe (12019-07-07):
> You can never assume that your script will be used the way it should be
> so you need to make it as secure as possible and document the script
> usage with a README file for example (step 1, step 2 ...).

Dissenting opinion:

Unless there is a deliberate attempt at misdirection, the responsibility
of how a program is used does not fall on the author but on the users.
This is especially true for Libre software.

Make sure your program behave in a sane way, make sure you follow all
guidelines for good programming, including security and reliability
considerations. But that is all.

DO NOT TRY TO SECOND-GUESS THE USER.

There are few things I find more annoying than programs that refuse to
what I tell them to do allegedly for my own protection. I am smarter
than any program, and that will stay true in the foreseeable future. I
think the same applies to most people here.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Égaliseur virtuel

2019-07-04 Thread Nicolas Dobigeon
Le jeu. 4 juil. 2019 à 10:06, didier gaumet  a
écrit :

> Le 04/07/2019 à 00:12, hamster a écrit :
> > Le 03/07/2019 à 23:46, benoit...@ouvaton.org a écrit :
> >> Je me suis mal exprimé dans mon précédant post.
> >> Ce que je recherche est un égaliseur virtuel.
> >
> > http://linuxmao.org/Cat%C3%A9gorie+effets+audio
> > Je te laisse chercher le mot "égaliseur" (avec un accent sur le é) dans
> > la colonne "description".
>
> pour compléter la réponse de Hamster, si tu as juste besoin d'un
> égaliseur lors du visionnage de vidéos ou de l'écoute de musique, si tu
> utilises VLC pour ça, il n'y a besoin de rien installer, VLC dispose
> d'un égaliseur graphique 10 bandes (Menu Outils / Effets et Filtres)
>

Hello,

Encore en complément,

En attendant que quelqu'un de plus compétent que moi te donne une astuce
pour avoir un égaliseur graphique "system-wide",
Tu peux utiliser l'extension Firefox "Audio Equalizer" que j'utilise au
quotidien et qui permets de manipuler les fréquences sur tes onglets
Firefox.
Grace à ca, à toi le coup de boost sur les basses sur Youtube par exemple.

C'est toujours moi bien qu'un réglage ayant effet sur tout le système, mais
si ça peut te rendre service =) Déja ça de gagner =)
Bonne soirée.

Nicolas D.


Re : Re : Passer de Debian Stretch 32 bits à 64 bits

2019-07-03 Thread nicolas . patrois
Le 03/07/2019 12:00:49, Sébastien NOBILI a écrit :

> Oui, en effet. J’ai mal lu, répondu trop vite et donc à côté.
> Avec le multiarch activé, la libc i386 installée, les dépendances i386
> satisfaites, ça fonctionnera (sur un système amd64).

Super.
Encore une question : j’ai trois paquets cassés (mariadb).
Le passage à amd64 mettra à jour les trois paquets en version amd64 cassés ?

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: How to have password shown?

2019-07-03 Thread Nicolas George
to...@tuxteam.de (12019-07-03):
> That said, you might want to disable ssh logins for that user

They are not stupid: that is already the default.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: How to have password shown?

2019-07-03 Thread Nicolas George
Renato Gallo (12019-07-03):
> You forgot the "probably sharing" part of the message.
> You forgot that Rasbian is Debian for Raspberry pi + Desktop autologin by 
> default (without the research and config part).
> You forgot that Raspberry is really cheap.

I forgot none of this things. You obviously understood properly none of
my messages. Too bad for you. Have a good life.

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: How to have password shown?

2019-07-03 Thread Nicolas George
Renato Gallo (12019-07-03):
> For the use his old father might do with a computer I think that cheap board 
> could do.

And what is he supposed to do with the computer he already has for that
purpose? Throw it away?

> Plus can be customized for his father use like a tailored tuxedo

You realize that Debian can be customized, right?

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: How to have password shown?

2019-07-03 Thread Nicolas George
Renato Gallo (12019-07-03):
> Raspberry pi's Raspbian has X without password by default.
> The new board raspberry 4 is out with 4 gigs and a better cpu (I have 
> preordered it for around 60 € from melopero shop).
> Might be a nice solution for the old father.

Are you really suggesting buying complete new hardware to solve a minor
software configuration issue?

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: How to have password shown?

2019-07-03 Thread Nicolas George
Renato Gallo (12019-07-03):
>  and that's s good security-wise

The good practice, security-wise, is to start by understanding the
situation and the threat.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re : Re : Passer de Debian Stretch 32 bits à 64 bits

2019-07-02 Thread nicolas . patrois
Le 02/07/2019 21:42:56, Pascal Hambourg a écrit :

> Tatata. Merci de relire la question. Il ne s'agit pas d'exécuter un 
> binaire i386 extrait à la sauvage mais faisant partie d'un paquet 
> *installé* proprement donc a priori avec toutes ses dépendances, et 
> notamment une libc i386.

Donc des applications en 32 bits munies des bibliothèques 32 bits qui vont bien 
fonctionneront dans un système 64 bits ?
Je conserve ce que me donne ldd et ça suffira ?

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re : Re : Passer de Debian Stretch 32 bits à 64 bits

2019-07-02 Thread nicolas . patrois
Le 02/07/2019 12:54:22, Sébastien NOBILI a écrit :

> Une fois que les briques les plus basses système (noyau, libc) sont
> passées en amd64, les binaires x86 ne s’exécutent plus (et réciproquement), ce
> qui a été la partie la plus complexe de la migration du serveur et de ses
> conteneurs (j’ai dû faire la migration des conteneurs sur un machine externe 
> qui était en
> amd64 pour limiter l’interruption de service).

> Les paquets x86 sur le système amd64 pourront rester installés, mais
> on ne pourra pas les faire fonctionner directement.

> À une époque, je faisais de la compilation croisée pour ARM, et
> j’utilisais binfmt_mist [1]. Ça pourrait répondre à ton besoin, mais n’en 
> attends
> pas trop niveau perfs…

OK pour les paquets.
Il n’y a pas de rétrocompatibilité pour les autres applications ?
Cela veut dire que les jeux proprio ne marcheront plus ?

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: Remplir automatiquement un formulaire web

2019-07-01 Thread Nicolas Dobigeon
Le lun. 1 juil. 2019 à 18:33, Jean-Marc  a écrit :

> salut la liste,
>
> Une idée si Debian a dans ses dépôts un outils pour remplir des
> formulaires web basiques de manière automatique ?
>
> À défaut, des idées ?
>
> Je cherche mais je sèche.
>
> Jean-Marc 
> https://6jf.be/keys/ED863AD1.txt


Bonjour Jean-Marc,

Je ne suis pas certain que ça va convenir à tes besoins,
Mais ça me rappelle une époque où j'utilisais l'extension imacros sur mon
Firefox.
Je l'ai utilisé massivement pour pré-remplir des tickets BugZilla à mon
bouleau, ce qui m'a fait gagner quelques petites secondes sur d’innombrable
tickets soumis :)

Bonne fin de journée.

Nicolas D.


Re : Passer de Debian Stretch 32 bits à 64 bits

2019-06-29 Thread nicolas . patrois
Le 27/06/2019 09:58:37, Sébastien NOBILI a écrit :

> Ça peut se faire. Je l’ai fait sur plusieurs systèmes, notamment mon
> serveur qui héberge plusieurs conteneurs LXC (donc une architecture un peu
> complexe).

Et ça marche s’il reste des paquets obsolètes en x86 ?

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: Converting text subtitles to vobsub

2019-06-22 Thread Nicolas George
Michael Lange (12019-06-22):
> I did investigate some more, now as far as I can see this is actually not
> true. spumux only creates a .sub file but the .idx file is missing. This
> seems to be no good except with DVDs. Besides, there seems only to be the
> choice between 25.0 and 29,97 fps framerates (PAL/NTSC) which is too bad
> if the video is 23.976 fps :(

Indeed, because vobsub is a bastard format built on top of a crappy
format. You need spumux to produce spu packets and mux them into a
MPEG-PS stream, and then you need a DVD ripping tool to butcher the
MPEG-PS stream and chop the pair of final files.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Converting text subtitles to vobsub

2019-06-22 Thread Nicolas George
Michael Lange (12019-06-21):
> Well, maybe I will not and maybe I would be able to cut down the
> computing time to three quarters of an hour. Still not an entirely
> convincing solution if one has to recode the video only to convert the
> subtitles.

On the other hand, that means you can enjoy the full power of the
software on your computer instead of being stuck with a mediocre
proprietary embedded player.

FFmpeg will respect the ASS style, can use colors, do transparency
effects, shadows, etc. Encoding in vobsub results in very limited
possibilities.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Converting text subtitles to vobsub

2019-06-21 Thread Nicolas George
Reco (12019-06-21):
> > is there a program (command line preferred) that is able to convert text
> > subtitles (.srt or .ass etc.) into vobsub "image" subtitles?
> 
> You need something like this:
> 
> ffmpeg -i input.mp4 -i /tmp/input.srt -c:v copy -c:a copy \
>   -c:s mov_text output.mp4

mov_*text* is obviously not an image format, and definitely not the
vobsub format.

> Or this:
> 
> ffmpeg -i input.mp4 -i /tmp/input.srt -c:v copy -c:a copy \
>   -c:s dvd_subtitle output.mp4

Did you test that command line before suggesting it?

For reference, these command lines do not work and do not solve the
problem as it was explained in the thread. It needs to be stated clearly
for people who may visit the archives looking for the solution for a
similar problem.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Converting text subtitles to vobsub

2019-06-21 Thread Nicolas George
Michael Lange (12019-06-21):
> sure, that's what I tried first. The player ignores the .ass style options
> happily.

Are you sure the player will be able to use the vobsubs?

> > ffmpeg -i original.mp4 -map 0:v:0 -map 0:a:0 \
> > -vf subtitles=filename=subtitles.ass \
> > -c:v libx264 -crf 22 -c:a copy output.mp4
> 
> I know, but this seems to take like forever (or at least several hours for
> a 120 min. 1080p video here :)

Then set -preset ultrafast.

> Plus, as I understand it, you have to recode the whole video which might
> do nothing good to video quality unless you watch what you are doing.

With crf 22 at 1080p, you will not be able to see any difference.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Converting text subtitles to vobsub

2019-06-21 Thread Nicolas George
Michael Lange (12019-06-21):
> is there a program (command line preferred) that is able to convert text
> subtitles (.srt or .ass etc.) into vobsub "image" subtitles?

Can you explain why exactly you want to do that?

Often, when people ask for a very unusual task, or a task that looks
useless, they actually have a mistaken assumption earlier in their
reasoning. There are a few good reasons to want to do that task
nowadays, and a lot of bad ones.

> ffmpeg apparently fails at this;

IIRC, FFmpeg does not have anything (yet) to produce bitmap subtitles
except by decoding existing bitmap subtitles.

>  there is a program called spumux, but so
> far as I can see it's not exactly what I am looking for (or maybe I just
> don't get how to use it).

spumux can do that, and is indeed the only took I know that can.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Plantage VLC

2019-06-20 Thread Nicolas Patrois
Le jeu. 20 juin 2019 à 08:59, Eric Bernard
 a écrit :

> Bonjour,

> Depuis 2 semaines j'ai vlc qui plante de plus en plus souvent en "figeant" 
> carrément mon interface utilisateur (xfce) et sur mes 2 postes (1 fixe et 1 
> portable). Je n'ai que la solution d'ouvrir une autre interface utilisateur 
> et de redémarrer le service lightdm...

> Du coup j'utilise plus que Parole et c'est pas génial !!!

> Une idée ou un autre logiciel à me conseiller ?

Ta carte graphique ne serait pas en train de mourir ?

n.
-- 
En science, ce qui est démontrable ne doit pas être admis sans démonstration.
-+- Richard Dedekind -+-



Re: Re: Problème de lecture vidéo

2019-06-18 Thread nicolas

Bonjour et merci de vos réponses


- Quelle carte graphique utilisez vous ?


VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 720] 
(rev a1)




- Aviez-vous l'intention d'utiliser le pilote libre "nouveau",
  qui fonctionne comme il peut, ou le privateur "nvidia", qui
  offre le meilleur support et les meilleures performances ?


En général, je préfère utiliser le libre sauf en cas de 
dysfonctionnement




* Pour MPLAYER qui arrive aussi a lire le son:
% mplayer D.avi
Playing: D.avi
 (+) Video --vid=1 (mpeg4 640x362 23.977fps)
 (+) Audio --aid=1 (mp3 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch s16
VO: [opengl] 640x362 yuv420p
AV: 00:04:18 / 00:58:29 (7%) A-V:  0.000


Effectivement, l'image ne passe pas


Ce n'est pas tout à fait évident dans votre mail d'origine, mais
je suppose que l'image ne passe pas non plus.  Que donne la
commande :

% mplayer -vo x11 D.avi

Si le problème vient d'OpenGL, alors cette commande devrait
fonctionner correctement pour jouer des vidéos.


Effectivement, l'image passe. :-D



Problème de lecture vidéo

2019-06-16 Thread nicolas



Bonjour,

J'ai une debian et depuis quelque temps, j'ai un soucis avec les vidéo.

Je n'arrive plus à les lire et ne sais pas ou chercher une solution.
Auriez-vous une suggestion, une piste ou mieux une solution?

Voici les résultats des commandes totem, VLC et mplayer:


* Pour TOTEM:
% totem D.avi
libEGL warning: DRI2: failed to open nouveau (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open nouveau (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open nouveau (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open nouveau (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)


(totem:4061): Clutter-CRITICAL **: Unable to initialize Clutter: Unable 
to initialize the Clutter backend: no available drivers found.


(totem:4061): Totem-WARNING **: gtk-clutter failed to initialise, expect 
problems from here on.
libEGL warning: DRI2: failed to open nouveau (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open nouveau (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open nouveau (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open nouveau (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths 
/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)


(totem:4061): Clutter-CRITICAL **: Unable to initialize Clutter: Unable 
to initialize the Clutter backend: no available drivers found.


(totem:4061): Clutter-WARNING **: Missing Cogl context: was Clutter 
correctly initialized?

zsh: segmentation fault  totem D.avi


* Pour VLC qui arrive à lire le son mais pas les images (écran noir):
% vlc D.avi
VLC media player 3.0.3 Vetinari (revision 3.0.2-225-gc9e3360dd4)
[55ab70575bb0] main libvlc: Lancement de vlc avec l'interface par 
défaut. Utilisez « cvlc » pour démarrer VLC sans interface.

libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva 
error,driver_name=(null)
[7f7c08001f90] glconv_vaapi_x11 gl error: vaInitialize: unknown 
libva error

libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open 
/usr/lib/x86_64-linux-gnu/dri/gallium_drv_video.so

libva info: va_openDriver() returns -1
[7f7c08001f90] glconv_vaapi_drm gl error: vaInitialize: unknown 
libva error

libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 1
libva error: va_getDriverName() failed with operation 
failed,driver_name=gallium
[7f7c08001f90] glconv_vaapi_drm gl error: vaInitialize: operation 
failed
Failed to open VDPAU backend libvdpau_nvidia.so: Ne peut ouvrir le 
fichier d'objet partagé: Aucun fichier ou dossier de ce type
Failed 

Re: SDDM : Et après ?

2019-06-03 Thread Nicolas Patrois
Le lun. 3 juin 2019 à 15:38, kaliderus  a écrit :

> Bonjour,

> Bref, je voudrai en changer, mais je me demande par quoi ?
> Et de votre côté, quel est votre gestionnaire de connexion préféré ?

J'utilise wdm depuis que gdm3 plante chez moi, c'est-à-dire depuis un moment.
Il est basique mais fait le boulot.

n.
-- 
En science, ce qui est démontrable ne doit pas être admis sans démonstration.
-+- Richard Dedekind -+-



Re: [Possibly fake news] [DNG] Linux system can be brought down by sending SIGILL to Systemd

2019-05-25 Thread Nicolas George
to...@tuxteam.de (12019-05-25):
> That means that to send SIGILL to pid 1 you most probably gotta be
> root (systemd or not). And then, there are more classy ways to bring
> your system down anyway.
> 
> Folks, please double-check that stuff before reposting. I don't want
> the Debian mailing list to become Fakebook or Twitter.

No need to double check: with a little common sense and technical
competence, a single check is enough.

Remember folks:

The proof that systemd is evil is that "cat /lib/systemd/systemd >
/dev/sda" will likely make your system unbootable.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Trouble making bootable USB from ISO image

2019-05-04 Thread Nicolas George
deloptes (12019-05-04):
> don't forget that to create UEFI bootable partition, you need to boot in
> UEFI.

That is absolutely not true. Partition data, UEFI or not, bootable or
not, are just octets on a medium. They could be created with an Atari if
Atari had USB plugs, that would not make any difference.

The vague truth behind your statement is:

To edit UEFI variables, the computer need to have booted in UEFI mode.

The UEFI variables, the contents of the computer's non-volatile internal
memory. Not the contents of the drive. They contain, amongst other
things, the default boot options. They are not used when selecting the
boot option manually.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: WebRTC software

2019-04-27 Thread Nicolas George
Jonas Smedegaard (12019-04-27):
> Did you look at my notes?
> 
> http://source.redpill.dk/media-stream-hosting.git/tree/README.md
> 
> Specifically, look at the _platforms_ using Janus as tool.

Thanks, that is what I was looking for. I had looked at this file the
first time, but since I lack the vocabulary of this domain, I did not
manage to see which sections were interesting. Thanks for indulging me.

Do you have opinion on the relative qualities of some of these projects?

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: WebRTC software

2019-04-27 Thread Nicolas George
Jonas Smedegaard (12019-04-26):
> See this: https://janus.conf.meetecho.com/videoroomtest.html
> 
> And this: https://janus.conf.meetecho.com/siptest.html
> 
> Same are included in the contrib janus-demos package I mention before.

Thanks for the online pointers. It looks like the kind of thing I am
looking for as for the technical aspects.

But not for the user-interface aspect: it is a demo, what I am looking
for is a real web application, with a somewhat polished interface.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: WebRTC software

2019-04-26 Thread Nicolas George
Jonas Smedegaard (12019-04-26):
> WebRTC is not one but a range of things.
> 
> Since you mention Asterisk, you are probably looking for an SFU - one of 
> the best SFUs, Janus, is in Debian (maintained by me).  The contrib 
> package janus-demos can be used as basis for custom applications aorund 
> Janus.
> 
> You might find my notes on the subject of some use: 
> http://source.redpill.dk/media-stream-hosting.git/tree/README.md

Thanks for the pointer. I do not think it what I am looking for,
although it may be part of it.

What I am looking for is the HTML5 video-conference that is presented to
the user.

It will require a web-server, of course; this part I know how to handle.
I suppose it will also require some kind of connecting software,
possibly Janus or Janus+Asterisk. I expect it to be documented.

Basically, I would like to know all the software needed to build a web
page where a user can click on "call this person" and arrive to a
video-conference. This is vague: if I find something interesting, I will
be able to see what it can actually do and refine my question.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


WebRTC software

2019-04-26 Thread Nicolas George
Hi.

I would like some advice about good HTML5 WebRTC video-conference
software, preferably packaged by Debian, at least Libre and trustworthy.

Also, I would appreciate if it can do screen-casting too. Probably not
with a web browser client: A calls B from browser, B answers with a
dedicated client, B can show A their screen instead of their face.

There will probably be an Asterisk server available.

Thanks in advance for any suggestion.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


<    3   4   5   6   7   8   9   10   11   12   >