Re: normalize audio in mp4s

2020-04-07 Thread Emanuel Berg
Jonas Smedegaard wrote:

> Maybe your system simply treats multi-channel
> audio wrongly.
>
> A simpler alternative to recoding audio with
> fine-tuned values could be something like this to
> force use only stereo:
>
>   mpv --audio-channels=stereo ...

Yes, I've done that, in ~/.config/mpv/mpv.conf [1]

  audio-channels=stereo

that makes me wonder, what happens if one has that _and_
downmixes as suggested? [last] is a/the zsh downmix
wrapper around ffmpeg, that has worked to some extent.

But, not to all extent :(

Today I got this [3], checking with mm-audio [same file as
mm-downmix below, line 20] as I always do since
I learned of the 2 or 5.1 (6) channels, it reports

  $ mm-audio blade-runner-2049.avi
  blade-runner-2049.avi: Stream #0:1: Audio: ac3 ([0]
  [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 384 kb/s
  6: L R C LFE Ls Rs

unfortunately

  $ mm-downmix
  Could not write header for output file #0 (incorrect codec parameters ?): 
Operation not permitted
  Error initializing output stream 0:1 -- 
  Conversion failed!

with

  $ file blade-runner-2049.avi
  blade-runner-2049.avi: RIFF (little-endian) data, AVI,
  720 x 304, 23.98 fps, video: XviD, audio: Dolby AC3 (6
  channels, 48000 Hz)

So I think it is the avi file format that it/something
cannot handle?

In this file, the speech is so weak and the wrestling,
arguing, and shooting (or whatever on Earth they are
doing) so strong, putting bass to -5 and trebl to +5 on
the stereo and turning down the volume in mpv still
doesn't do it, it's too loud when shooting while barely
audible when talking.

I'm starting to think, can this be my ears? :O Or is
this a common situation?

Feel free to get the file and tell me, that'd be much
appreciated...

But apart from that, what can one do to downmix avi
files, if that is indeed what causes the sudden
malfunction of the command?


#! /bin/zsh

# https://dataswamp.org/~incal/conf/.zsh/audio-norm

mm-downmix () {
local files=($@)

local name
local ext
local out
for f in $files; do
name=${f:r}
ext=${f:e}
out=${name}-stereo.${ext}

ffmpeg -y   \
   -i $f\
   -map 0:0 \
   -map 0:1 \
   -c:v copy\
   -strict -2   \
   -c:a libopus \
   -b:a 128k\
   -ac 2\
   -clev 1.414  \
   -slev 0.5$out
done
}


[1] ,
also,

feel free to page thru it and see if it makes sense,
send a private mail if you think it is off-topic
here for some reason :) I have not been using mpv
for a very long time but it seems a big improvemt,
no doubt.

[2] https://dataswamp.org/~incal/conf/.zsh/audio-norm

[3] 
https://pirateproxy.ink/torrent/19465184/Blade_Runner_2049.HDRip.XviD.AC3-EVO

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal



Re: App Linŭx de cryptage

2020-04-07 Thread Pierre Malard
Bonjour,

En faisant un tour sur OpenPGP on trouve cette page qui recense quelques 
clients mail de cryptage :
https://www.openpgp.org/software/

Sinon, sous IOS :
https://uwe-arzt.de/2014/ios-gnupg-clients/
https://www.cryptmail.us

Sous Android :
https://gnupg.org/download/index.html
https://openclassrooms.com/fr/courses/2990451-echangez-par-e-mail-en-toute-securite/2990526-chiffrez-et-dechiffrez-vos-messages-depuis-votre-smartphone-ou-votre-tablette
…

Confinement vôtre


> Le 8 avr. 2020 à 02:55, Simeone Dominique  a 
> écrit :
> 
> 
> 
> 
> Chers amis,
> 
> il existe des outils de cryptage linŭx Riot.im,luks..
> mais pour les téléphones portables, je ne connais pas d'applications.
> 
> Quelqu'un, pourrait m'aider?
> 
> Debian vôtre.
> 
> Mr.Dominique Simeone

—
πr

   « L'émancipation politique doit marcher de pair avec l'émancipation
sociale ou les résultats sont désastreux »
Romain Gary - "Les racines du ciel"
   |\  _,,,---,,_
   /,`.-'`'-.  ;-;;,_
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)   πr

perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  ) )-,_. ,\ 
(  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_): 
24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--



signature.asc
Description: Message signed with OpenPGP


Re: Linux Microsoft Remote Desktop et Workspace

2020-04-07 Thread Pierre Malard


> Le 8 avr. 2020 à 01:30, Gaëtan Perrier  a écrit :
> 
> Le mardi 07 avril 2020 à 23:46 +0200, NoSpam a écrit :
>> Le 07/04/2020 à 23:38, Gaëtan Perrier a écrit :
>>> Le mardi 07 avril 2020 à 22:27 +0200, Pierre Malard a écrit :
 Et un simple tunnel SSH ne résoudrait ps tout problème ?
 Voir « autossh » par exemple…
 
 Est-on vraiment obligé de passer par la copie d’écran ? le VPN ? pour
 véritablement travailler ?
 X11 et un simple « ssh -Y » suffisent souvent pour ouvrir LA fenêtre dont
 on
 A VRAIMENT besoin…
>>> Sauf que de base sous Windows il n'y a pas le nécessaire pour faire celà
>>> ...
>> putty est capable de faire du reverse ssh
>> 
> 
> putty n'est pas de base sur une machine Windows …
> 
> Gaëtan

Dans ce cas un client VNC mais…

C’est vrai qu’il ne semble pas y avoir grand chose sous Windows ;-)

RDesktop mais encore faut-il avoir activé tout cela sous W…

—
πr

   «le système d'individualisme à outrance, d'âpre concurrence,
   de lutte sans merci qui régit aujourd'hui la production, fait
   presque autant de mal à la classe bourgeoise dans son ensemble
   qu'à la classe ouvrière. [...]
  Ils vivent dans un monde de lutte où la solidarité est inconnue.»
   Jean Jaures - "L'idéal de justice" - 
1889
   |\  _,,,---,,_
   /,`.-'`'-.  ;-;;,_
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)   πr

perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  ) )-,_. ,\ 
(  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_): 
24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--



signature.asc
Description: Message signed with OpenPGP


Re: Any way to open Thunar as root beside this?

2020-04-07 Thread David Wright
On Tue 07 Apr 2020 at 16:35:19 (-0400), Cindy Sue Causey wrote:
> On 4/7/20, Alexis Grigoriou  wrote:
> > On Wed, 2020-04-08 at 01:40 +0800, kaye n wrote:
> >> I was just wondering if there are  easier ways to open Thunar file
> >> manager as root?
> >>
> >> Right now what I do is this:
> >>
> >> Open xfce4-terminal,
> >> Execute:  sudo thunar
> >> Type my password.
> >
> > You could press Alt-F2 and enter sudo thunar.
> > Since I don't use sudo, I can't test if it works. But I can see no
> > reason why it shouldn't work.
> 
> I actually tried that myself a little bit ago. It didn't work. The
> reason I thought to try it is that I *have* had that work for
> something in the past. I'm guessing it maybe worked on either a
> different Debian release or different Linux distribution entirely..
> 
> That ALT+F1, F2... I stopped doing that only with this Dell Inspiron
> Duo laptop I'm on. Takes too much coordination of my fingertips
> because I have to (keep remembering to) hit Fn+ALT+F2 for it to
> function.
> 
> It seems like there's a toggle switch somewhere that triggered a "Hey,
> wonder what THAT CHOICE does when you click it?" moment. Whatever that
> option is, what it (apparently) does is make you have to toss in that
> Fn key on regular occasions that you don't use it for on other
> keyboards...

The mode you appear to be describing is selected in the BIOS on this
Lenovo laptop, where it's described as HotKey Mode. When enabled, the
✈F7 key, for example, will put the Wireless into airplane mode, and you
need to hold down Fn to get the real F7 function. I disable HotKey Mode,
so that you have to hold down Fn to get ✈.

Cheers,
David.



Re: Any way to open Thunar as root beside this?

2020-04-07 Thread Keith Bainbridge

On 8/4/20 6:44 am, ghe wrote:

On 4/7/20 12:58 PM, ghe wrote:


How about 'sudo thunar'?


To get past the Alt... and password stuff, put this in /etc/sudoers,
running 'visudo' as root:

ALL = NOPASSWD: ALL

It all works, with no whining, on my Buster box (and several earlier
releases).




Better still, list commands that you are happy to run as sudo withOUT 
passwd individually at the end of sudoers. eg


keith ALL=NOPASSWD: /usr/bin/


Would I include a file manager?  U,no

--
Keith Bainbridge

ke1th3...@zoho.com
+61 (0)447 667 468



Re: Any way to open Thunar as root beside this?

2020-04-07 Thread Keith Bainbridge

On 8/4/20 5:31 am, Alexis Grigoriou wrote:

You could press Alt-F2 and enter sudo thunar


Or is that gksu thunar


But I recall a similar question a few weeks back. Perhaps xfce doesn't 
support gksu any longer.  I recall that it did back when I used it.




--
Keith Bainbridge

ke1th3...@zoho.com
+61 (0)447 667 468



Re: how to keep 2 PCs partially in sync

2020-04-07 Thread Charles Curley
On Tue, 7 Apr 2020 13:14:54 -0700
Peter Ehlert  wrote:

> now I clearly recall after visiting and reviewing the nextcloud 
> documentation, that need for a designated server was the deal killer.

Some sort of server is a good idea. It need not be the latest and
greatest. I use a 13 year old retired desktop for the purpose. 

> 
> that together with the apparent need for paid licensing for business 
> use... not interested.

I don't know where you got that idea. You certainly can get support for
an annual fee if you wish. However the software is licensed under the
Affero General Public License
(https://github.com/nextcloud/nextcloud.com/blob/master/LICENSE). The
Open Source Initiative approves it. You may download Nextcloud, install
it, examine it, and run it at no charge.


-- 
Does anybody read signatures any more?

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



Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

2020-04-07 Thread Felix Miata
Felix Miata composed on 2020-04-07 16:13 (UTC-0400):

> Marcelo Laia composed on 2020-04-07 12:53 (UTC-0300):

>> 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT 
>> Integrated Graphics Controller [8086:0a16] (rev 0b)
>> 03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] 
>> Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 
>> Mobile] [10...

>> inxi -GSxxza command output

>> marcelo@marcelo:~$ inxi -Gxx

>> Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell 
>> driver: i915 v: kernel bus ID: 00:02.0 
>>chip ID: 8086:0a16 
>>Display: x11 server: X.Org 1.20.7 driver: i915 compositor: 
>> gnome-shell resolution: 1920x1080~60Hz, 1920x1080~60Hz 
>>OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 
>> 19.3.3 compat-v: 3.0 direct render: Yes 

> This is inxi output unlike any I have ever seen.

>   driver: i915 v: kernel

> is normal and expected, a result of using the i915 kernel module.

>   X.Org 1.20.7 driver: i915 compositor

> is unexpected. i915 is not an X graphics driver. Compositor is normally on the
> next line. Normally one would expect that output to resemble this:

>   X.Org 1.20.7 driver: modesetting unloaded: fbdev,vesa alternate: intel

> Of course, these are for systems with only one GPU. Your laptop has dual 
> GPUs, so
> there should be a Device-2, which is missing from inxi output

Should you desire to know the expected output from inxi -Gxx, and share it, the
inxi author has implemented a tentative fix to the recently discovered 6 year 
old
problem. This is his instruction:

cd /usr/local/bin && wget -O pinxi smxi.org/pinxi && chmod +x pinxi

Probably this requires a root login to correctly execute. pinxi is the beta
version of inxi, so your test would be:

pinxi -Gxx

The author is likely interested to see your result should you proceed.

https://github.com/smxi/inxi/issues/214 is the relevant bug report about this.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Exim4 et paniclog

2020-04-07 Thread Ludovic

Bonjour G2PC,

    plusieurs axes de recherche:

1) Il faut débuger ton script shell

echo "Connexion au terminal du serveur le `date` `who`" | mail -s "Accès au Shell du Serveur `hostname` 
par `who` depuis `who | cut -d"(" -f2 | cut -d")" -f1`"m...@moderateur.com

Visiblement ce script ne fonctionne pas toujours, plutôt qu'envoyer un 
mail tu peux rediriger vers un fichier, puis regarder son contenu. Tu 
peux aussi vérifier les variables d'environnement définies à ce moment 
(env >> ). Ton script shell alterne beaucoup de 
double quotes et de simple quote, c'est facile de se tromper... Tu peux 
avantageusement remplacer un `date` par $(date), ce sera moins source 
d'erreur.


2) La commande who te renvoit la **liste** de toutes les personnes 
connectées, à ta première connexion, elle pourrait renvoyer une seule 
ligne, et à la seconde renvoyer deux lignes. Avec who renvoyant 
plusieurs lignes, ton script n'est pas robuste...


3) Tu peux vérifier que ta configuration mail fonctionne correctement en 
faisant des tests d'envoi avec la commande mail et en surveillant les 
logs exim


4) Ton but semble être d'envoyer un mail pour toute connexion SSH, dans 
ce cas une bonne solution est d'utiliser /etc/ssh/sshrc, cf [1] et man 
sshd. C'est ce que j'utilise pour monitorer les connexions SSH externes.


[1] 
http://blog.uggy.org/?post/2009/06/05/Execution-de-commande-lors-d-une-connexion-SSH


Ludovic

Le 03/04/2020 à 17:18, G2PC a écrit :



  Exim4 et paniclog

# L'erreur suivante serait présente à chaque fois que exim4 démarre et que le 
fichier paniclog ne serait pas vide sur un système Debian / Ubuntu.
exim paniclog /var/log/exim4/paniclog has non-zero size error
# L'origine de ce message d'erreur est généré lorsque je me connecte deux fois 
au serveur SSH, depuis deux consoles différentes.
#*Le premier mail suite à une connexion réussie m'est bien envoyé*, avec ce script 
:Alerte mail lors du login root ou d'un utilisateur  
.


# ALERTE MAIL SUITE A UNE CONNEXION SSH :
*sudo nano /home/utilisateur/.bashrc echo "Connexion au terminal du 
serveur le `date` `who`" | mail -s "Accès au Shell du Serveur 
`hostname` par `who` depuis `who | cut -d"(" -f2 | cut -d")" -f1`" 
m...@moderateur.com*



#*Lors d'une seconde connexion*  avec*un nouveau terminal*  et*le même 
utilisateur*, j'obtiens un mail en*erreur renvoyée au compte administrateur*  :
Mail failure - no recipient addresses
A message that you sent contained no recipient addresses, and therefore no 
delivery could be attempted.
# En consultant le fichier paniclog on observe l'ajout des lignes suivantes :
nano /var/log/exim4/paniclog
1jJnQp-0006r4-KL 1jJnQp-0006r4-KL no recipients found in headers
1jJnRH-0006rh-6j 1jJnRH-0006rh-6j no recipients found in headers
# La solution proposée est de supprimer ce fichier pour qu'il soit recréé :
sudo rm /var/log/exim4/paniclog
# Ou encore de vider le fichier :
sudo bash
echo "" > /var/log/exim4/paniclog
# Redémarrer Exim4 :
/etc/init.d/exim4 restart


>>
*# Pour réellement résoudre le problème de ce message exim paniclog 
/var/log/exim4/paniclog has non-zero size error il faudrait comprendre 
pourquoi suite à une double connexion SSH, le second mail n'est pas 
envoyé.*


#*Lors d'une seconde connexion*  avec*un nouveau terminal*  et*le même 
utilisateur*, j'obtiens un mail en*erreur renvoyée au compte administrateur*.

C'est cela qui génère le paniclog.
Une idée ?




Re: how to save video on web page

2020-04-07 Thread Carl Fink

On 4/7/20 7:39 PM, Siard wrote:

Long Wind wrote:

i've just installed Video DownloadHelper for jessie's firefox
but can't install an external app required by it

no luck
i give up

I have FF 75 downloaded from www.mozilla.org/en-US/firefox/new/
Unpack and run, no installation needed.
Menu > Add-ons > Extensions
Here's a screenshot: https://ibb.co/ZfC15rp
I wonder what that 'external app' could be, I am not aware of any.


VDH can't download videos from several sites as one file, because they
aren't. Segments are streamed separately. There's a companion app that
joins the segments after they are all downloaded separately.

--
Carl Fink   nitpick...@nitpicking.com

Read my blog at blog.nitpicking.com.  Reviews!  Observations!



App Linŭx de cryptage

2020-04-07 Thread Simeone Dominique



 Chers amis,
il existe des outils de cryptage linŭx Riot.im,luks..mais pour les téléphones 
portables, je ne connais pas d'applications.
Quelqu'un, pourrait m'aider?
Debian vôtre.

Mr.Dominique Simeone  

Re: Linux Microsoft Remote Desktop et Workspace

2020-04-07 Thread Ludovic

Bonjour David,

    rdesktop [1] est un client RDP qui pourrait répondre à ton besoin.

[1] https://packages.debian.org/buster/rdesktop

Ludovic

Le 07/04/2020 à 20:15, David Pinson a écrit :

Bonjour,

Confinement obligé, de plus en plus de travail se font à distance.
Les administrateurs ont mis en place la connexion RDP via le web.
Mais apparemment, les PC Windows et Mac ont cette possibilité mais pas
pour Linux.

Je sais qu'il existe d'autres outils comme NX et autres, mais je dois
rester dans le protocole RDP, hélas !

J'ai regardé avec Remmina mais malgré les différents réglages, il n'y
rien à faire, impossible de se connecter à la workspace.

Avec l'outil pour le MAC (Microsoft Remote Desktop), il suffisait de
créer un lien workspace comme: https://adressesite/rdweb/feed/webfeed.aspx

Qui aurait d'autres pistes ?

Merci pour vos idées et aides,





Re: how to save video on web page

2020-04-07 Thread Siard
Long Wind wrote:
> i've just installed Video DownloadHelper for jessie's firefox
> but can't install an external app required by it
>
> no luck
> i give up

I have FF 75 downloaded from www.mozilla.org/en-US/firefox/new/
Unpack and run, no installation needed.
Menu > Add-ons > Extensions
Here's a screenshot: https://ibb.co/ZfC15rp
I wonder what that 'external app' could be, I am not aware of any.



Laptop with 2 external monitors

2020-04-07 Thread Sylvain Archenault
Hi,

I'm have a laptop with Intel HD 620 graphic card and i'm trying to set
it up with 2 external monitors. So i have a usb-c hub where i connect
the first monitor with HDMI and the second one with DP. I'm able to have
both of them work with the following resolutions:
- 1920x1080 : internal display
- 1920x1080 @ 60Hz : hdmi display)
- 1920x1200 : DP display

Having said that the DP monitor can go up to 2560x1440 but I'm unable to
use that resolution with the order monitor active. I only see this in
the log:

/usr/libexec/gdm-x-session[1069250]: (EE) modeset(0): failed to set
mode: Invalid argument

Based on
https://www.intel.com/content/www/us/en/support/articles/25675/graphics-drivers.html
I thought it would be possible to use the highest resolution.

If I disable the HDMI display, I can go up to the max resolution.

Is there something i'm missing? or somewhere I could look to confirm my
graphic card/system doesn't support the configuration I'm trying to do?

Thanks




signature.asc
Description: OpenPGP digital signature


Re: Linux Microsoft Remote Desktop et Workspace

2020-04-07 Thread Gaëtan Perrier
Le mardi 07 avril 2020 à 23:46 +0200, NoSpam a écrit :
> Le 07/04/2020 à 23:38, Gaëtan Perrier a écrit :
> > Le mardi 07 avril 2020 à 22:27 +0200, Pierre Malard a écrit :
> > > Et un simple tunnel SSH ne résoudrait ps tout problème ?
> > > Voir « autossh » par exemple…
> > > 
> > > Est-on vraiment obligé de passer par la copie d’écran ? le VPN ? pour
> > > véritablement travailler ?
> > > X11 et un simple « ssh -Y » suffisent souvent pour ouvrir LA fenêtre dont
> > > on
> > > A VRAIMENT besoin…
> > Sauf que de base sous Windows il n'y a pas le nécessaire pour faire celà
> > ...
> putty est capable de faire du reverse ssh
> 

putty n'est pas de base sur une machine Windows ...

Gaëtan


signature.asc
Description: This is a digitally signed message part


LinkedIn Talent Solutions: Nuevas Armas para Reclutadores y Headhunters

2020-04-07 Thread Karla Aguilar Mena

Nuevos Lineamientos y Herramientas para el
RECLUTAMIENTO por LinkedIn

Online en Vivo / 04 de Mayo 2020


¡Asiste a este Entrenamiento Avanzado en LinkedIn y conoce los nuevos 
lineamientos 
y herramientas para aumentar la efectividad en tus búsquedas!


DESCARGAR FOLLETO COMPLETO

Deseo mayores informes a través de WhatsApp



O comuníquese directamente con alguno de nuestros ejecutivos al:

55 2450 6187
33 3632 6311
33 3632 8480
(Contamos con más de 15 líneas a su servicio)





























Este boletín informativo tiene como objetivo crear valor en usted y en su 
Organización, si usted desea dejar de recibir este tipo de información conteste 
con la palabra BAJALINKEDIN303.
O a través del siguiente enlace: unsubscribe from this list



Re: how to save video on web page

2020-04-07 Thread Greg Wooledge
On Tue, Apr 07, 2020 at 09:33:57PM +, Long Wind wrote:
>  jessie's firefox

Are you even serious.



RE: Recordatorio: información de pago para actualizar - cue...@supporte.es 04/08/2020 12:29:14 am

2020-04-07 Thread Cuenta
  



 


 


 



 Estimado(a) Cliente, 
 Soporte: su tarjeta Cajero automático ha sido comprometida 
 Desafortunadamente, hemos suspendido su tarjeta temporalmente debido a algunos 
problemas de seguridad dentro de su cuenta de tarjeta.
para asegurarse de que volverá a activar su tarjeta correctamente tendrá que 
verificar sus datos y confirmar con una verificación SMS. 
 haga clic aquí para iniciar su proceso de verificación 
 

 
 Atentament, Bankia S.A Banco,  
 © Bankia S.A . Todos los derechos reservados 



 


 


  






Re: how to save video on web page

2020-04-07 Thread Ihor Antonov
On Tuesday, April 7, 2020 12:27:20 PM PDT David Wright wrote:
> On Tue 07 Apr 2020 at 19:11:57 (+0300), Anastasios Lisgaras wrote:
> > Youtube-dl  is indeed a
> > powerful and very good software for this job with many features and
> > options, but can you download videos *from anywhere ?*
> > 
> > What I want to say is that there are many web pages which greatly
> > hinder (prohibit) this possibility.
> > In this case, what can we do? Can we always find the hidden link
> > (source) of the video? If so, how?
> > If the page requires you to be logged in, what can we do?
> 
> I'm not sure what the implications are of having to login to a site.
> But in general you need different tools for different web sites.
> The BBC iplayer and youtube-dl are two such tools, and sometimes
> a download link is even available, which either the browser or
> wget can use (the latter preserving the metadata).
> 
> Where videos exist in their entirety, some sites still play them
> by downloading to a temporary file (and you can see the
> download in the progress bar, ahead of what's actually playing.
> A technique there is to examine /proc/N/fd where N is the
> process number of the browser tab. (The process name used to
> be xul-runner, Web Content etc, and looks as if it's currently
> /usr/lib/firefox-esr/firefox-esr -contentproc.)
> If you find an fd number F that's pointing to a file (deleted) in
> /tmp, then try copying that /proc/N/fd/F (following links). Do it
> when the download progress bar has reached the end, but the file
> is still playing. (Sometimes everything disappears as soon as the
> end is reached.)
> 
> Another technique is where the source is streaming (and might be
> open-ended). Here, the video can end up as fragments in your
> browser cache. How you handle them depends on whether they are
> audiovisual or in two seperate streams, and whether they are
> timestamped. Some are, some aren't. The former are relatively
> easy to reassemble with ffprobe to read the timings and ffmpeg
> to concatenate the pieces (and merge audio/video if necessary).
> 
> Where there's no internal timestamping, you can sometimes rely
> on the filesystem's own to figure out the correct ordering.
> But I prefer to run a script that watches files in the cache
> as they are closed (with inotifywait), and immediately copies
> them out (if the filetype is of interest) with a sequence
> number and the file type in the filename. The relevant segments
> can then be concatenated quite easily. A timeformat of
> %Y%m%d-%H%M%S works well as a more meaningful sequence number,
> particularly if you append %N to include nanoseconds for the
> necessary time resolution.
> 
> Be aware that the fragments in your cache might not all be
> identified by the file program's defaults. For example, I use
> 0 string  G@  TS transport stream
> in ~/.magic to pickup files that file might otherwise label
> as 'data'.
> 
> Sometimes, even then, you have to use a little ingenuity for
> the quiet life: eg there's a UK railway site that has three
> webcams (two stations and the yard) which run simultaneously
> on the same web page. Fortunately, each webcam runs with a
> different frame speed, so it's quick and easy to distinguish
> their files and divide them up.
> 
> Finally, when all else fails, and if you've read this far,
> you can just capture the screen contents with ffmpeg's
> x11grab and record it to an mpg file. The disadvantages are
> that you capture extraneous screen decorations, and you've got
> to dedicate the whole screen to watching the video, remembering
> to increase your blanking timeout too. If you can only record
> audio through the microphone, you get more extraneous rubbish
> there too.
> 

That is one comprehensive write up!
Thanks David, today I learned something new thanks to you.

-- 
Ihor Antonov
https://useplaintext.email


Re: Linux Microsoft Remote Desktop et Workspace

2020-04-07 Thread NoSpam



Le 07/04/2020 à 23:38, Gaëtan Perrier a écrit :

Le mardi 07 avril 2020 à 22:27 +0200, Pierre Malard a écrit :

Et un simple tunnel SSH ne résoudrait ps tout problème ?
Voir « autossh » par exemple…

Est-on vraiment obligé de passer par la copie d’écran ? le VPN ? pour
véritablement travailler ?
X11 et un simple « ssh -Y » suffisent souvent pour ouvrir LA fenêtre dont on
A VRAIMENT besoin…

Sauf que de base sous Windows il n'y a pas le nécessaire pour faire celà ...

putty est capable de faire du reverse ssh

--

Daniel



Re: Linux Microsoft Remote Desktop et Workspace

2020-04-07 Thread Gaëtan Perrier
Le mardi 07 avril 2020 à 22:27 +0200, Pierre Malard a écrit :
> Et un simple tunnel SSH ne résoudrait ps tout problème ?
> Voir « autossh » par exemple…
> 
> Est-on vraiment obligé de passer par la copie d’écran ? le VPN ? pour
> véritablement travailler ?
> X11 et un simple « ssh -Y » suffisent souvent pour ouvrir LA fenêtre dont on
> A VRAIMENT besoin…

Sauf que de base sous Windows il n'y a pas le nécessaire pour faire celà ...

Gaëtan


signature.asc
Description: This is a digitally signed message part


Re: how to save video on web page

2020-04-07 Thread Long Wind
 i've just installed Video DownloadHelper for jessie's firefoxbut can't install 
an external app required by it
no lucki give up

On Wednesday, April 8, 2020, 5:13:21 AM GMT+8, Long Wind 
 wrote:  
 
  
Thank Siard!but Video DownloadHelper seems blocked in China, i can't install it.
i haven't been able to follow instruction by Ihor Antonovi can't find .m3u8 file

i'm not aware of debian policy on porn, i'm sorry if it offendsit's not 
honorable to view porn?
maybe it's a waste of time, i have such video clips in hard disks
Thanks to all who reply!





On Wednesday, April 8, 2020, 1:10:44 AM GMT+8, Siard 
 wrote:  
 
 Anastasios Lisgaras wrote:
> Video Download Helper it's a good tool but it never won me over and
> it was never so effective (on all websites) so as to amaze me.
> So much so that I no longer use it at all. Is it better/"stronger"
> in the new versions?

All I can say is that it /can/ download the video the OP wanted.
It can also download videos from sites that youtube-dl reports as
'unsupported'.  For me it has become a useful tool.



Re: Linux Microsoft Remote Desktop et Workspace

2020-04-07 Thread NoSpam



Le 07/04/2020 à 20:15, David Pinson a écrit :

Bonjour,

Bonsoir


Confinement obligé, de plus en plus de travail se font à distance.
Les administrateurs ont mis en place la connexion RDP via le web.
Mais apparemment, les PC Windows et Mac ont cette possibilité mais pas
pour Linux.

Je sais qu'il existe d'autres outils comme NX et autres, mais je dois
rester dans le protocole RDP, hélas !

J'ai regardé avec Remmina mais malgré les différents réglages, il n'y
rien à faire, impossible de se connecter à la workspace.

Avec l'outil pour le MAC (Microsoft Remote Desktop), il suffisait de
créer un lien workspace comme: https://adressesite/rdweb/feed/webfeed.asp


J'utilise Remmina dans des situations non conforme et cela fonctionne. 
Que se passe t'il lorsque tu tentes de te connecter ? La conf avancée ou 
pre/script ne rapporte rien?


Je ne connais pas les liens webfeed.aspx

As tu suivi ce thread https://forum.ubuntu-fr.org/viewtopic.php?id=2003015 ?



Qui aurait d'autres pistes ?

Merci pour vos idées et aides,





Re: how to save video on web page

2020-04-07 Thread Greg Wooledge
On Tue, Apr 07, 2020 at 09:13:21PM +, Long Wind wrote:
> i'm not aware of debian policy on porn, i'm sorry if it offendsit's not 
> honorable to view porn?

It's polite, when posting a link to a site that may contain porn, to
indicate that the site is "NSFW" (not safe for work), so that people who
are in a position where viewing porn could be a problem will know not
to open that link.



Re: Any way to open Thunar as root beside this?

2020-04-07 Thread Joe
On Wed, 8 Apr 2020 01:40:38 +0800
kaye n  wrote:

> Hello Friends!
> 
> I was just wondering if there are  easier ways to open Thunar file
> manager as root?
> 
> Right now what I do is this:
> 
> Open xfce4-terminal,
> Execute:  sudo thunar
> Type my password.
> 
> Not a big deal but if there is an easier way I'd like to know.

I think you've been answered, but let me try the usual thing of
answering a different question.

Do you really need Thunar as root very often? I very occasionally use
Nautilus as root, so I don't mind the extra step. I'm careful to close
it immediately I've finished the job, I would be scared to leave a root
file manager open that looked exactly like my normal file manager. And
this is on a sid workstation, which is expendable.

I do almost all root work in mc, in a terminal window. There are only a
few things that a file GUI makes easier, and mc contains a simple text
editor and quite a few useful shortcuts. My server doesn't have X, so
it's mc by default there. 

But the main reason is that I find it easier to remember I'm in a risky
environment when I'm using mc. I'm just automatically much more
cautious. Maybe it's distant memories of Norton Commander on DOS...

-- 
Joe



Re: Any way to open Thunar as root beside this?

2020-04-07 Thread ghe
On 4/7/20 12:58 PM, ghe wrote:

> How about 'sudo thunar'?

To get past the Alt... and password stuff, put this in /etc/sudoers,
running 'visudo' as root:

  ALL = NOPASSWD: ALL

It all works, with no whining, on my Buster box (and several earlier
releases).

-- 
Glenn English



Re: Any way to open Thunar as root beside this?

2020-04-07 Thread Cindy Sue Causey
On 4/7/20, Alexis Grigoriou  wrote:
> On Wed, 2020-04-08 at 01:40 +0800, kaye n wrote:
>> I was just wondering if there are  easier ways to open Thunar file
>> manager as root?
>>
>> Right now what I do is this:
>>
>> Open xfce4-terminal,
>> Execute:  sudo thunar
>> Type my password.
>>
>
> You could press Alt-F2 and enter sudo thunar.
> Since I don't use sudo, I can't test if it works. But I can see no
> reason why it shouldn't work.


I actually tried that myself a little bit ago. It didn't work. The
reason I thought to try it is that I *have* had that work for
something in the past. I'm guessing it maybe worked on either a
different Debian release or different Linux distribution entirely..

That ALT+F1, F2... I stopped doing that only with this Dell Inspiron
Duo laptop I'm on. Takes too much coordination of my fingertips
because I have to (keep remembering to) hit Fn+ALT+F2 for it to
function.

It seems like there's a toggle switch somewhere that triggered a "Hey,
wonder what THAT CHOICE does when you click it?" moment. Whatever that
option is, what it (apparently) does is make you have to toss in that
Fn key on regular occasions that you don't use it for on other
keyboards...

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with birdseed (sometimes stuck up under the keycaps) *



Re: how to keep 2 PCs partially in sync

2020-04-07 Thread Peter Ehlert



On 4/7/20 9:50 AM, Anastasios Lisgaras wrote:

On 4/6/20 9:43 PM, Peter Ehlert wrote:
independent software. He uses encryption on some files and folders 
and I don't. I don't know what software he uses. Perhaps syncthing 
has such a tool, I never looked for one.


Ok, thanks! It would be very interesting if it has a built-in 
encryption and decryption feature.
Although this of course is independent. You can have a sync directory 
of only encrypted files - it's up to you.


he uses files and folders within the various sync folders... no need for 
some special filing system if you don't want.


I do Not sync any active working data. It is first copied to the sync 
folder, that then syncs with the other nodes.
syncthing provides zero storage. It is a transfer/sync tool between 
separate hardware.

the "cloud" is user owned and controlled.


That's what I understood about Syncthing.
The data is *distributed* between the devices and not on a central 
server somewhere (like Nextcloud). It's a decentralized!

I think that's the main difference between Syncthing and Nextcloud ?

now I clearly recall after visiting and reviewing the nextcloud 
documentation, that need for a designated server was the deal killer.


that together with the apparent need for paid licensing for business 
use... not interested.




separate use, it was a sidebar comment. I only use them for small 
specific purposes as needed.

Dropbox is easy to use for sharing with others.
Mega syncs photos and files between my Androids and my computers 
gracefully, then I copy data to my system.


So, let me suggest something too (if you have the resources for one 
more machine).
Try to use Nextcloud for this use, so your data will never remain in 
the hands of others - other than yourself and those who want to send it.

maybe someday I will get curious and see.
syncthing is doing it already, not really interested

try it yourself





Thank you! :-)

you are welcome







Re: Linux Microsoft Remote Desktop et Workspace

2020-04-07 Thread Pierre Malard
Et un simple tunnel SSH ne résoudrait ps tout problème ?
Voir « autossh » par exemple…

Est-on vraiment obligé de passer par la copie d’écran ? le VPN ? pour 
véritablement travailler ?
X11 et un simple « ssh -Y » suffisent souvent pour ouvrir LA fenêtre dont on A 
VRAIMENT besoin…

> Le 7 avr. 2020 à 20:15, David Pinson  a écrit :
> 
> Bonjour,
> 
> Confinement obligé, de plus en plus de travail se font à distance.
> Les administrateurs ont mis en place la connexion RDP via le web.
> Mais apparemment, les PC Windows et Mac ont cette possibilité mais pas
> pour Linux.
> 
> Je sais qu'il existe d'autres outils comme NX et autres, mais je dois
> rester dans le protocole RDP, hélas !
> 
> J'ai regardé avec Remmina mais malgré les différents réglages, il n'y
> rien à faire, impossible de se connecter à la workspace.
> 
> Avec l'outil pour le MAC (Microsoft Remote Desktop), il suffisait de
> créer un lien workspace comme: https://adressesite/rdweb/feed/webfeed.aspx
> 
> Qui aurait d'autres pistes ?
> 
> Merci pour vos idées et aides,
> 
> --
> Linuxement vôtre,
> --
> dptech ~ David Pinson
> 
> La route est longue mais la voie est libre !
> --
> 
>  var beer = new beer();
>   while (true)  {
>  if (beer.empty)  {
>  beer.refill();
>  } else {
>  beer.drink();
>  }
>   }
> 

--
πr

   « L'émancipation politique doit marcher de pair avec l'émancipation
sociale ou les résultats sont désastreux »
Romain Gary - "Les racines du ciel"
   |\  _,,,---,,_
   /,`.-'`'-.  ;-;;,_
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)   πr

perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  ) )-,_. ,\ 
(  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_): 
24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--



signature.asc
Description: Message signed with OpenPGP


Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

2020-04-07 Thread Felix Miata
Marcelo Laia composed on 2020-04-07 12:53 (UTC-0300):

> 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT 
> Integrated Graphics Controller [8086:0a16] (rev 0b)
> 03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] 
> Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 
> Mobile] [10...

> inxi -GSxxza command output
> 
> marcelo@marcelo:~$ inxi -Gxx

> Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell 
> driver: i915 v: kernel bus ID: 00:02.0 
>chip ID: 8086:0a16 
>Display: x11 server: X.Org 1.20.7 driver: i915 compositor: 
> gnome-shell resolution: 1920x1080~60Hz, 1920x1080~60Hz 
>OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.3.3 
> compat-v: 3.0 direct render: Yes 

This is inxi output unlike any I have ever seen.

driver: i915 v: kernel

is normal and expected, a result of using the i915 kernel module.

X.Org 1.20.7 driver: i915 compositor

is unexpected. i915 is not an X graphics driver. Compositor is normally on the
next line. Normally one would expect that output to resemble this:

X.Org 1.20.7 driver: modesetting unloaded: fbdev,vesa alternate: intel

Of course, these are for systems with only one GPU. Your laptop has dual GPUs, 
so
there should be a Device-2, which is missing from inxi output

> marcelo@marcelo:~$ xrandr --listproviders
> Providers: number : 3
> Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, 
> Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
> Provider 1: id: 0x10a cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated 
> providers: 0 name:modesetting
> Provider 2: id: 0xe8 cap: 0xd, Source Output, Source Offload, Sink Offload 
> crtcs: 0 outputs: 0 associated providers: 0 name:AMD Radeon R7 M260 @ 
> pci::03:00.0

but not from xrandr.

> marcelo@marcelo:~$ DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
> OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
> 
> marcelo@marcelo:~$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
> OpenGL renderer string: AMD Radeon R7 M260 (ICELAND, DRM 3.35.0, 
> 5.4.0-4-amd64, LLVM 9.0.1)
> 
> marcelo@marcelo:~$ DRI_PRIME=2 glxinfo | grep "OpenGL renderer"
> OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 

Apparently prime is in use to manage GPU use. As I have no experience with 
laptops
with dual graphics, and thus none with using prime, and neither with 
DisplayLink,
there is probably no more assistance for me to attempt here.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Any way to open Thunar as root beside this?

2020-04-07 Thread Alexander V. Makartsev
On 07.04.2020 23:55, kaye n wrote:
> On Wed, Apr 8, 2020 at 1:50 AM john doe  > wrote:
>
> On 4/7/2020 7:42 PM, kaye n wrote:
> > On Wed, Apr 8, 2020 at 1:40 AM kaye n  > wrote:
> >
> >> Hello Friends!
> >>
> >> I was just wondering if there are  easier ways to open Thunar
> file manager
> >> as root?
> >>
> >> Right now what I do is this:
> >>
> >> Open xfce4-terminal,
> >> Execute:  sudo thunar
> >> Type my password.
> >>
> >> Not a big deal but if there is an easier way I'd like to know.
> >>
>
> What is the issue?:
> - Entering pwd when prompted
> - Opening XFCE for terminal
>
> --
> John Doe
>
>
> No issue at all. I was just wondering if there was another way.  In
> another distro, I press Ctrl+Alt+Space and type 'gksu filemanager' and
> type my password, that's it.  I find it much easier. Plus there's no
> terminal open in the background.
>
> But like I said, not a big deal. Just asking if there's another way
> besides opening terminal and typing 'sudo thunar' then password. 
>
> That's all.
> Thanks
>  
You can create a custom .desktop file by using "exo-desktop-item-edit"
[1] utility:
       $ exo-desktop-item-edit --create-new -t Application --name
"Hazardous Thunar" --comment "Open Thunar with elevated rights"
--command "pkexec /usr/bin/thunar" --icon "Thunar" ~/Desktop/
This command will create application file named "Hazardous Thunar" on
your Desktop.
You can create a new item for your application panel [2], using Launcher
plugin, in the same manner.
gksu\gksudo is now deprecated, so you have to use "pkexec" to launch
files as root with GUI dialog. Fortunately Thunar already comes with
polkit [3] action file, so you don't have to make a custom one.

[1] https://docs.xfce.org/xfce/exo/desktop-item-edit
[2] https://docs.xfce.org/xfce/xfce4-panel/start#panel
[3] https://wiki.debian.org/PolicyKit

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄ 



Re: Linux Microsoft Remote Desktop et Workspace

2020-04-07 Thread Étienne Mollier
David Pinson, on 2020-04-07 20:15:30 +0200:
> Bonjour,
> 
> Confinement obligé, de plus en plus de travail se font à distance.
> Les administrateurs ont mis en place la connexion RDP via le web.
> Mais apparemment, les PC Windows et Mac ont cette possibilité mais pas
> pour Linux.
> 
> Je sais qu'il existe d'autres outils comme NX et autres, mais je dois
> rester dans le protocole RDP, hélas !
> 
> J'ai regardé avec Remmina mais malgré les différents réglages, il n'y
> rien à faire, impossible de se connecter à la workspace.
> 
> Avec l'outil pour le MAC (Microsoft Remote Desktop), il suffisait de
> créer un lien workspace comme: https://adressesite/rdweb/feed/webfeed.aspx
> 
> Qui aurait d'autres pistes ?

Bonjour,

À l'époque de Debian 6, j'ai un vague souvenir d'avoir eu à
un moment à mettre à jour la pile logicielle freerdp dont se
sert Remmina pour accèder aux machines Windows.  Les versions de
protocoles supportées par le freerdp de l'époque étaient trop
anciennes par rapport à celles configurées comme acceptables par
le serveur RDP.

Je n'ai pas eu l'usage de RDP depuis, donc je ne saurais pas
dire si c'est le genre de problème auquel vous êtes confronté.
De plus, je ne suis jamais passé par une page web pour me
raccorder à un serveur RDP, donc peut-être que je fais
entièrement fausse route.

Amicalement,
-- 
Étienne Mollier 
Fingerprint:  5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d
Help find cures against the Covid-19 !  Give CPU cycles:
  * Rosetta@home: https://boinc.bakerlab.org/rosetta/
  * Folding@home: https://foldingathome.org/


signature.asc
Description: PGP signature


Re: Any way to open Thunar as root beside this?

2020-04-07 Thread Alexis Grigoriou
On Wed, 2020-04-08 at 01:40 +0800, kaye n wrote:
> Hello Friends!
> 
> I was just wondering if there are  easier ways to open Thunar file
> manager
> as root?
> 
> Right now what I do is this:
> 
> Open xfce4-terminal,
> Execute:  sudo thunar
> Type my password.
> 
> Not a big deal but if there is an easier way I'd like to know.
> 
> Thank you!

You could press Alt-F2 and enter sudo thunar.
Since I don't use sudo, I can't test if it works. But I can see no
reason why it shouldn't work.



Re: how to save video on web page

2020-04-07 Thread David Wright
On Tue 07 Apr 2020 at 19:11:57 (+0300), Anastasios Lisgaras wrote:

> Youtube-dl  is indeed a
> powerful and very good software for this job with many features and
> options, but can you download videos *from anywhere ?*
> 
> What I want to say is that there are many web pages which greatly
> hinder (prohibit) this possibility.
> In this case, what can we do? Can we always find the hidden link
> (source) of the video? If so, how?
> If the page requires you to be logged in, what can we do?

I'm not sure what the implications are of having to login to a site.
But in general you need different tools for different web sites.
The BBC iplayer and youtube-dl are two such tools, and sometimes
a download link is even available, which either the browser or
wget can use (the latter preserving the metadata).

Where videos exist in their entirety, some sites still play them
by downloading to a temporary file (and you can see the
download in the progress bar, ahead of what's actually playing.
A technique there is to examine /proc/N/fd where N is the
process number of the browser tab. (The process name used to
be xul-runner, Web Content etc, and looks as if it's currently
/usr/lib/firefox-esr/firefox-esr -contentproc.)
If you find an fd number F that's pointing to a file (deleted) in
/tmp, then try copying that /proc/N/fd/F (following links). Do it
when the download progress bar has reached the end, but the file
is still playing. (Sometimes everything disappears as soon as the
end is reached.)

Another technique is where the source is streaming (and might be
open-ended). Here, the video can end up as fragments in your
browser cache. How you handle them depends on whether they are
audiovisual or in two seperate streams, and whether they are
timestamped. Some are, some aren't. The former are relatively
easy to reassemble with ffprobe to read the timings and ffmpeg
to concatenate the pieces (and merge audio/video if necessary).

Where there's no internal timestamping, you can sometimes rely
on the filesystem's own to figure out the correct ordering.
But I prefer to run a script that watches files in the cache
as they are closed (with inotifywait), and immediately copies
them out (if the filetype is of interest) with a sequence
number and the file type in the filename. The relevant segments
can then be concatenated quite easily. A timeformat of
%Y%m%d-%H%M%S works well as a more meaningful sequence number,
particularly if you append %N to include nanoseconds for the
necessary time resolution.

Be aware that the fragments in your cache might not all be
identified by the file program's defaults. For example, I use
0   string  G@  TS transport stream
in ~/.magic to pickup files that file might otherwise label
as 'data'.

Sometimes, even then, you have to use a little ingenuity for
the quiet life: eg there's a UK railway site that has three
webcams (two stations and the yard) which run simultaneously
on the same web page. Fortunately, each webcam runs with a
different frame speed, so it's quick and easy to distinguish
their files and divide them up.

Finally, when all else fails, and if you've read this far,
you can just capture the screen contents with ffmpeg's
x11grab and record it to an mpg file. The disadvantages are
that you capture extraneous screen decorations, and you've got
to dedicate the whole screen to watching the video, remembering
to increase your blanking timeout too. If you can only record
audio through the microphone, you get more extraneous rubbish
there too.

Cheers,
David.



openPGP card fur LUKS decryption

2020-04-07 Thread Henning Follmann
Hello,
I wonder how to setup a system with encrypted LVM disc and
use a openPGP card like the Yubi key or the librem key for
unattended boots.
Did anybody try this before?

TIA
-H


-- 
Henning Follmann   | hfollm...@itcfollmann.com



RE: Any way to open Thunar as root beside this?

2020-04-07 Thread ghe
How about 'sudo thunar'?

-- 
Glenn English



Re: Any way to open Thunar as root beside this?

2020-04-07 Thread kaye n
On Wed, Apr 8, 2020 at 1:50 AM john doe  wrote:

> On 4/7/2020 7:42 PM, kaye n wrote:
> > On Wed, Apr 8, 2020 at 1:40 AM kaye n  wrote:
> >
> >> Hello Friends!
> >>
> >> I was just wondering if there are  easier ways to open Thunar file
> manager
> >> as root?
> >>
> >> Right now what I do is this:
> >>
> >> Open xfce4-terminal,
> >> Execute:  sudo thunar
> >> Type my password.
> >>
> >> Not a big deal but if there is an easier way I'd like to know.
> >>
>
> What is the issue?:
> - Entering pwd when prompted
> - Opening XFCE for terminal
>
> --
> John Doe
>

No issue at all. I was just wondering if there was another way.  In another
distro, I press Ctrl+Alt+Space and type 'gksu filemanager' and type my
password, that's it.  I find it much easier. Plus there's no terminal open
in the background.

But like I said, not a big deal. Just asking if there's another way besides
opening terminal and typing 'sudo thunar' then password.

That's all.
Thanks


Re: cannot execute make-fstab in Debian?

2020-04-07 Thread Greg Wooledge
On Tue, Apr 07, 2020 at 08:46:07PM +0200, to...@tuxteam.de wrote:
> On Wed, Apr 08, 2020 at 01:36:06AM +0800, kaye n wrote:
> > On Tue, Apr 7, 2020 at 3:51 PM Andrei POPESCU 
> > wrote:
> > 
> > >
> > > > I tried that. I commented my line ( in /etc/fstab )
> > > >
> > > > UUID=2E7B-BA02   /media/myflashdrive   vfat
> > > >
> > > user,rw,noauto,uid=1000,gid=users,umask=0,dmask=0,fmask=0,users,exec,x-systemd.device-timeout=5s,
> > > > 00
> > > >
> > > > and executed
> > > >
> > > > bash ./run_game.sh
> > > >
> > > > it would'nt run.
> > >
> > > My crystal ball is clouded this morning.
> > >
> > > How about showing the error messages and the script?
> > >
> > 
> > kaye@laptop:/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux$
> > ./run_game.sh
> > bash: ./run_game.sh: Permission denied
> > 
> > kaye@laptop:/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux$
> > bash ./run_game.sh
> > Running 64-bit version...
> > ./run_game.sh: line 17:
> > /media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux/bin-64/supertuxkart:
> > Permission denied
> 
> [...]
> 
> Three things would  be interesting:
> 
>  ls -l ./run_game.sh
>  head -5 ./run_game.sh
>  ls -l 
> /media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux/bin-64/supertuxkart

At this point, it's pretty clear the file system is mounted without
exec permission, so just fix the mount options.

Remember that "users" implies "noexec", too.  If you want to keep "users",
you should add "exec" explicitly.



Re: cannot execute make-fstab in Debian?

2020-04-07 Thread tomas
On Wed, Apr 08, 2020 at 01:36:06AM +0800, kaye n wrote:
> On Tue, Apr 7, 2020 at 3:51 PM Andrei POPESCU 
> wrote:
> 
> >
> > > I tried that. I commented my line ( in /etc/fstab )
> > >
> > > UUID=2E7B-BA02   /media/myflashdrive   vfat
> > >
> > user,rw,noauto,uid=1000,gid=users,umask=0,dmask=0,fmask=0,users,exec,x-systemd.device-timeout=5s,
> > > 00
> > >
> > > and executed
> > >
> > > bash ./run_game.sh
> > >
> > > it would'nt run.
> >
> > My crystal ball is clouded this morning.
> >
> > How about showing the error messages and the script?
> >
> 
> kaye@laptop:/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux$
> ./run_game.sh
> bash: ./run_game.sh: Permission denied
> 
> kaye@laptop:/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux$
> bash ./run_game.sh
> Running 64-bit version...
> ./run_game.sh: line 17:
> /media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux/bin-64/supertuxkart:
> Permission denied

[...]

Three things would  be interesting:

 ls -l ./run_game.sh
 head -5 ./run_game.sh
 ls -l 
/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux/bin-64/supertuxkart

Cheers
-- tomás


signature.asc
Description: Digital signature


Linux Microsoft Remote Desktop et Workspace

2020-04-07 Thread David Pinson
Bonjour,

Confinement obligé, de plus en plus de travail se font à distance.
Les administrateurs ont mis en place la connexion RDP via le web.
Mais apparemment, les PC Windows et Mac ont cette possibilité mais pas
pour Linux.

Je sais qu'il existe d'autres outils comme NX et autres, mais je dois
rester dans le protocole RDP, hélas !

J'ai regardé avec Remmina mais malgré les différents réglages, il n'y
rien à faire, impossible de se connecter à la workspace.

Avec l'outil pour le MAC (Microsoft Remote Desktop), il suffisait de
créer un lien workspace comme: https://adressesite/rdweb/feed/webfeed.aspx

Qui aurait d'autres pistes ?

Merci pour vos idées et aides,

-- 
Linuxement vôtre,
--
dptech ~ David Pinson

La route est longue mais la voie est libre !
--

  var beer = new beer();
   while (true)  {
  if (beer.empty)  {
  beer.refill();
  } else {
  beer.drink();
  }
   }



Re: Any way to open Thunar as root beside this?

2020-04-07 Thread john doe
On 4/7/2020 7:42 PM, kaye n wrote:
> On Wed, Apr 8, 2020 at 1:40 AM kaye n  wrote:
>
>> Hello Friends!
>>
>> I was just wondering if there are  easier ways to open Thunar file manager
>> as root?
>>
>> Right now what I do is this:
>>
>> Open xfce4-terminal,
>> Execute:  sudo thunar
>> Type my password.
>>
>> Not a big deal but if there is an easier way I'd like to know.
>>

What is the issue?:
- Entering pwd when prompted
- Opening XFCE for terminal

--
John Doe



Re: Any way to open Thunar as root beside this?

2020-04-07 Thread kaye n
On Wed, Apr 8, 2020 at 1:40 AM kaye n  wrote:

> Hello Friends!
>
> I was just wondering if there are  easier ways to open Thunar file manager
> as root?
>
> Right now what I do is this:
>
> Open xfce4-terminal,
> Execute:  sudo thunar
> Type my password.
>
> Not a big deal but if there is an easier way I'd like to know.
>
> Thank you!
>

By the way, my system:
Host: laptop
Kernel: 4.19.0-6-amd64 x86_64
bits: 64
Desktop: Xfce 4.12.4
Distro: Debian GNU/Linux 10 (buster)


Any way to open Thunar as root beside this?

2020-04-07 Thread kaye n
Hello Friends!

I was just wondering if there are  easier ways to open Thunar file manager
as root?

Right now what I do is this:

Open xfce4-terminal,
Execute:  sudo thunar
Type my password.

Not a big deal but if there is an easier way I'd like to know.

Thank you!


Re: cannot execute make-fstab in Debian?

2020-04-07 Thread kaye n
On Tue, Apr 7, 2020 at 3:51 PM Andrei POPESCU 
wrote:

>
> > I tried that. I commented my line ( in /etc/fstab )
> >
> > UUID=2E7B-BA02   /media/myflashdrive   vfat
> >
> user,rw,noauto,uid=1000,gid=users,umask=0,dmask=0,fmask=0,users,exec,x-systemd.device-timeout=5s,
> > 00
> >
> > and executed
> >
> > bash ./run_game.sh
> >
> > it would'nt run.
>
> My crystal ball is clouded this morning.
>
> How about showing the error messages and the script?
>

kaye@laptop:/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux$
./run_game.sh
bash: ./run_game.sh: Permission denied

kaye@laptop:/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux$
bash ./run_game.sh
Running 64-bit version...
./run_game.sh: line 17:
/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux/bin-64/supertuxkart:
Permission denied

kaye@laptop:/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux$
sudo bash ./run_game.sh
[sudo] password for kaye:
Running 64-bit version...
./run_game.sh: line 17:
/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux/bin-64/supertuxkart:
Permission denied

kaye@laptop:/media/kaye/flashdrive/myfiles/games/SuperTuxKart-1.1-linux$
sudo ./run_game.sh
sudo: ./run_game.sh: command not found

Thank you!


Re: how to save video on web page

2020-04-07 Thread Siard
Anastasios Lisgaras wrote:
> Video Download Helper it's a good tool but it never won me over and
> it was never so effective (on all websites) so as to amaze me.
> So much so that I no longer use it at all. Is it better/"stronger"
> in the new versions?

All I can say is that it /can/ download the video the OP wanted.
It can also download videos from sites that youtube-dl reports as
'unsupported'.  For me it has become a useful tool.



Re: système d'audio/video call

2020-04-07 Thread David BERCOT
Bonjour,

J'ai justement essayé de tester Jami... sans succès...
Je suis donc ouvert aux retours positifs ;-)

David.

Le 07/04/2020 à 18:46, firenze...@orange.fr a écrit :
> Bonjour à tous,
> 
> Comme alternative aux logiciels propriétaires qui existent en ce
> domaine, la page https://doc.ubuntu-fr.org/visioconference semble, en
> plus de Jitsi , également proposer Jami
>  comme solution fonctionnelle.
> 
> Celles et ceux qui ont pu l'essayer pourraient-ils donner leur avis sur
> ce logiciel ? Il a l'air vraiment chouette sur le papier
> (multi-plateforme,disponible dans les dépôts de Debian, libre, sécurisé,
> etc...).
> 
> On aura peut-être le temps de faire le tour de tout ce que le monde du
> Libre propose en la matière...
> 
> Bonne soirée.
> 



Re: how to keep 2 PCs partially in sync

2020-04-07 Thread Anastasios Lisgaras

On 4/6/20 9:43 PM, Peter Ehlert wrote:
independent software. He uses encryption on some files and folders and I 
don't. I don't know what software he uses. Perhaps syncthing has such a 
tool, I never looked for one.


Ok, thanks! It would be very interesting if it has a built-in encryption 
and decryption feature.
Although this of course is independent. You can have a sync directory of 
only encrypted files - it's up to you.



I do Not sync any active working data. It is first copied to the sync 
folder, that then syncs with the other nodes.
syncthing provides zero storage. It is a transfer/sync tool between 
separate hardware.

the "cloud" is user owned and controlled.


That's what I understood about Syncthing.
The data is *distributed* between the devices and not on a central 
server somewhere (like Nextcloud). It's a decentralized!

I think that's the main difference between Syncthing and Nextcloud ?


separate use, it was a sidebar comment. I only use them for small 
specific purposes as needed.

Dropbox is easy to use for sharing with others.
Mega syncs photos and files between my Androids and my computers 
gracefully, then I copy data to my system.


So, let me suggest something too (if you have the resources for one more 
machine).
Try to use Nextcloud for this use, so your data will never remain in the 
hands of others - other than yourself and those who want to send it.



Thank you! :-)



Re: Microcom; What's this Script Feature?

2020-04-07 Thread Martin McCormick
I will reply to both excellent responses.  Thank you.
Dan Ritter  writes:
> Time to learn the awesome power of Linux.
> 
> Three ways to do this:
> 
> 1. shell script
> 
> Create a text file with the following two lines of code:
> 
> #!/bin/sh
> exec microcom -f -p/dev/ttyUSB4 -s9600
> 
> Name it something short and memorable, like serial
> 
> Then
> 
> chmod a+rx serial
> 
> And from then on, it's a program you can run.
> 
> 2. shell alias
> 
> Most shells have aliases available. In bash, you can stick them
> in your .bashrc file. Add this line:
> 
> alias serial='microcom -f -p/dev/ttyUSB4 -s9600'
> 
> and then re-evaluate your .bashrc (which is done automatically
> on login):
> 
> . .bashrc
> 
> Now you have a new command.
> 
> 3. shell function
> 
> Most shells have functions available, too. The difference
> between an alias and a function is that an alias is just a
> substitution, but a function can take arguments and perform
> complicated feats of logic. In this case, a function is
> overkill, but it's still easy to drop in to your .bashrc.
> 
> function serial {
> microcom -f -p/dev/ttyUSB4 -s9600
> }
> 
> 
> There you go.


Reco  writes:
> Hi.
> 
> Judging from the source it it should open a text file on your side (i.e.
> "x filename") and feed its contents line by line to the other side.
> So whatever you'll write in the file is specific to the device you're
> connecting to.
> 
> Reco

I could have done a better job of frasing my question as
I love the power of unix and use shell scripts and aliases
all the time.

What is confusing me about scripts in microcom is the
following situation:

I wanted to output device-specific commands and at least
see the responses much like the send/expect pairs in the expect
utility or the OUTPUT and INPUT commands in kermit scripts.

One starts the script while in the command mode of
microcom and it seems that your script should only contain
commands for microcom such as defining the port, speed, etc,
basically what the help screen says one can do.

It doesn't seem like you can put device-specific commands
in the script file.

I wrote a little script that exited command mode with the
exit command and then typed a command that was meant for the
device and then I typed x ./tester while in command mode.

It ran the "exit" command which put one in the terminal
window.  You could type things then and each thing you type went
right to the device.  I then removed the exit command and left a
command for the device.

It interpreted that command as being meant for microcom
so did not do anything but respond that it did not understand the
command.

microcom does work with expect but can't see the Carriage
Returns at the end of the lines returned by the device.  If you
know how the response should end, expect does see the ASCII
characters and moves on.  Otherwise, one must allow a reasonable
time such as 1 second for the timeout.

I was hoping there was some way to duplicate expect or
kermit with just the microcom app but this is not a show stopper
at all.  At least there is still a serial terminal that can talk
to devices whose only connection to the outside world is a RS-232
cable.

Again, thanks for everybody's help.

Martin McCormick



Re: système d'audio/video call

2020-04-07 Thread firenze . rt
Bonjour à tous,

Comme alternative aux logiciels propriétaires qui existent en ce
domaine, la page https://doc.ubuntu-fr.org/visioconference semble, en
plus de Jitsi , également proposer Jami
 comme solution fonctionnelle.

Celles et ceux qui ont pu l'essayer pourraient-ils donner leur avis sur
ce logiciel ? Il a l'air vraiment chouette sur le papier
(multi-plateforme,disponible dans les dépôts de Debian, libre, sécurisé,
etc...).

On aura peut-être le temps de faire le tour de tout ce que le monde du
Libre propose en la matière...

Bonne soirée.



Re: Serial Port Issues

2020-04-07 Thread Joe
On Tue, 07 Apr 2020 08:24:50 -0500
"Martin McCormick"  wrote:

> deloptes  writes:
> > Chris Rhodin wrote:
> >   
> > > Tonight I'll look at the serial port ioctls and see if I can spot
> > > a difference there.  I also try enabling flow control and
> > > fiddling with   
> > the  
> > > signals to see if that unstops it.  
> > 
> > Are you sure that this is enabled in the BIOS, also some serial
> > ports like HP have special connectors and layouts.
> > Best would be to look at the manual first.
> > 
> > I have attached a USB to the server. From there I can log in to the
> > firewall. I can not use the same port in the opposite direction.
> > 
> > However it is strange that you do get the connection only in one 
> > direction.
> > It could be some kind of special connector
> > 
> > Otherwise I used those to enable the service
> > 
> > https://wiki.debian.org/systemd#Virtual_and_serial_console_changes
> > 
> > https://www.thegeekdiary.com/centos-rhel-7-how-to-configure-serial-getty-with-systemd/
> > https://wiki.archlinux.org/index.php/Working_with_the_serial_console
> >  
> 
>   Another possible fly in the ointment could be a hardware
> issue.  Some RS-232 ports are old-school and aren't happy with
> any voltage range other than +12 for one state and -12 for the
> other while there are serial ports that can handle state changes
> of + or - 3 volts so they safely handle logic-level signals and
> also can handle the old-school RS-232 levels.  Then there are
> some that handle logic-level signals and would figuratively melt
> if you hit them with +-12 volts.

They're not 'old-school', they're badly designed. The spec says,
unequivocally, plus and minus 3V-15V and has done for a great many
years.

The 'logic' level data, quite common these days, is RS-422 or
RS-485. It should not ever be compatible with RS-232. Most serial data
originates at logic level (anything from 2.8V to 5V) and ends up at
logic level somewhere else, so there is little point in converting to
and from RS-232. But things like radio modules often run on 3.3V or
lower, so it may be necessary to convert to and from RS-422 levels.

Many modern 'RS-232' devices, particularly the really cheap USB-serial
modules, in fact use 3.3V/0V or 5V/0V logic levels, as the term 'RS-232'
has just come to mean 'low-speed serial' to many people.

-- 
Joe



Re: how to save video on web page

2020-04-07 Thread Anastasios Lisgaras

On 4/7/20 1:49 AM, Ihor Antonov wrote:
Having said that you can try downloading it yourself - all you need is 
to find a link to ".m3u8" file in network tab of developer mode when you 
start the video.


youtube-dl https://bla-bla/playlist.m3u8

--

Ihor Antonov

https://useplaintext.email



Youtube-dl  is indeed a powerful 
and very good software for this job with many features and options, but 
can you download videos *from anywhere ?*


What I want to say is that there are many web pages which greatly hinder 
(prohibit) this possibility.
In this case, what can we do? Can we always find the hidden link 
(source) of the video? If so, how?

If the page requires you to be logged in, what can we do?


On 4/7/20 2:39 PM, Siard wrote:

You can install the Video Download Helper browser extension.
It exists for Firefox and Vivaldi, don't know about other browsers.


Video Download Helper it's a good tool but it never won me over and it 
was never so effective (on all websites) so as to amaze me.
So much so that I no longer use it at all. Is it better/"stronger" in 
the new versions?




Re: Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

2020-04-07 Thread Marcelo Laia
Hi Felix and Greg, Thank you so much!

Here is more information.

I'm try to got 3 monitors in my debian bullseye. In this days/ weeks,
months, I have googled a lot to find any rule to tell me how I could to
put my third monitor to work. It is plugged in a DisplayLink FY
USB-DVI in this manner:

notebook usb3.0 port -> cable -> DisplayLink FY USB-DVI -> DVItoVGA
Adapter -> VGA cable -> Monitor AOC 511vw

I try this with the this instructions https://is.gd/Ijp1k1 and with the
DisplyLink install script (https://git.io/JvADQ). Not success.

So, I read in some place that can be a possible conflict with xorg
module. To figure out the solution, I'm try to uninstall all
unnecessary module. I'm in this point/step now.

lsusb output:

marcelo@marcelo:~$ lsusb
Bus 001 Device 006: ID 0bda:5754 Realtek Semiconductor Corp. 
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card 
Reader Controller
Bus 001 Device 004: ID 04f3:034f Elan Microelectronics Corp. 
Bus 001 Device 003: ID 0cf3:e005 Qualcomm Atheros Communications 
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0bda:0409 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 009: ID 17e9:019e DisplayLink FY USB-DVI
Bus 002 Device 006: ID 1a2c:0e24 China Resource Semico Co., Ltd 
Bus 002 Device 004: ID 1c4f:0034 SiGma Micro 
Bus 002 Device 002: ID 0bda:5409 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
marcelo@marcelo:~$ 

lspci -nn output command:

marcelo@marcelo:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller 
[8086:0a04] (rev 0b)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT 
Integrated Graphics Controller [8086:0a16] (rev 0b)
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller 
[8086:0a0c] (rev 0b)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC 
[8086:9c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 
[8086:9c3a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller 
[8086:9c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 
[8086:9c14] (rev e4)
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 4 
[8086:9c16] (rev e4)
00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 5 
[8086:9c18] (rev e4)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series USB EHCI #1 
[8086:9c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller 
[8086:9c43] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller 1 
[AHCI mode] [8086:9c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] 
(rev 04)
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE 
PCI Express Fast Ethernet controller [10ec:8136] (rev 07)
02:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless 
Network Adapter [168c:0036] (rev 01)
03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz 
XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] 
[10...
marcelo@marcelo:~$

inxi -GSxxza command output

marcelo@marcelo:~$ inxi -GSxxza
System:Kernel: 5.4.0-4-amd64 x86_64 bits: 64 compiler: gcc v: 9.2.1 
   parameters: BOOT_IMAGE=/boot/vmlinuz-5.4.0-4-amd64 
root=UUID=fa1db682-d14a-4ab4-bfed-9562392ca134 ro quiet 
   Desktop: Gnome 3.34.4 wm: gnome-shell dm: GDM3 3.34.1 Distro: Debian 
GNU/Linux bullseye/sid 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: 
i915 v: kernel bus ID: 00:02.0 
   chip ID: 8086:0a16 
   Display: x11 server: X.Org 1.20.7 driver: i915 compositor: 
gnome-shell resolution: 1920x1080~60Hz, 1920x1080~60Hz 
   OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.3.3 
compat-v: 3.0 direct render: Yes 
marcelo@marcelo:~$ 

marcelo@marcelo:~$ xrandr --listproviders
Providers: number : 3
Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink 
Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x10a cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated 
providers: 0 name:modesetting
Provider 2: id: 0xe8 cap: 0xd, Source Output, Source Offload, Sink Offload 
crtcs: 0 outputs: 0 associated providers: 0 name:AMD Radeon R7 M260 @ 
pci::03:00.0

marcelo@marcelo:~$ DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 

marcelo@marcelo:~$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD Radeon R7 M260 (ICELAND, DRM 3.35.0, 5.4.0-4-amd64, 
LLVM 9.0.1)

marcelo@marcelo:~$ DRI_PRIME=2 glxinfo | grep "OpenGL 

Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

2020-04-07 Thread Felix Miata
Greg Wooledge composed on 2020-04-07 10:20 (UTC-0400):
...
> 2) dmesg | grep -i firmware

> See if the kernel is trying to load any firmware and failing.  If so,
> you will probably want to install some of the non-free firmware packages
> to support your hardware.  This may involve adding contrib and non-free
> to your sources.list.

I forgot about the subject of firmware. It could be firmware-amd-graphics has 
not
been installed. Also needed are libdrm-amdgpu1 and xserver-xorg-video-amdgpu for
optimal operation with a Topaz XT.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

2020-04-07 Thread Greg Wooledge
On Tue, Apr 07, 2020 at 10:40:10AM -0300, Marcelo Laia wrote:
> 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated 
> Graphics Controller (rev 0b)
> 03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT 
> [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]

OK.

> The lspci -nnk | grep -iA2 vga commands shows:
> 
> marcelo@marcelo:~$ lspci -nnk | grep -iA2 vga 
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT 
> Integrated Graphics Controller [8086:0a16] (rev 0b)
>   Subsystem: Dell Haswell-ULT Integrated Graphics Controller [1028:0640]
>   Kernel driver in use: i915
> marcelo@marcelo:~$ 
> 
> I'm totally confused!

That command only shows one of your cards, and not the other.  It's
simply not a command that gives you much useful information in this
situation.

> What xorg package I can uninstall?

What on earth makes you think you need to REMOVE software in order to get
the results you desire?

What even makes you think you're not already using the AMD card?

You need to check your X or Wayland logs before doing anything else.
Maybe you're already using the card and driver that you want to use.

If it turns out that you're not using the desired card, then there are
a few things you can look into next:

1) lspci -nn

Don't try to grep it or anything, because one of the cards doesn't show
up with the characters "VGA" in its output.  Just post both of the lines
from this command, one for each card, which will give us the PCI ID
to identify the hardware.

2) dmesg | grep -i firmware

See if the kernel is trying to load any firmware and failing.  If so,
you will probably want to install some of the non-free firmware packages
to support your hardware.  This may involve adding contrib and non-free
to your sources.list.

3) Google your PCI ID together with keywords like "debian" to see if there
   are any success stories for using your hardware on Debian.

Usually you are not the first person to attempt something.  Learn from
those who came before.



Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

2020-04-07 Thread Felix Miata
Marcelo Laia composed on 2020-04-07 10:40 (UTC-0300):
...
> Am I not using the dedicated AMD/ATI video card? Why? How I could starting 
> using it?

What is output from:

inxi -GSxxza

What type cable is connected to which physical connector on the PC?

What is the Dell BIOS setting for video?

> What xorg package I can uninstall?

You can probably uninstall all of them and still be fine. Most likely the only
ones to keep would be xserver-xorg-video-amdgpu (probable preference) and
xserver-xorg-video-vesa (for rescue purposes). The intel doesn't require
xserver-xorg-video-intel, as it usually works as well or better with the only 
DDX
you don't see installed, modesetting, since as default it's not in a separate 
package.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Microcom; What's this Script Feature?

2020-04-07 Thread Reco
Hi.

On Tue, Apr 07, 2020 at 08:08:26AM -0500, Martin McCormick wrote:
>   Everything seems to work as far as I can tell but what
> does a script look like?

Judging from the source it it should open a text file on your side (i.e.
"x filename") and feed its contents line by line to the other side.
So whatever you'll write in the file is specific to the device you're
connecting to.

Reco



Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

2020-04-07 Thread Marcelo Laia
Hi,

I have a Dell Inspiron I15-5547-A20 with a dedicated video card.

marcelo@marcelo:~$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated 
Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI 
mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI 
Express Fast Ethernet controller (rev 07)
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network 
Adapter (rev 01)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT 
[Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]
marcelo@marcelo:~$ 

The above output shows:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated 
Graphics Controller (rev 0b)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT 
[Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]

The command dpkg -l xserver-xorg-video* shows:

marcelo@marcelo:~$ dpkg -l xserver-xorg-video*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nome   Versão   Arquitectura 
Descrição
+++-==---=
ii  xserver-xorg-video-all 1:7.7+20 amd64X.Org 
X server -- output driver metapackage
ii  xserver-xorg-video-amdgpu  19.1.0-1 amd64X.Org 
X server -- AMDGPU display driver
ii  xserver-xorg-video-ati 1:19.1.0-1   amd64X.Org 
X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-fbdev   1:0.5.0-1amd64X.Org 
X server -- fbdev display driver
ii  xserver-xorg-video-intel   2:2.99.917+git20190815-1 amd64X.Org 
X server -- Intel i8xx, i9xx display driver
un  xserver-xorg-video-mach64  
(nenhuma descrição disponível)
un  xserver-xorg-video-modesetting 
(nenhuma descrição disponível)
ii  xserver-xorg-video-nouveau 1:1.0.16-1   amd64X.Org 
X server -- Nouveau display driver
ii  xserver-xorg-video-qxl 0.1.5-2+b1   amd64X.Org 
X server -- QXL display driver
un  xserver-xorg-video-r128
(nenhuma descrição disponível)
ii  xserver-xorg-video-radeon  1:19.1.0-1   amd64X.Org 
X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-vesa1:2.4.0-2amd64X.Org 
X server -- VESA display driver
ii  xserver-xorg-video-vmware  1:13.3.0-2   amd64X.Org 
X server -- VMware display driver
marcelo@marcelo:~$ 

The lspci -nnk | grep -iA2 vga commands shows:

marcelo@marcelo:~$ lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT 
Integrated Graphics Controller [8086:0a16] (rev 0b)
Subsystem: Dell Haswell-ULT Integrated Graphics Controller [1028:0640]
Kernel driver in use: i915
marcelo@marcelo:~$ 

I'm totally confused!

Am I not using the dedicated AMD/ATI video card? Why? How I could starting 
using it?

What xorg package I can uninstall?

Thank you very much!

-- 
Marcelo



Re: tpm error on startup

2020-04-07 Thread Anil F Duggirala
On Tue, 2020-04-07 at 08:31 -0500, Anil F Duggirala wrote:
> hello,
> I am getting this error on startup, albeit my system boots up
> correctly:
> [9.009859] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFE, rev-id
> 4)
> [9.017416] tpm tpm0: A TPM error (2314) occurred attempting the
> self test
> Can someone give me some insight on why this happens?
> thank you,
> 

For further info. I am running a dell lattitude 3580, Debian Buster.




Re: Microcom; What's this Script Feature?

2020-04-07 Thread Dan Ritter
Martin McCormick wrote: 
> * x - execute a script
> 
>   Everything seems to work as far as I can tell but what
> does a script look like?

man runscript

>   The unix convention of typing the Up-Arrow and starting
> microcom is very handy since one does not have to type
> 
> microcom -f -p/dev/ttyUSB4 -s9600
> each time.  Actually, I usually get away with !mic followed by
> Enter and it starts.  Good work to everybody who created this
> useful little terminal program.

Time to learn the awesome power of Linux.

Three ways to do this:

1. shell script

Create a text file with the following two lines of code:

#!/bin/sh
exec microcom -f -p/dev/ttyUSB4 -s9600

Name it something short and memorable, like serial

Then

chmod a+rx serial

And from then on, it's a program you can run.

2. shell alias

Most shells have aliases available. In bash, you can stick them
in your .bashrc file. Add this line:

alias serial='microcom -f -p/dev/ttyUSB4 -s9600'

and then re-evaluate your .bashrc (which is done automatically
on login):

. .bashrc

Now you have a new command.

3. shell function

Most shells have functions available, too. The difference
between an alias and a function is that an alias is just a
substitution, but a function can take arguments and perform
complicated feats of logic. In this case, a function is
overkill, but it's still easy to drop in to your .bashrc.

function serial {
microcom -f -p/dev/ttyUSB4 -s9600 
}


There you go.

-dsr-



Re: how to save video on web page

2020-04-07 Thread Carl Fink

On 4/7/20 7:39 AM, Siard wrote:

Long Wind wrote:

i have stretch and want to save video on web page:
https://cl7v.com/html/14071/
which tool shall i install?

You can install the Video Download Helper browser extension.
It exists for Firefox and Vivaldi, don't know about other browsers.


Also Chrome that I know of, but Google requires that version to
not work for YouTube downloads.

--
Carl Fink   nitpick...@nitpicking.com

Read my blog at blog.nitpicking.com.  Reviews!  Observations!



tpm error on startup

2020-04-07 Thread Anil F Duggirala
hello,
I am getting this error on startup, albeit my system boots up
correctly:
[9.009859] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFE, rev-id 4)
[9.017416] tpm tpm0: A TPM error (2314) occurred attempting the
self test
Can someone give me some insight on why this happens?
thank you,




Re: Fwd: Serial Port Issues

2020-04-07 Thread Martin McCormick
deloptes  writes:
> Chris Rhodin wrote:
> 
> > Tonight I'll look at the serial port ioctls and see if I can spot a
> > difference there.  I also try enabling flow control and fiddling with 
> the
> > signals to see if that unstops it.
> 
> Are you sure that this is enabled in the BIOS, also some serial ports like
> HP have special connectors and layouts.
> Best would be to look at the manual first.
> 
> I have attached a USB to the server. From there I can log in to the
> firewall. I can not use the same port in the opposite direction.
> 
> However it is strange that you do get the connection only in one 
> direction.
> It could be some kind of special connector
> 
> Otherwise I used those to enable the service
> 
> https://wiki.debian.org/systemd#Virtual_and_serial_console_changes
> 
> https://www.thegeekdiary.com/centos-rhel-7-how-to-configure-serial-getty-with-systemd/
> https://wiki.archlinux.org/index.php/Working_with_the_serial_console

Another possible fly in the ointment could be a hardware
issue.  Some RS-232 ports are old-school and aren't happy with
any voltage range other than +12 for one state and -12 for the
other while there are serial ports that can handle state changes
of + or - 3 volts so they safely handle logic-level signals and
also can handle the old-school RS-232 levels.  Then there are
some that handle logic-level signals and would figuratively melt
if you hit them with +-12 volts.

Martin



Microcom; What's this Script Feature?

2020-04-07 Thread Martin McCormick
While working with Microcom, I tried the "help" feature while in
command mode and it works but there doesn't seem to be much other
information.  Here is a screen shot of a command I sent to a
serially-connected two-way radio followed by the Help screen for
microcom:  I put a * in front of the script command.


connected to /dev/ttyUSB4
Escape character: Ctrl-\
Type the escape character to get to the prompt.
VF 016250,0,0,0,0,0,0,00,00,000,,0,0
Enter command. Try 'help' for a list of builtin commands
-> help
speed - set terminal speed
exit - exit from command processing
flow - set flow control
dtr - set dtr value
rts - set rts value
break - send break
quit - quit microcom
help - show help
* x - execute a script
log - log to file
# - comment
md - Display memory (i.MX specific)
mw - write memory (i.MX specific)
mwb - write memory byte (i.MX specific)
mwh - write memory 2 byte (i.MX specific)
upload - upload image (i.MX specific)
connect - sync communication to Processor (i.MX specific)
sniff - sniff and dissect communication from ATK (i.MX specific)
->

Everything seems to work as far as I can tell but what
does a script look like?

I am sure it's kind of like expect or the old kermit
scripts but I haven't yet been able to send anything it liked.

The system I have been hacking on sends only carriage
returns in it's responses so what one gets on the screen is one
long line that gets over-written but that's no mystery.

The unix convention of typing the Up-Arrow and starting
microcom is very handy since one does not have to type

microcom -f -p/dev/ttyUSB4 -s9600
each time.  Actually, I usually get away with !mic followed by
Enter and it starts.  Good work to everybody who created this
useful little terminal program.

Martin McCormick

WB5AGZ since Oct of 1969



Re: State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?

2020-04-07 Thread Brian
On Tue 07 Apr 2020 at 07:02:55 +0200, Albretch Mueller wrote:

> # ls -l /usr/lib/cups/filter/FXM_PF
> -rwxr-xr-x 1 root root 17065 Feb 11  2012 /usr/lib/cups/filter/FXM_PF
> 
> # file /usr/lib/cups/filter/FXM_PF
> /usr/lib/cups/filter/FXM_PF: ELF 32-bit LSB executable, Intel 80386,
> version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2,
> for GNU/Linux 2.2.5, not stripped

Please name the package you installed and give a link to where you
downloaded it from.

-- 
Brian.



Re: how to save video on web page

2020-04-07 Thread Siard
Long Wind wrote:
> i have stretch and want to save video on web page:
> https://cl7v.com/html/14071/
> which tool shall i install?

You can install the Video Download Helper browser extension.
It exists for Firefox and Vivaldi, don't know about other browsers.



Re: how to save video on web page

2020-04-07 Thread Eike Lantzsch
On Tuesday, 7 April 2020 06:37:20 -04 Michael Lange wrote:
> On Tue, 7 Apr 2020 12:28:39 +0200
>
> Michael Lange  wrote:
> > > Use upstream.
> >
> > or just use backports.
>
> oops, sorry, that had to be "use deb-multimedia", that's where the current
> version here actually comes from.
>
> Regards
>
> Michael
While, in general, I would be extremely cautious with using packages of deb-
multimedia, in the case of youtube-dl it does not pull-in other packages of
deb-multimedia.
-- up to now. That may change in the future. So be on the watch.

Have a nice day
Eike ZP6CGE




Re: State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?

2020-04-07 Thread Klaus Singvogel
Albretch Mueller wrote:
> > 2. /usr/lib/cups/filter/FXM_PF
> 
> > Not known by me. Is the file present? Is it executable? Does it fail, if
> > you execute it?
> 
> # ls -l /usr/lib/cups/filter/FXM_PF
> -rwxr-xr-x 1 root root 17065 Feb 11  2012 /usr/lib/cups/filter/FXM_PF
> 
> # file /usr/lib/cups/filter/FXM_PF
> /usr/lib/cups/filter/FXM_PF: ELF 32-bit LSB executable, Intel 80386,
> version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2,
> for GNU/Linux 2.2.5, not stripped

It's 32bit and outdated. 

Debian Buster usually installs 64bit Packages. Though 32bit can be
installed, but aren't by default.

To find out, if the filter works: can you execute it?

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: how to save video on web page

2020-04-07 Thread Michael Lange
On Tue, 7 Apr 2020 12:28:39 +0200
Michael Lange  wrote:


> > Use upstream.
> > 
> 
> or just use backports.

oops, sorry, that had to be "use deb-multimedia", that's where the current
version here actually comes from.

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

We do not colonize.  We conquer.  We rule.  There is no other way for us.
-- Rojan, "By Any Other Name", stardate 4657.5



Re: how to save video on web page

2020-04-07 Thread Michael Lange
Hi,

On Mon, 6 Apr 2020 18:20:20 -0400
Greg Wooledge  wrote:

> On Mon, Apr 06, 2020 at 02:51:06PM -0700, Ihor Antonov wrote:
> > On Monday, April 6, 2020 2:37:20 PM PDT Long Wind wrote:
> > > i have stretch and want to save video on web
> > > page:https://cl7v.com/html/14071/which tool shall i install? Thanks!
> > 
> > I usually use youtube-dl
> > 
> > https://packages.debian.org/search?
> > suite=all=all=any=names=youtube-dl[1] 
> > 
> > Official upstream site:
> > https://youtube-dl.org/[2] 
> 
> It's worth pointing out that the Debian packages of youtube-dl have a
> problem: they're stable.  Youtube is not.  You need a continually
> mutating package to retrieve content from Youtube, and Debian's stable
> releases can't provide that.
> 
> Use upstream.
> 

or just use backports.

Regards
Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

... The prejudices people feel about each other disappear when they get
to know each other.
-- Kirk, "Elaan of Troyius", stardate 4372.5



Re: Cinelerra

2020-04-07 Thread BERTRAND Joël
didier gaumet a écrit :
> 
> Bon, je répète que je ne connais pas grand chose au sujet et rien du
> tout au logiciel utilisé mais:
> 
> - si tu paramètres 6 voies (canaux) en sortie et que Cinerella te "rend"
> (une sorte d'aperçu avant enregistrement réel dans un format de sortie?)
> ça en 2 voies, c'est qu'il effectue un downmixing 6->2 (6 voies en
> entrées, 2 voies en sortie). Si il le fait c'est probablement parce que
> tu as choisi un format de sortie (conteneur et codecs) qui ne permet pas
> autre chose
> - par exemple si tu veux faire un DVD trilingue et ça semblerait
> consister en 3 chapitres dans la table des matières: quand tu veux lire
> ton DVD en langue N°2, tu lances la lecture du chapitre 2, en gros. Donc
> ça nécessiterait d'avoir un logiciel d'enregistrement/montage qui te
> permette, lorsqu'utilisé correctement, de créer des chapitres. Et  plus
> tard un logiciel de lecture qui comprenne les chapitres.
> - à la lecture de
> http://heroinewarrior.com/cinelerra/cinelerra.html#SUPPORTED-FILE-FORMATS j'ai
> plus ou moins l'impression que ce que tu veux faire t'impose la création
> d'un DVD si tu veux utiliser Cinerella (je peux me tromper)
> 
> Donc peut-être quelque chose comme ça en termes d'organisation de projet
> dans Cinerella:
> - format DVD
> - 1 piste de video pure (si tu n'as pas de besoins particuliers)
> - 6 pistes d'audio pure (canaux gauche et droit pour chacune des 3 langues)
> - 2 canaux audio
> - 3 chapitres, 1 pour chaque langue, avec vidéo et stéréo langue concernée

Ne fonctionne pas, j'ai aussi cherché de ce côté. Visiblement, c'est
une limitation du logiciel. Je vais donc sortir la vidéo à part, les
deux fois trois pistes audio et remettre le tout d'équerre avec ffmpeg
comme ceci :

ffmpeg -i video -i audio1 -i audio2 -i audio3 \
-map 0:v -map 1:a -map 2:a -map 3:a \
-metadata:s:a:0 language=fre -metadata:s:a:0 title="Title 1" \
-metadata:s:a:1 language=eng -metadata:s:a:1 title="Title 2" \
-metadata:s:a:2 language=qda -metadata:s:a:2 title="Title 3" \
-c:v copy -c:a copy output.mkv

Bien cordialement,

JKB



Re: Cinelerra

2020-04-07 Thread didier gaumet


Bon, je répète que je ne connais pas grand chose au sujet et rien du
tout au logiciel utilisé mais:

- si tu paramètres 6 voies (canaux) en sortie et que Cinerella te "rend"
(une sorte d'aperçu avant enregistrement réel dans un format de sortie?)
ça en 2 voies, c'est qu'il effectue un downmixing 6->2 (6 voies en
entrées, 2 voies en sortie). Si il le fait c'est probablement parce que
tu as choisi un format de sortie (conteneur et codecs) qui ne permet pas
autre chose
- par exemple si tu veux faire un DVD trilingue et ça semblerait
consister en 3 chapitres dans la table des matières: quand tu veux lire
ton DVD en langue N°2, tu lances la lecture du chapitre 2, en gros. Donc
ça nécessiterait d'avoir un logiciel d'enregistrement/montage qui te
permette, lorsqu'utilisé correctement, de créer des chapitres. Et  plus
tard un logiciel de lecture qui comprenne les chapitres.
- à la lecture de
http://heroinewarrior.com/cinelerra/cinelerra.html#SUPPORTED-FILE-FORMATS j'ai
plus ou moins l'impression que ce que tu veux faire t'impose la création
d'un DVD si tu veux utiliser Cinerella (je peux me tromper)

Donc peut-être quelque chose comme ça en termes d'organisation de projet
dans Cinerella:
- format DVD
- 1 piste de video pure (si tu n'as pas de besoins particuliers)
- 6 pistes d'audio pure (canaux gauche et droit pour chacune des 3 langues)
- 2 canaux audio
- 3 chapitres, 1 pour chaque langue, avec vidéo et stéréo langue concernée

Ou alors si tu veux plus simple tu peux peut-être te résoudre à avoir
plusieurs conteneurs, donc basiquement mettre à dispo des utilisateurs
non pas 1 média (vidéo trilingue) mais 3 médias (vidéo langue 1, vidéo
langue 2, vidéo langue 3) dans des formats de sortie moins contraignants
à gérer.

D'autres que moi, plus au courant, pourraient peut-être aussi mieux te
conseiller si tu détaillais plus précisément:
- ce que tu souhaites obtenir (quel usage pour tes utilisateurs, quel
type de contenu sur quel type de support/format de diffusion)
- tes paramétrages effectués dans Cinerella pour atteindre tes objectifs



Re: advisable to use installer script?

2020-04-07 Thread tomas
On Tue, Apr 07, 2020 at 11:19:27AM +0300, Andrei POPESCU wrote:
> On Lu, 06 apr 20, 22:49:13, Alex Mestiashvili wrote:
> > 
> > R packages and python modules as everything else packageable for Debian
> > comes as source code, so how it is build is up to you and tools you use.
> > Even more, binary packages might be suboptimal compared to locally built
> > ones.
>  
> In most cases any optimization gains are offset by the maintenance 
> burden, e.g. you have to keep track of security updates, rebuild the 
> package, etc.

Exactly. There are those packages I care deeply about, so much so that
I follow development news. Those I compile off-repository, usually at
the bleeding edge; I keep whatever build infrastructure it takes well
oiled (because I do that often).

But I can't "care deeply" about each of the ~2k packages delving in
my box. I wouldn't have the bandwidth for that.

Thus, there's that other 99.95% (yeah, this statistic is probably made
up) infrastructure, which I know very little about, and which Just
Works (TM) thanks to the dedication of Debian packagers. They do an
outstanding job, and I'm infinitely thankful to them.

Thing is, "those packages you care deeply about" are different ones
from person to person. To me, it's Emacs and Guile, to you it's Apache
or LibreOffice or Lua and Enigma.

The cool thing about a distribution like Debian is that it sets
a baseline of "reasonable" versions, offering a path to deliver the
achievement of specialists to all the others. It's the glue holding
together all those brilliant gems into a coherent whole. Smaug,
if you like :)

For that, I say "THANK YOU" to all those maintainers.

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: kvm by example

2020-04-07 Thread Andrei POPESCU
On Lu, 06 apr 20, 21:44:31, Anastasios Lisgaras wrote:
> Thank you for sharing it with us, however I would prefer all the
> instructions to be through the terminal and not with VirtManager GUI.

Neah, it would take the fun out of discovering it for yourself ;)

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


signature.asc
Description: PGP signature


Re: advisable to use installer script?

2020-04-07 Thread Andrei POPESCU
On Lu, 06 apr 20, 22:49:13, Alex Mestiashvili wrote:
> 
> R packages and python modules as everything else packageable for Debian
> comes as source code, so how it is build is up to you and tools you use.
> Even more, binary packages might be suboptimal compared to locally built
> ones.
 
In most cases any optimization gains are offset by the maintenance 
burden, e.g. you have to keep track of security updates, rebuild the 
package, etc.

In the meantime package users just 'apt update && apt upgrade' (or 
enable unattended-upgrades) and get on with their work / life :)
 
> Btw, are you aware that gitlab instance for salsa.debian.org is not
> using packaged gitlab?
> There are many softwares which simply don't fit into Debian's paradigm
> of a packaging. But nevertheless they are useful and open source.

As far as I understand Gitlab is very complex, depends on (lots of?) 
other software that is also not packaged and doesn't have a long term 
support branch. All of these make it very difficult to create the 
package *and* maintain it in a stable release.

Hopefully at some point the upstream maintainers will adopt the long 
term support release model, as many other projects have done (e.g. 
Firefox).

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


signature.asc
Description: PGP signature


Re: advisable to use installer script?

2020-04-07 Thread Andrei POPESCU
On Lu, 06 apr 20, 20:49:53, Alex Mestiashvili wrote:
> 
> Regarding Python and R modules of unknown quality. What quality? Debian
> doesn't magically make any python module better or safer. Debian just
> packages a python module provided by upstream and can possibly provide
> some additional patches and support.

Debian Developers can also choose to not package a low quality module 
(though probably many more are not packaged simply due to lack of 
manpower / need / interest / etc.).

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


signature.asc
Description: PGP signature


Re: cannot execute make-fstab in Debian?

2020-04-07 Thread Andrei POPESCU
On Ma, 07 apr 20, 03:15:21, kaye n wrote:
> On Mon, Apr 6, 2020 at 7:28 PM Andrei POPESCU 
> wrote:
> 
> > > As for the flash drive, I have to add this line to the /etc/fstab file
> > (so
> > > I can run .sh files from the flash drive)
> >
> > Actually you don't, you can just use 'bash myshellscript.sh' instead ;)
> >
> 
> I tried that. I commented my line ( in /etc/fstab )
> 
> UUID=2E7B-BA02   /media/myflashdrive   vfat
> user,rw,noauto,uid=1000,gid=users,umask=0,dmask=0,fmask=0,users,exec,x-systemd.device-timeout=5s,
> 00
> 
> and executed
> 
> bash ./run_game.sh
> 
> it would'nt run.

My crystal ball is clouded this morning.

How about showing the error messages and the script?

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


signature.asc
Description: PGP signature


Re: Serial Port Issues

2020-04-07 Thread Joe
On Mon, 6 Apr 2020 22:53:25 -0700
Chris Rhodin  wrote:


> 
> Q: Is "stty" the right command line tool to check all of a serial
> ports settings?
> 
It Works For Me.

I had a very simple serial requirement recently, and this did the job.

Oh, as to 9600 Baud, if you plug a USB serial port into stretch or
unstable, the stty status shows the default as 9600.

-- 
Joe



Re: Serial Port Issues

2020-04-07 Thread tomas
On Mon, Apr 06, 2020 at 11:59:14PM -0700, Chris Rhodin wrote:
> I figured it out.  It was user error.  When I diff'd the output of "stty"
> from my laptop and server I saw the server had "-crtscts" and laptop had
> "crtscts" [...]

Ah... I see.

Thanks for posting the resolution, much appreciated :-)

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: Serial Port Issues

2020-04-07 Thread Chris Rhodin
Thanks for all the help.

Chris

On Mon, Apr 6, 2020 at 11:59 PM Chris Rhodin  wrote:

> I figured it out.  It was user error.  When I diff'd the output of "stty"
> from my laptop and server I saw the server had "-crtscts" and laptop had
> "crtscts".  It turns out minicom enables hardware flow control by default
> and I had changed that default on my laptop somewhere in the past (at least
> 3 releases of Debain ago).  I thought I had checked this on the server but
> either I didn't or I just missed it.  Changing this in minicom made it work.
>
> Chris
>
>
> On Mon, Apr 6, 2020 at 10:53 PM Chris Rhodin  wrote:
>
>>
>>
>> -- Forwarded message -
>> From: Chris Rhodin 
>> Date: Mon, Apr 6, 2020 at 7:28 PM
>> Subject: Re: Serial Port Issues
>> To: 
>>
>>
>> I have two devices I'm trying to connect to, a UPS and a network switch.
>> By default the UPS runs at 2400 baud and the switch runs at 9600 baud.
>> Before connecting them to the server I verified the devices were working on
>> a laptop running Debian.  When I attached them to the server and powered
>> them up (with minicom already running) I saw the expected startup messages
>> being output by both devices (this is why I say I can receive serial
>> data).  I then started typing commands and but got no response.
>>
>> I started debugging.  I tried other cables, I tried USB to serial cables,
>> I reattached the devices to the laptop to verify they hadn't spontaneously
>> and simultaneously stopped working.  Next I simplified my test setup.  I
>> made a loop back cable that connects Tx to Rx.  I tested this cable on the
>> laptop and verified it echoed everything I typed.  On the server no echo.
>>
>> Based on responses here I've verified the permissions and tried running
>> as root.  I've also checked the flow control as reported by minicom.
>>
>> Q: Is "stty" the right command line tool to check all of a serial ports
>> settings?
>>
>> And finally, last night I burned a Debian live DVD and booted the server
>> with it.  After installing the proprietary network drivers and minicom I
>> tried the serial ports again with the same results.
>>
>> Tonight I'll look at the serial port ioctls and see if I can spot a
>> difference there.  I also try enabling flow control and fiddling with the
>> signals to see if that unstops it.
>>
>> ChrisR
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 0
>>
>> On Mon, Apr 6, 2020 at 7:08 AM  wrote:
>>
>>> On Mon, Apr 06, 2020 at 09:51:15AM -0400, rhkra...@gmail.com wrote:
>>> > On Monday, April 06, 2020 03:50:59 AM to...@tuxteam.de wrote:
>>> > > Besides, a wrong baud rate would much less explain that writing is
>>> > > possible, but reading isn't. Not for classical "serials" (i.e.
>>> RS-232).
>>> >
>>> > From the OP: " On this system a serial port can only receive data and
>>> not
>>> > transmit."
>>> >
>>> > Wouldn't that mean that (from the perspective of a program running on
>>> the OP's
>>> > computer) that the serial port can read but not write?
>>>
>>> My recollection is the other way around: write but not read.
>>> But hey, I'm old and that.
>>>
>>> That (and the fact that another serial over USB showed the same
>>> symptoms) prompted me to (reluctantly) hint at permissions [1],
>>> since, to my knowledge, a honest serial port cannot be configured
>>> to different send and receive speeds. But this seems to be ruled
>>> out.
>>>
>>> Another possibility is, of course, the cable :-)
>>>
>>> Do we know in which way the port fails to read/write or whatever
>>> it fails at? Error messages?
>>>
>>> Cheers
>>> [1] this could be explained by a broken udev script setting
>>>the wrong permissions -- that would, e.g. cover the USB
>>>adapter case. It was such a nice model :-)
>>> -- t
>>>
>>


Re: Serial Port Issues

2020-04-07 Thread Chris Rhodin
I figured it out.  It was user error.  When I diff'd the output of "stty"
from my laptop and server I saw the server had "-crtscts" and laptop had
"crtscts".  It turns out minicom enables hardware flow control by default
and I had changed that default on my laptop somewhere in the past (at least
3 releases of Debain ago).  I thought I had checked this on the server but
either I didn't or I just missed it.  Changing this in minicom made it work.

Chris


On Mon, Apr 6, 2020 at 10:53 PM Chris Rhodin  wrote:

>
>
> -- Forwarded message -
> From: Chris Rhodin 
> Date: Mon, Apr 6, 2020 at 7:28 PM
> Subject: Re: Serial Port Issues
> To: 
>
>
> I have two devices I'm trying to connect to, a UPS and a network switch.
> By default the UPS runs at 2400 baud and the switch runs at 9600 baud.
> Before connecting them to the server I verified the devices were working on
> a laptop running Debian.  When I attached them to the server and powered
> them up (with minicom already running) I saw the expected startup messages
> being output by both devices (this is why I say I can receive serial
> data).  I then started typing commands and but got no response.
>
> I started debugging.  I tried other cables, I tried USB to serial cables,
> I reattached the devices to the laptop to verify they hadn't spontaneously
> and simultaneously stopped working.  Next I simplified my test setup.  I
> made a loop back cable that connects Tx to Rx.  I tested this cable on the
> laptop and verified it echoed everything I typed.  On the server no echo.
>
> Based on responses here I've verified the permissions and tried running as
> root.  I've also checked the flow control as reported by minicom.
>
> Q: Is "stty" the right command line tool to check all of a serial ports
> settings?
>
> And finally, last night I burned a Debian live DVD and booted the server
> with it.  After installing the proprietary network drivers and minicom I
> tried the serial ports again with the same results.
>
> Tonight I'll look at the serial port ioctls and see if I can spot a
> difference there.  I also try enabling flow control and fiddling with the
> signals to see if that unstops it.
>
> ChrisR
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 0
>
> On Mon, Apr 6, 2020 at 7:08 AM  wrote:
>
>> On Mon, Apr 06, 2020 at 09:51:15AM -0400, rhkra...@gmail.com wrote:
>> > On Monday, April 06, 2020 03:50:59 AM to...@tuxteam.de wrote:
>> > > Besides, a wrong baud rate would much less explain that writing is
>> > > possible, but reading isn't. Not for classical "serials" (i.e.
>> RS-232).
>> >
>> > From the OP: " On this system a serial port can only receive data and
>> not
>> > transmit."
>> >
>> > Wouldn't that mean that (from the perspective of a program running on
>> the OP's
>> > computer) that the serial port can read but not write?
>>
>> My recollection is the other way around: write but not read.
>> But hey, I'm old and that.
>>
>> That (and the fact that another serial over USB showed the same
>> symptoms) prompted me to (reluctantly) hint at permissions [1],
>> since, to my knowledge, a honest serial port cannot be configured
>> to different send and receive speeds. But this seems to be ruled
>> out.
>>
>> Another possibility is, of course, the cable :-)
>>
>> Do we know in which way the port fails to read/write or whatever
>> it fails at? Error messages?
>>
>> Cheers
>> [1] this could be explained by a broken udev script setting
>>the wrong permissions -- that would, e.g. cover the USB
>>adapter case. It was such a nice model :-)
>> -- t
>>
>


Re: Fwd: Serial Port Issues

2020-04-07 Thread deloptes
Chris Rhodin wrote:

> Tonight I'll look at the serial port ioctls and see if I can spot a
> difference there.  I also try enabling flow control and fiddling with the
> signals to see if that unstops it.

Are you sure that this is enabled in the BIOS, also some serial ports like
HP have special connectors and layouts.
Best would be to look at the manual first.

I have attached a USB to the server. From there I can log in to the
firewall. I can not use the same port in the opposite direction.

However it is strange that you do get the connection only in one direction.
It could be some kind of special connector

Otherwise I used those to enable the service

https://wiki.debian.org/systemd#Virtual_and_serial_console_changes

https://www.thegeekdiary.com/centos-rhel-7-how-to-configure-serial-getty-with-systemd/
https://wiki.archlinux.org/index.php/Working_with_the_serial_console