Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread Teemu Likonen
Teemu Likonen [2018-03-30 07:05:38+03] wrote:

> It seems to me that you want to use locally installed sendmail program
> (or compatible) for sending mail so you would configure Emacs like this:
>
> (setq message-send-mail-function 'message-send-mail-with-sendmail)

Sorry, here's a correction. If you use Emacs's message-mode for
composing mail:

(setq message-send-mail-function 'message-smtpmail-send-it)

If you use mail-mode instead:

(setq send-mail-function 'smtpmail-send-it)

Emacs's default mail user agent can be configured with variable
mail-user-agent. I also suggest reading the documentation of all the
above variables. For example: C-h v message-send-mail-function RET

-- 
/// Teemu Likonen   - .-..    //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///


signature.asc
Description: PGP signature


Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread Dan Hitt
On Thu, Mar 29, 2018 at 9:05 PM, Teemu Likonen  wrote:
> Dan Hitt [2018-03-29 13:50:54-07] wrote:
>
>> In emacs, i tried the address otheruser@host, otheruser,
>> otheruser@localhost, otheruser@host.local
>>
>> Here, 'host' is to stand for the hostname of my box, stripped of any
>> domain information.
>>
>> In all four cases, it opened a new tab in my firefox browser, showing
>> gmail, with the message loaded, and the 'To' field populated.  (In the
>> case of otheruser, it was underlined in red.)
>
> (Sorry for not having read previous messages the the thread.)
>
> Emacs has different ways to send mail and that's configured with
> variable send-mail-function or message-send-mail-function (if you use
> message-mode for composing mail).
>
> It seems to me that you want to use locally installed sendmail program
> (or compatible) for sending mail so you would configure Emacs like this:
>
> (setq message-send-mail-function 'message-send-mail-with-sendmail)
>
> --
> /// Teemu Likonen   - .-..    //
> // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Thanks Teemu.

That actually works.

The variable name message-send-mail-function is similar to
send-mail-function, which David had suggested i investigate and deal
with.  However, send-mail-function seems to be set up in some part of
my .emacs.d/init.el that i did not write (part of
custom-set-variables, and it has a warning to be careful when
modifying it by hand).  So i didn't pursue send-mail-function.

However, message-send-mail-function is not mentioned in my
.emacs.d/init.el, so i suppose i should be more relaxed about it (??).

Anyhow, it works, and this seems to be a complete solution to my problem.

Thanks again!

(And thanks everybody else for all the ideas and suggestions, which
are all educational and useful.)

dan



Re: How to execute user's scripts when upgrading a certain package via apt/aptitude

2018-03-29 Thread Mikhail Morfikov
On 2018-03-30 04:00, John Crawley (johnraff) wrote:
> On 2018-03-29 09:15, Abdullah Ramazanoglu wrote:
>> On Wed, 28 Mar 2018 20:00:34 +0200 Mikhail Morfikov said:
>>> Is there some variable that holds, for instance, a list of the
>>> packages that apt wants to upgrade? In such way it would be easy to
>>> set this up.
> 
> apt list --upgradable
> will print out a list, but the output of 'apt' is not considered suitable for
> parsing by scripts (still unstable).
> apt-get --simulate upgrade
> will also print the packages to be upgraded, along with a lot of noise that 
> your
> script would have to filter.
> 
> But:
>> On Wed, 28 Mar 2018 20:18:24 +0200 Mikhail Morfikov said:
>>> But I will try to do something with the trigger and see how that will
>>> work.
> 
> It looks as if that worked for you. You created a new package 
> 'firefox-trigger'
> with a trigger that looked for upgrades to firefox, right?
Yes, it was pretty much it. The trigger also works fine when installing a
different version of firefox via "dpkg -i" and also when downgrading the 
package:

--
# dpkg -i firefox_59.0.1-1_amd64.deb
dpkg: warning: downgrading firefox from 59.0.2-1 to 59.0.1-1
(Reading database ... 248272 files and directories currently installed.)
Preparing to unpack .../firefox_59.0.1-1_amd64.deb ...
Unpacking firefox (59.0.1-1) over (59.0.2-1) ...
Setting up firefox (59.0.1-1) ...
Processing triggers for firefox-trigger (1.0) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.8.2-1) ...
--

So I think it won't be causing any problems in the future.

> That sounds like the
> neatest solution, and I will make a note of it for my personal reference. 
> Thanks.
> 




signature.asc
Description: OpenPGP digital signature


Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread Teemu Likonen
Dan Hitt [2018-03-29 13:50:54-07] wrote:

> In emacs, i tried the address otheruser@host, otheruser,
> otheruser@localhost, otheruser@host.local
>
> Here, 'host' is to stand for the hostname of my box, stripped of any
> domain information.
>
> In all four cases, it opened a new tab in my firefox browser, showing
> gmail, with the message loaded, and the 'To' field populated.  (In the
> case of otheruser, it was underlined in red.)

(Sorry for not having read previous messages the the thread.)

Emacs has different ways to send mail and that's configured with
variable send-mail-function or message-send-mail-function (if you use
message-mode for composing mail).

It seems to me that you want to use locally installed sendmail program
(or compatible) for sending mail so you would configure Emacs like this:

(setq message-send-mail-function 'message-send-mail-with-sendmail)

-- 
/// Teemu Likonen   - .-..    //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///


signature.asc
Description: PGP signature


Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread Dan Hitt
Sorry everybody for mail-bombing the list, don't know how my previous
reply took off so fast :( :( :(

On Thu, Mar 29, 2018 at 9:02 PM, David Wright  wrote:
> On Thu 29 Mar 2018 at 13:50:54 (-0700), Dan Hitt wrote:

> The third one, otheruser@localhost. There should be a line in
> /etc/hosts reading
>
> 127.0.0.1   localhost
>

That indeed is there.

>
> If I type (in emacs) ^H v send-mail-function
> it tells me that that variable is set to sendmail-send-it which
> probably explains why emacs hands the email off to exim.
> Perhaps yours is set to mailclient-send-it? See
> https://www.gnu.org/software/emacs/manual/html_node/emacs/Mail-Sending.html#Mail-Sending
>

You are exactly correct (i.e., it does read mailclient-send-it).

Now, in fact, my init.el does contain an assignment for
send-mail-function (if i'm reading it correctly).

But i don't think i put it there:  it seems to be part of something
called 'custom-set-variables', and it has the warning 'If you edit it
by hand, you could mess it up, so be careful'.

So for now i think i'll leave it alone until i get a chance to
understand the situation better.

Thanks David for pointing it out to me.

And sorry everybody for slipping on the send button!!! :(

dan



Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread Dan Hitt
On Thu, Mar 29, 2018 at 9:02 PM, David Wright  wrote:
> On Thu 29 Mar 2018 at 13:50:54 (-0700), Dan Hitt wrote:
>> On Thu, Mar 29, 2018 at 1:32 PM, David Wright  
>> wrote:
>> > On Wed 28 Mar 2018 at 22:42:43 (-0700), Dan Hitt wrote:
>> ...
>> >> I thought i'd just do what used to be the usual thing on a unix box:
>> >> i compose-mail in emacs (control-x m), and drafted the text, and put
>> >> in the other user's name in the To: line.
>> ...
>> > I just write username@localhost instead of username on its own.
>> > That should be enough to stop it leaving the system.
>>
>> Thanks David for your reply.
>>
>> That doesn't seem to work for me, although maybe i'm not doing it
>> exactly the way you are --- were you using emacs to manage it?
>
> I just tested it and it worked fine, including the "bogus" message.
> It also puts a jokey aside into Message-ID because I have no name
> for my domain.
>
>> In emacs, i tried the address otheruser@host, otheruser,
>> otheruser@localhost, otheruser@host.local
>
> The third one, otheruser@localhost. There should be a line in
> /etc/hosts reading
>
> 127.0.0.1   localhost
>
>> Here, 'host' is to stand for the hostname of my box, stripped of any
>> domain information.
>>
>> In all four cases, it opened a new tab in my firefox browser, showing
>> gmail, with the message loaded, and the 'To' field populated.  (In the
>> case of otheruser, it was underlined in red.)
>
> If I type (in emacs) ^H v send-mail-function
> it tells me that that variable is set to sendmail-send-it which
> probably explains why emacs hands the email off to exim.
> Perhaps yours is set to mailclient-send-it? See
> https://www.gnu.org/software/emacs/manual/html_node/emacs/Mail-Sending.html#Mail-Sending
>
>> emacs also warned me that the addresses i was using 'might be bogus'.
>
> Yep.
>
>> However, invoking the 'mail' program directly does work for me, so i
>> have a solution (although if i could work it through emacs, without
>> having to do any serious configuration, it would be much better).
>
> I haven't looked into how/whether Debian configures emacs according to
> which other packages you install (and in what order).
>
> Cheers,
> David.
>



Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread David Wright
On Thu 29 Mar 2018 at 13:50:54 (-0700), Dan Hitt wrote:
> On Thu, Mar 29, 2018 at 1:32 PM, David Wright  
> wrote:
> > On Wed 28 Mar 2018 at 22:42:43 (-0700), Dan Hitt wrote:
> ...
> >> I thought i'd just do what used to be the usual thing on a unix box:
> >> i compose-mail in emacs (control-x m), and drafted the text, and put
> >> in the other user's name in the To: line.
> ...
> > I just write username@localhost instead of username on its own.
> > That should be enough to stop it leaving the system.
> 
> Thanks David for your reply.
> 
> That doesn't seem to work for me, although maybe i'm not doing it
> exactly the way you are --- were you using emacs to manage it?

I just tested it and it worked fine, including the "bogus" message.
It also puts a jokey aside into Message-ID because I have no name
for my domain.

> In emacs, i tried the address otheruser@host, otheruser,
> otheruser@localhost, otheruser@host.local

The third one, otheruser@localhost. There should be a line in
/etc/hosts reading

127.0.0.1   localhost

> Here, 'host' is to stand for the hostname of my box, stripped of any
> domain information.
> 
> In all four cases, it opened a new tab in my firefox browser, showing
> gmail, with the message loaded, and the 'To' field populated.  (In the
> case of otheruser, it was underlined in red.)

If I type (in emacs) ^H v send-mail-function
it tells me that that variable is set to sendmail-send-it which
probably explains why emacs hands the email off to exim.
Perhaps yours is set to mailclient-send-it? See
https://www.gnu.org/software/emacs/manual/html_node/emacs/Mail-Sending.html#Mail-Sending

> emacs also warned me that the addresses i was using 'might be bogus'.

Yep.

> However, invoking the 'mail' program directly does work for me, so i
> have a solution (although if i could work it through emacs, without
> having to do any serious configuration, it would be much better).

I haven't looked into how/whether Debian configures emacs according to
which other packages you install (and in what order).

Cheers,
David.



nmtui bug

2018-03-29 Thread Jude DaShiell
I'd normally use reportbug to report this except nmtui is preventing that 
from happening.  The version in use is on debian-mac-9.4.0 disk and I used 
that version since the system is too old for efi or uefi.  I was able to 
edit my wifi connection and save the connection with all fields filled in 
correctly.  I just couldn't activate the connection once that had got 
done.  If there's a later version of nmtui or the package in which nmtui 
comes on the standard debian netinst disk I'll try that and see if things 
improve.  When the activation failed, it's like the device and connection 
were invisible and didn't show up on the screen if that helps.


Same computer in use and slint has no problem running nmtui and connecting 
to the wifi network here.




--



Re: Activate/deactivate kernel parameters without reboot

2018-03-29 Thread Stefan Monnier
> I'm running with a 'nouveau.noaccel=1' kernel parameter added at hand
[...]
> Is there any way to deactivate and reactivate such a parameter without
> the need to reboot?

You can try and change it with

# echo 0 > /sys/modules//parameters/noaccel


-- Stefan



Re: changing local domain name

2018-03-29 Thread David Wright
On Thu 29 Mar 2018 at 23:05:06 (+0100), Brian wrote:
> On Thu 29 Mar 2018 at 18:34:42 +, Curt wrote:
> 
> > On 2018-03-29, mick crane  wrote:
> > > following recent about hostname it seems I've been under 
> > > misunderstanding that ".local" was OK so now I change local domain to 
> > > ".home" .
> > > It's not just domainname and /etc/hosts. It's every frigging where.
> > > apache
> > > roundcube
> > > postfix
> > > now my ISP SMTP server is moaning.

Have you run
# dpkg-reconfigure exim4-config
yet? (Or equivalent for whatever's sending to it.)

> > > think I got them all except cups is unhappy, I don't know why.

Like exim, CUPS is more complicated as it works both ways. So it may
depend on whether you're running it as a server for a local printer
or a client for a networked printer. The latter has never caused me
any problem when changing the name of my domain. Howver, I haven't
done the former for about a decade, since my HP990 ran out of ink.
That might be more complicated, but I thought CUPS only needed
hostnames as it uses avahi (ie the "proper" use for .local).

> > There's actually a wiki on this:
> > 
> > https://wiki.debian.org/HowTo/ChangeHostname

I don't see the word "domain" on that page. But grepping for the
old name of the domain has never thrown up many references for me.
After all, software should be using getdomainname(), shouldn't it?

> > For cups you might look at 
> > 
> > /etc/printcap
> > 
> > the part after rm=
> >  rm=einstein
> > 
> 
> Whatever the OP's problem is (which he doesn't say) /etc/printcap will
> not solve it.
> 
> brian@desktop:~$ ls -l /etc/printcap
> lrwxrwxrwx 1 root root 22 Oct 13 13:31 /etc/printcap -> /var/run/cups/printcap
> 
> brian@desktop:~$ cat /etc/printcap | head -n 3
> # This file was automatically generated by cupsd(8) from the
> # /etc/cups/printers.conf file.  All changes to this file
> # will be lost.
> 
> https://debian-handbook.info/browse/stable/sect.config-printing.html
> 
> Bug#187954.

Yep, rebooting will recreate that file anyway, because /var/run is
just /run, and therefore ephemeral.

Cheers,
David.



Re: How to execute user's scripts when upgrading a certain package via apt/aptitude

2018-03-29 Thread John Crawley (johnraff)

On 2018-03-29 09:15, Abdullah Ramazanoglu wrote:

On Wed, 28 Mar 2018 20:00:34 +0200 Mikhail Morfikov said:

Is there some variable that holds, for instance, a list of the
packages that apt wants to upgrade? In such way it would be easy to
set this up.


apt list --upgradable
will print out a list, but the output of 'apt' is not considered  
suitable for parsing by scripts (still unstable).

apt-get --simulate upgrade
will also print the packages to be upgraded, along with a lot of noise  
that your script would have to filter.


But:

On Wed, 28 Mar 2018 20:18:24 +0200 Mikhail Morfikov said:

But I will try to do something with the trigger and see how that will
work.


It looks as if that worked for you. You created a new package  
'firefox-trigger' with a trigger that looked for upgrades to firefox,  
right? That sounds like the neatest solution, and I will make a note of  
it for my personal reference. Thanks.


--
John



Re: video downloadhelper

2018-03-29 Thread Haricophile
Le Fri, 30 Mar 2018 00:09:45 +0200,
hamster  a écrit :

> Chez moi, ca allume un voyant
> d'alarme : peut on faire confiance a ce truc ?

Perso je fais dans un terminal :

ytdl -b "ladresse-toutube-ou-autre-site-recopiée"

ou pour récupérer l'audio :

ytdl -a "ladresse-toutube-ou-autre-site-recopiée"

c'est un poil plus de gymnastique digitale mais pas besoin d'extension.



Re: video downloadhelper

2018-03-29 Thread Raphaël POITEVIN
hamster  writes:

> Vidéo DownloadHelper est une extension de firefox populaire et efficace
> pour télécharger des vidéos sur des sites qui les proposent uniquement
> en streaming.
>
> Depuis peu, cette extension demande qu'en plus on installe un paquet
> .deb, lequel paquet n'est pas disponible dans les dépots (meme pas chez
> ubuntu) et doit etre installé avec gdebi. Chez moi, ca allume un voyant
> d'alarme : peut on faire confiance a ce truc ?

Pour des raisons pratiques, j’ai gardé une ancienne version car je
tourne toujours avec firefox 52. Bizarre que ça demande un paquet
suplémentaire.
>
> Sur le site, il y a marqué que oui :
> https://www.downloadhelper.net/install-coapp
> cliquer sur "What does this companion application do ?" et "How safe is
> it to install and run the companion app ?".
> Ca a l'air d'etre tout blanc, licence GPL, code source disponible, avec
> une raison apparamment valable pour avoir besoin d'un paquet installé
> hors de firefox. Mais par contre l'extension elle meme n'est pas sous GPL :
> https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/license/7.2.2

Un composant peut très bien faire appel à un autre composant GPL sans
l’être lui-même je suppose.
-- 
Raphaël



Activate/deactivate kernel parameters without reboot

2018-03-29 Thread rv riveravaldez
Hi,

I'm running with a 'nouveau.noaccel=1' kernel parameter added at hand
at boot (for a random freeze that appears with nouveau driver and the
NVIDIA C61 [GeForce 7025 / nForce 630a] (rev a2) GPU).

Is there any way to deactivate and reactivate such a parameter without
the need to reboot?

Thanks a lot!



video downloadhelper

2018-03-29 Thread hamster
Vidéo DownloadHelper est une extension de firefox populaire et efficace
pour télécharger des vidéos sur des sites qui les proposent uniquement
en streaming.

Depuis peu, cette extension demande qu'en plus on installe un paquet
.deb, lequel paquet n'est pas disponible dans les dépots (meme pas chez
ubuntu) et doit etre installé avec gdebi. Chez moi, ca allume un voyant
d'alarme : peut on faire confiance a ce truc ?

Sur le site, il y a marqué que oui :
https://www.downloadhelper.net/install-coapp
cliquer sur "What does this companion application do ?" et "How safe is
it to install and run the companion app ?".
Ca a l'air d'etre tout blanc, licence GPL, code source disponible, avec
une raison apparamment valable pour avoir besoin d'un paquet installé
hors de firefox. Mais par contre l'extension elle meme n'est pas sous GPL :
https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/license/7.2.2

Et vous, vous en pensez quoi de tout ca ?



Re: changing local domain name

2018-03-29 Thread Brian
On Thu 29 Mar 2018 at 18:34:42 +, Curt wrote:

> On 2018-03-29, mick crane  wrote:
> > following recent about hostname it seems I've been under 
> > misunderstanding that ".local" was OK so now I change local domain to 
> > ".home" .
> > It's not just domainname and /etc/hosts. It's every frigging where.
> > apache
> > roundcube
> > postfix
> > now my ISP SMTP server is moaning.
> >
> > think I got them all except cups is unhappy, I don't know why.
> >
> 
> There's actually a wiki on this:
> 
> https://wiki.debian.org/HowTo/ChangeHostname
> 
> For cups you might look at 
> 
> /etc/printcap
> 
> the part after rm=
>  rm=einstein
> 

Whatever the OP's problem is (which he doesn't say) /etc/printcap will
not solve it.

brian@desktop:~$ ls -l /etc/printcap
lrwxrwxrwx 1 root root 22 Oct 13 13:31 /etc/printcap -> /var/run/cups/printcap

brian@desktop:~$ cat /etc/printcap | head -n 3
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file.  All changes to this file
# will be lost.

https://debian-handbook.info/browse/stable/sect.config-printing.html

Bug#187954.

-- 
Brian.



Re: Teclado retroiluminado

2018-03-29 Thread Danton Medrado
Aqui uso a tecla FN + F3 para diminuir a luminosidade e FN + F4. No meu
caso um Asus com Debian 9.

É isso.

Medrado
=
Em sáb, 2017-09-23 às 09:15 -0300, Juscelino Cordeiro escreveu:
> Tenho um notebook avell com teclado retroiluminado e instalei o
> debian 9. Aparentemente esta tudo funcionando, mas nao consegui uma
> forma de controlar essa iluminação do teclado e nem desligar. O que
> com que a bateria dure pouco. Alguma dica de como resolver isso?
> 
> Enviado do meu iPhone
-- 
-- 
Att.:

Danton Medrado


www.dantonmedrado.com.br
São Paulo, SP | Brasil
Twitter/Telegram : dantonmedrado
Linux user: 563596 |  PGP: 87D04806



Re: Ideal place to set environment variables

2018-03-29 Thread Jonathan de Boyne Pollard

Greg Wooledge:

If there existed a single, universal, simple answer, don't you think 
we would have put it on the wiki page?




I think that login.conf is a step in the right direction, and I'm 
planning on making tools that support it.  Or, rather, on making the 
tools that already support it on the BSDs also support it on Linux 
operating systems.


* http://netbsd.gw.com/cgi-bin/man-cgi?login.conf

* https://www.freebsd.org/cgi/man.cgi?query=login.conf

* https://man.openbsd.org/login.conf

* http://jdebp.eu./Softwares/nosh/guide/userenv-fromenv.html

I already use them to set the GUI environment from login.conf on TrueOS.

* https://unix.stackexchange.com/a/390089/5132



Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread Dan Hitt
On Thu, Mar 29, 2018 at 1:32 PM, David Wright  wrote:
> On Wed 28 Mar 2018 at 22:42:43 (-0700), Dan Hitt wrote:
...
>> I thought i'd just do what used to be the usual thing on a unix box:
>> i compose-mail in emacs (control-x m), and drafted the text, and put
>> in the other user's name in the To: line.
...
> I just write username@localhost instead of username on its own.
> That should be enough to stop it leaving the system.
>
> Cheers,
> David.
>

Thanks David for your reply.

That doesn't seem to work for me, although maybe i'm not doing it
exactly the way you are --- were you using emacs to manage it?

In emacs, i tried the address otheruser@host, otheruser,
otheruser@localhost, otheruser@host.local

Here, 'host' is to stand for the hostname of my box, stripped of any
domain information.

In all four cases, it opened a new tab in my firefox browser, showing
gmail, with the message loaded, and the 'To' field populated.  (In the
case of otheruser, it was underlined in red.)

emacs also warned me that the addresses i was using 'might be bogus'.

However, invoking the 'mail' program directly does work for me, so i
have a solution (although if i could work it through emacs, without
having to do any serious configuration, it would be much better).

Thanks for the idea, though!

dan



Re: Spurious character typed on console every ~20 secs until logged in

2018-03-29 Thread Jonathan de Boyne Pollard

David Wright:


an extra ^@ character¹



Unix & Linux Stack Exchange had this last year.

* https://unix.stackexchange.com/questions/395494/

* https://unix.stackexchange.com/questions/396192/

* https://unix.stackexchange.com/questions/360830/




Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread David Wright
On Wed 28 Mar 2018 at 22:42:43 (-0700), Dan Hitt wrote:
> Today i needed to send a message to another user on my debian box.
> 
> I thought i'd just do what used to be the usual thing on a unix box:
> i compose-mail in emacs (control-x m), and drafted the text, and put
> in the other user's name in the To: line.
> 
> I then hit control-c control-c to mail it, but was really shocked when
> instead of sending it off, instead, my firefox popped up, displaying
> gmail, and my text was loaded in, poised to send off.
> 
> I can see that would be useful (and in fact, i'm using this method
> right now to compose this mail just to see if it will actually
> go through), but it's not at all something that i asked for.
> 
> So . . . if you want to send mail to another user on your box, and
> you do not want it to get bounced around on the internet but only
> to go into some spool queue somewhere strictly on your local machine,
> how do you do it?

I just write username@localhost instead of username on its own.
That should be enough to stop it leaving the system.

Cheers,
David.



Re: Spurious character typed on console every ~20 secs until logged in

2018-03-29 Thread David Wright
On Thu 29 Mar 2018 at 17:20:58 (+0200), to...@tuxteam.de wrote:
> On Thu, Mar 29, 2018 at 10:10:55AM -0500, David Wright wrote:
> > On Thu 29 Mar 2018 at 10:46:17 (+0200), to...@tuxteam.de wrote:
> > > On Thu, Mar 29, 2018 at 08:24:03AM +, Curt wrote:
> > > 
> > > [...]
> > 
> > Thanks for the ideas. I hadn't come across the virtual buttons.
> > 
> > I think I'll look at what processes are running by the time it
> > tries to mount /home, and which of them might involve looping on
> > that timescale.
> 
> If it's something in user space, it'd be interesting who has
> the console open.

That comment made me remember about one possible candidate; I have
@reboot /sbin/kbdrate -r 8 -d 500 -s
in root's crontab as a matter of habit. But removing it had no effect.

I can definitely only observe two CRs, one at the unlocking prompt
(assuming I wait for it), and one at login. Of course, to be able
to observe a third, I have either start typing my username or press
 (in order to get the cursor out of column 1) and that very
keystroke could be enough to stop whatever's happening.

> > Then, when it happens again, I'll try a remote login to see if
> > I can catch some process at it. It hasn't yet happened (on the
> > three occasions) at an opportune time for me to investigate.
> > 
> > I agree, the first character is probably a NUL. The second is
> > probably CR. Both can be used to terminate strings in different
> > situations. Or perhaps my termcap has fallen into a 1960s wormhole:
> > anyone remember WRU, and the Here Is key, …
> 
> Faintly. I also dimly remember about some serial interfaces
> sending NULLs when idle, but I can't put my finger on that.

My memory of these machines is of a roomful of them all bursting
into life when they rebooted the PDP11 in town, two miles away.
Then waiting for peace to be restored as their motors timed out.

> The advantage of old age is that you tend to forget things :)

Cheers,
David.



Re: changing local domain name

2018-03-29 Thread mick crane

On 2018-03-29 19:34, Curt wrote:

On 2018-03-29, mick crane  wrote:

following recent about hostname it seems I've been under
misunderstanding that ".local" was OK so now I change local domain to
".home" .
It's not just domainname and /etc/hosts. It's every frigging where.
apache
roundcube
postfix
now my ISP SMTP server is moaning.

think I got them all except cups is unhappy, I don't know why.



There's actually a wiki on this:

https://wiki.debian.org/HowTo/ChangeHostname

For cups you might look at

/etc/printcap

the part after rm=
 rm=einstein


Of course that part is the part to the left of the first dot in your
fqdn.

Anyway, good luck (my hostname is incorrect, but as it has never caused
me any misery, I've left well enough alone up to this point).


Oh, there's more in /var. I'm going to ignore the binary files as I 
don't think they are current and I don't know how to edit them anyway.
In fact the installation is a bit old I could do with tidying it all up 
anyway so I might as well start afresh.
Dunno if these configuration files couldn't use a persistent 
environmental variable for domainname.


mick

ps Samuel Beckett ++

--
Key ID  4BFEBB31



Re: Wine doesn't start

2018-03-29 Thread Johann Klammer
On 03/28/2018 09:50 PM, Markus Grunwald wrote:
> Hello,
> 
> to play some old games, I wanted to start wine, but it always fails with
> errors like that in the attached gna.txt :(
> 
> Not even winecfg is starting (I created gna.txt with starting winecfg).
> 
> It used to work so well a while ago...
> 
> 
> That's what I have installed (debian testing, upgraded today):
> 
>  % dpkg -l wine\* | egrep '^ii'
> ii  wine 3.0-1  all  Windows API
> implementation - standard suite
> ii  wine32:i386  3.0-1  i386 Windows API
> implementation - 32-bit binary loader
> ii  wine64   3.0-1  amd64Windows API
> implementation - 64-bit binary loader
> ii  winetricks   0.0+20180217-1 all  package manager for
> Wine to install software easily
> 
> 
> 
> Can you help me with that, please?
> 
Perhaps a memory issue. turn off all web browsers(firefox,chrome), cycle 
harvesters(boinc) etc..
Maybe also gnome-based window managers and try starting it in a bare x session. 
Maybe add a swap partition. 
(wine has always been mapping enormous amounts of memory)




Re: changing local domain name

2018-03-29 Thread Curt
On 2018-03-29, mick crane  wrote:
> following recent about hostname it seems I've been under 
> misunderstanding that ".local" was OK so now I change local domain to 
> ".home" .
> It's not just domainname and /etc/hosts. It's every frigging where.
> apache
> roundcube
> postfix
> now my ISP SMTP server is moaning.
>
> think I got them all except cups is unhappy, I don't know why.
>

There's actually a wiki on this:

https://wiki.debian.org/HowTo/ChangeHostname

For cups you might look at 

/etc/printcap

the part after rm=
 rm=einstein


Of course that part is the part to the left of the first dot in your
fqdn.

Anyway, good luck (my hostname is incorrect, but as it has never caused
me any misery, I've left well enough alone up to this point).

-- 
We are no longer the same, you wiser but not sadder, and I sadder but not
wiser, for wiser I could hardly become without grave personal inconvenience,
whereas sorrow is a thing you can keep adding to all your life long, is it not,
like a stamp or an egg collection, without feeling very much the worse for it,
is it not. --Samuel Beckett



Re: Can't get an OpenGL context above 1.3 in Stretch

2018-03-29 Thread Daniel Keast
On Sat, Mar 24, 2018 at 04:20:48PM +, Daniel Keast wrote:
> On Sat, Mar 24, 2018 at 03:26:03PM +0100, Hans wrote:
> > Am Samstag, 24. März 2018, 14:58:41 CET schrieb Daniel Keast:
> > Hi Daniel,
> > 
> > maybe I am wrong, but I believe, that the problem might be your hardware.
> > 
> > Some hardware is not capable on opengl2, only on opengl1. On my netbook I 
> > am using an 
> > Intel i945 graphics chip, which is only opengl1.0 capable.
> 
> I think this cpu is sandy bridge, which if I'm reading this right means I 
> should
> be able to get up to Open GL 3.3:
> 
> https://en.wikipedia.org/wiki/Intel_HD_and_Iris_Graphics#Capabilities
> 
> Which is what supertuxkart seems to be reporting as it's GL_VERSION. That's 
> the
> thing that's throwing me at the moment, supertuxkart seems to work fine...
> there's something different in my code, but I can't get my head around the
> difference.
> 
> > However, I can use opengl2, as this is software based! In mesa-1.3 there 
> > was a software 
> > opengl2 solution, which is no more in higher versions. The developer 
> > decided to get rid of 
> > it, because it was too difficult to maintain it any more.
> 
> I think when I run LIBGL_SOFTWARE_ALWAYS=true it forces mesa to use it's
> software driver (I think that's what Gallium 0.4 on llvmpipe (LLVM 3.9, 256
> bits)) means.
> 
> > So I downgraded the following packages and theire dependencies to version 
> > 1.3:
> > 
> >  libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa
> > 
> > After that, I set these three packages to hold by using aptitude:
> > 
> > aptitude hold libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa
> 
> I get this when I try the downgrade:
> 
> # dpkg -i libgl*
> dpkg: warning: downgrading libgl1-mesa-dri:amd64 from 13.0.6-1+b2 to 
> 10.3.2-1+deb8u1
> (Reading database ... 325277 files and directories currently installed.)
> Preparing to unpack libgl1-mesa-dri_10.3.2-1+deb8u1_amd64.deb ...
> Unpacking libgl1-mesa-dri:amd64 (10.3.2-1+deb8u1) over (13.0.6-1+b2) ...
> dpkg: warning: downgrading libgl1-mesa-glx:amd64 from 13.0.6-1+b2 to 
> 10.3.2-1+deb8u1
> Preparing to unpack libgl1-mesa-glx_10.3.2-1+deb8u1_amd64.deb ...
> Unpacking libgl1-mesa-glx:amd64 (10.3.2-1+deb8u1) over (13.0.6-1+b2) ...
> dpkg: warning: downgrading libglapi-mesa:amd64 from 13.0.6-1+b2 to 
> 10.3.2-1+deb8u1
> Preparing to unpack libglapi-mesa_10.3.2-1+deb8u1_amd64.deb ...
> Unpacking libglapi-mesa:amd64 (10.3.2-1+deb8u1) over (13.0.6-1+b2) ...
> dpkg: dependency problems prevent configuration of libgl1-mesa-dri:amd64:
>  libgl1-mesa-dri:amd64 depends on libllvm3.5; however:
>   Package libllvm3.5 is not installed.
> 
> dpkg: error processing package libgl1-mesa-dri:amd64 (--install):
>  dependency problems - leaving unconfigured
> Setting up libglapi-mesa:amd64 (10.3.2-1+deb8u1) ...
> Setting up libgl1-mesa-glx:amd64 (10.3.2-1+deb8u1) ...
> Processing triggers for libc-bin (2.24-11+deb9u3) ...
> Processing triggers for glx-alternative-mesa (0.7.4) ...
> Processing triggers for libc-bin (2.24-11+deb9u3) ...
> Errors were encountered while processing:
>  libgl1-mesa-dri:amd64
> 
> Starts sounding a bit scary, is there anything else you've done?
> 
> > so they are not updated automatically. For me, this solution is working 
> > very well, as I can 
> > still use opengl2 (I love the special effects in KDE, which need opengl2) 
> > and until today I 
> > got in no problems. Even games are running faster (also in wine).
> > 
> > Maybe this does help. It is a pity, that the software opengl2 is been gone 
> > in mesa, but that 
> > how are things change.
> 
> I'm confused since the software renderer above gives me a 3.0 context... 
> perhaps
> it's part of the intel driver are implemented in software that got removed?
> 
> > Best regards, happy hacking and good luck! 
> > 
> > Hans
> 
> Thanks a lot for your help, it's definitely more information than I had!
> 
> > 
> >   
> > 
> > > Heya All,
> > > 
> > > I have some OpenGL code that used to work fine on Jessie, but now I'm
> > > running Stretch I can't seem to get a context above 1.3. I have a ThinkPad
> > > X220, with cpuinfo reporting that it has an "Intel(R) Core(TM) i5-2520M 
> > > CPU
> > > @ 2.50GHz".
> > > 
> > > This I think is the relevant bit of code, but I'm happy to provide the 
> > > rest,
> > > it's just noddy glued together examples to make a cube spin:
> > > 
> > > window = SDL_CreateWindow("SDL", SDL_WINDOWPOS_CENTERED,
> > >   SDL_WINDOWPOS_CENTERED, 0, 0,
> > >   SDL_WINDOW_FULLSCREEN_DESKTOP
> > > 
> > >   | SDL_WINDOW_OPENGL);
> > > 
> > > if (!window) sdl_fail();
> > > 
> > > if (SDL_ShowCursor(SDL_DISABLE) < 0) sdl_fail();
> > > 
> > > /* initialise opengl */
> > > if (SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2) != 0) 
> > > sdl_fail
> > > 

Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread Dan Hitt
On Wed, Mar 28, 2018 at 11:42 PM, Dominik George  wrote:
> Hi,
>
>>So . . . if you want to send mail to another user on your box, and
>>you do not want it to get bounced around on the internet but only
>>to go into some spool queue somewhere strictly on your local machine,
>>how do you do it?
>
> Sounds very much like an emacs anti-feature.
>
> $ mail -s Spammedyspam jdoe <<<"Bacon eggs without the spam"
>
> works perfectly on stretch and buster/sid.
>
> Can you try that and also mutt?
>
> -nik
>

Thanks Dominick!

Your command works (using 'mail' without any arguments to receive).

I did have to install mailutils first (thanks Liam for pointing out
the package: i discovered that 'mail' is not a package! :) ).

Thanks Tomas also, for the information about setting up a mail
transport (and the suggestion to use write).  Although i did not do
that explicitly, i imagine that apt-get did it somehow.  (That would
confirm what Curt (thanks for replying!) was saying about no setup
being required.)

And thanks songbird for replying: you are right, i specified next to
nothing about my setup.  (My excuse is that i was still in a state of
shock.  :)  But i guess in that case i should have waited 24 hours to
post.)I haven't decided yet whether to configure emacs to use
local mail though, because the vast majority of my mail is over the
internet, and it is very, very convenient to manage mail inside emacs
(although i have not done that for probably 20 years).  I do kind of
wonder how emacs learned about my gmail account though, surely Google
hasn't penetrated the space to the extent that it would be a heuristic
to guess.  My debian is stretch, btw, and i guess maybe i specified my
gmail address to it at setup time or something?  My email address
certainly does not appear anywhere in my .emacs.d/init.el that i can
see . . .

Thanks again everybody for all your help!!

dan



changing local domain name

2018-03-29 Thread mick crane
following recent about hostname it seems I've been under 
misunderstanding that ".local" was OK so now I change local domain to 
".home" .

It's not just domainname and /etc/hosts. It's every frigging where.
apache
roundcube
postfix
now my ISP SMTP server is moaning.

think I got them all except cups is unhappy, I don't know why.

--
Key ID  4BFEBB31



Re: [vendredi] Re: Limite de temps quotidien sur un ordinateur.

2018-03-29 Thread Haricophile
Le Thu, 29 Mar 2018 22:51:08 +0900,
Charles Plessy  a écrit :

> CSP++ c'est dépassé, maintenant on dit « csp.io ».  Leur motto c'est
> « les API stables c'est pour les assistés ».
> 
> Bon vendredi (dans 1 h 11 pour moi...)

D'où le io : ça rentre et ça sort ]:->



Re: Spurious character typed on console every ~20 secs until logged in

2018-03-29 Thread Curt
On 2018-03-29, David Wright  wrote:
> On Thu 29 Mar 2018 at 10:46:17 (+0200), to...@tuxteam.de wrote:
>> On Thu, Mar 29, 2018 at 08:24:03AM +, Curt wrote:
>> 
>> [...]
>
> Thanks for the ideas. I hadn't come across the virtual buttons.
>
> I think I'll look at what processes are running by the time it
> tries to mount /home, and which of them might involve looping on
> that timescale.
> Then, when it happens again, I'll try a remote login to see if
> I can catch some process at it. It hasn't yet happened (on the
> three occasions) at an opportune time for me to investigate.
>
> I agree, the first character is probably a NUL. The second is
> probably CR. Both can be used to terminate strings in different
> situations. Or perhaps my termcap has fallen into a 1960s wormhole:
> anyone remember WRU, and the Here Is key, …

I found more grist:

https://www.reddit.com/r/linuxquestions/comments/7r7a5e/terminal_typing_on_its_own_only_in_tty_terminals/

(I personally have neither input_polldev nor peaq_wmi loaded here--in
fact the latter is inexistant on this machine according to modinfo).

Actually I'm uncertain peaq_wmi is a loadable module. If you enter,
however, "input_polldev spam" or "input_polldev bug" into a search
engine, it almost feels like hitting pay dirt.

> Cheers,
> David.
>
>


-- 
We are no longer the same, you wiser but not sadder, and I sadder but not
wiser, for wiser I could hardly become without grave personal inconvenience,
whereas sorrow is a thing you can keep adding to all your life long, is it not,
like a stamp or an egg collection, without feeling very much the worse for it,
is it not. --Samuel Beckett



Re: Spurious character typed on console every ~20 secs until logged in

2018-03-29 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Mar 29, 2018 at 10:10:55AM -0500, David Wright wrote:
> On Thu 29 Mar 2018 at 10:46:17 (+0200), to...@tuxteam.de wrote:
> > On Thu, Mar 29, 2018 at 08:24:03AM +, Curt wrote:
> > 
> > [...]
> 
> Thanks for the ideas. I hadn't come across the virtual buttons.
> 
> I think I'll look at what processes are running by the time it
> tries to mount /home, and which of them might involve looping on
> that timescale.

If it's something in user space, it'd be interesting who has
the console open.

> Then, when it happens again, I'll try a remote login to see if
> I can catch some process at it. It hasn't yet happened (on the
> three occasions) at an opportune time for me to investigate.
> 
> I agree, the first character is probably a NUL. The second is
> probably CR. Both can be used to terminate strings in different
> situations. Or perhaps my termcap has fallen into a 1960s wormhole:
> anyone remember WRU, and the Here Is key, …

Faintly. I also dimly remember about some serial interfaces
sending NULLs when idle, but I can't put my finger on that.

The advantage of old age is that you tend to forget things :)

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlq9BFoACgkQBcgs9XrR2kZC/QCeMMHnVu0gkJuXZzRK4gv+MoO9
zsUAnj8Ed8UoksfWNz2nHXOA/wfBMWKB
=N4tw
-END PGP SIGNATURE-



Re: Spurious character typed on console every ~20 secs until logged in

2018-03-29 Thread David Wright
On Thu 29 Mar 2018 at 10:46:17 (+0200), to...@tuxteam.de wrote:
> On Thu, Mar 29, 2018 at 08:24:03AM +, Curt wrote:
> 
> [...]

Thanks for the ideas. I hadn't come across the virtual buttons.

I think I'll look at what processes are running by the time it
tries to mount /home, and which of them might involve looping on
that timescale.
Then, when it happens again, I'll try a remote login to see if
I can catch some process at it. It hasn't yet happened (on the
three occasions) at an opportune time for me to investigate.

I agree, the first character is probably a NUL. The second is
probably CR. Both can be used to terminate strings in different
situations. Or perhaps my termcap has fallen into a 1960s wormhole:
anyone remember WRU, and the Here Is key, …

Cheers,
David.



[vendredi] Re: Limite de temps quotidien sur un ordinateur.

2018-03-29 Thread Charles Plessy
Le Thu, Mar 29, 2018 at 01:00:50PM +0200, Eric Degenetais a écrit :
> En tous cas, j'ignorais que la ML Debian User. Fr  était une terre réservée
> des csp++

CSP++ c'est dépassé, maintenant on dit « csp.io ».  Leur motto c'est
« les API stables c'est pour les assistés ».

Bon vendredi (dans 1 h 11 pour moi...)

-- 
Charles



Re: Limite de temps quotidien sur un ordinateur.

2018-03-29 Thread Rafael Diaz Maurin

Le 27/03/2018 à 23:58, vandendaelenclem...@gmail.com a écrit :


J’aimerais initier un enfant aux joies du libre, celui-ci possédant 
déjà un PC sous Windows avec un contrôle parental permettant de 
limiter le temps d’utilisation de ce dernier. Auriez-vous une idée de 
quel outil user ?




Pour limiter le temps d'utilisation sous linux il y a TimeKeeper (timekpr) :
https://doc.ubuntu-fr.org/timekpr

Enjoy :)

--
Rafael



smime.p7s
Description: Signature cryptographique S/MIME


Re: tail -f logfile | webpage

2018-03-29 Thread Wouter Verhelst
On Sun, Mar 18, 2018 at 10:33:59AM +0100, Geert Stappers wrote:
> 
> Hoi,
> 
> Gezocht/gevraagd:
> 
> tail -f logfile  |  webpage
> 
> 
> 
> Dat updates van een logfile verschijnen op een webpagina.

logtool heeft een HTML uitvoerversie die in principe in een CGI-script
moet kunnen werken.

https://packages.debian.org/logtool

(ja, mezelf)

> Is om inzage in logfile te geven zonder dat er SSH toegang is.

Zou moeten lukken daarmee.

-- 
Could you people please use IRC like normal people?!?

  -- Amaya Rodrigo Sastre, trying to quiet down the buzz in the DebConf 2008
 Hacklab



Re: I si haces que sea con cron

2018-03-29 Thread Galvatorix Torixgalva
No entiendo para que quieres eso. ¿Estas usando algun software inestable
que se cae cada muy poco tiempo?.
​


Libre
de virus. www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread songbird
Dan Hitt wrote:

> Today i needed to send a message to another user on my debian box.
>
> I thought i'd just do what used to be the usual thing on a unix box:
> i compose-mail in emacs (control-x m), and drafted the text, and put
> in the other user's name in the To: line.
>
> I then hit control-c control-c to mail it, but was really shocked when
> instead of sending it off, instead, my firefox popped up, displaying
> gmail, and my text was loaded in, poised to send off.
>
> I can see that would be useful (and in fact, i'm using this method
> right now to compose this mail just to see if it will actually
> go through), but it's not at all something that i asked for.
>
> So . . . if you want to send mail to another user on your box, and
> you do not want it to get bounced around on the internet but only
> to go into some spool queue somewhere strictly on your local machine,
> how do you do it?
>
> TIA for any info!! :)

  you don't say what version of debian you are using
or your desktop or if no desktop, etc.  hard to give
details to help this way.

  you'd need to check for what your local machine may 
have setup for your mail transport.  i think the 
default is exim and only local delivery unless you 
configured it differently.

  you may just need to tell e-macs what command to
use.

  looking at /etc/alternatives can help sort things out.

  you may have set up somewhere your mail agent to be
firefox (in preferences for your desktop).  there are
several places to do this and i'm not familiar with
all desktops.


  songbird



Re: Limite de temps quotidien sur un ordinateur.

2018-03-29 Thread Eric Degenetais
En tous cas, j'ignorais que la ML Debian User. Fr  était une terre réservée
des csp++
...

Éric Dégenètais

Le 29 mars 2018 12:26 PM, "Haricophile"  a écrit :

> Le Wed, 28 Mar 2018 19:10:32 +0200,
> andre_deb...@numericable.fr a écrit :
>
> > Quelle famille avec 3 enfants n'a pas déjà 5 ordinateurs et souvent des
> > portables ?
>
> Celles qui ne font pas partie des 10% de privilégiés (souvent parisiens) ?
>
> ]:->
>
>
> Bon, je sais, dans la pratique c'est pas aussi noir-et-blanc, mais songe
> quand même que les "ouvriers" c'est 46% de Français et 2% de présence à la
> télé, sans même parler de la qualité de la présence...
>
> Tout ça pour dire qu'il faut se méfier de ses propres impressions, et se
> méfier comme la peste des impressions fournies par "les medias" devenus des
> agences de propagande.
>
> Sinon on finis comme ça ;) :
> http://www.legorafi.fr/2016/10/25/cope-je-regrette-davoir-
> blesse-les-gens-qui-nont-quun-smic-de-3000-euros-pour-vivre/
>
>


Re: Limite de temps quotidien sur un ordinateur.

2018-03-29 Thread Haricophile
Le Wed, 28 Mar 2018 19:10:32 +0200,
andre_deb...@numericable.fr a écrit :

> Quelle famille avec 3 enfants n'a pas déjà 5 ordinateurs et souvent des 
> portables ?

Celles qui ne font pas partie des 10% de privilégiés (souvent parisiens) ?

]:->


Bon, je sais, dans la pratique c'est pas aussi noir-et-blanc, mais songe
quand même que les "ouvriers" c'est 46% de Français et 2% de présence à la
télé, sans même parler de la qualité de la présence...

Tout ça pour dire qu'il faut se méfier de ses propres impressions, et se
méfier comme la peste des impressions fournies par "les medias" devenus des
agences de propagande.

Sinon on finis comme ça ;) :
http://www.legorafi.fr/2016/10/25/cope-je-regrette-davoir-blesse-les-gens-qui-nont-quun-smic-de-3000-euros-pour-vivre/



Re: Limite de temps quotidien sur un ordinateur.

2018-03-29 Thread andre_debian
On Wednesday 28 March 2018 19:38:47 Eric Degenetais wrote:
> Un nombre certain de familles qui ne sont pas de votre milieu social, 
> peut être ? (je parle ici en général, j'ignore tout de l'OP) :

"Le voisin est toujours plus riche que moi", "moi je suis pauvre",
"ce sont des solutions pour fortunés à maison spacieuse..." :
Avec ce type de réaction, on avance pas trop.
Ce sont des solutions faisables pour tous, quelquesoit le milieu social,
même moins chers que d'autres et qui peuvent ouvrir vers de nouveaux 
horizons salvateurs.

On Wednesday 28 March 2018 19:40:30 Christophe De Natale wrote:
> Encore de la polémique pour rien, ltsp n'est pas adapté en terme de 
> simplicité pour la personne qui demande de l'aide.
> De plus cela n'aide pas au titre du sujet qui concerne la limite de temps :

Il n'était pas inintéressant de rappeler le mode LTSP,
spécialité de GNU/Linux, qui peut intéresser les membres de la liste.
Restons ouvert à ce qui peut rendre service un jour, même si ça sort un 
peu du sujet initial.

Bonne journée,

André



Roundcube creates new user with host FQDN instead of localhost

2018-03-29 Thread Tapio Lehtonen

Debian Stretch, roundcube 1.2.3+dfsg.1-4+deb9u1

Roundcube has created new user_id, with mail_host as FQDN and not 
localhost as previously. last_login with user where mail_host is 
localhost was 21. March, today login is mail_host FQDN.


Can I fix this in the database so address books etc of these two users 
are merged together?


How can I force Roundcube to not do this anymore? I have set
$config['login_lc'] = 2;
to get all lowercase username and domain part, and
$config['default_host'] = 'localhost';
is in both config.inc.php and defaults.inc.php.

--
Tapio Lehtonen
OSK Satatuuli
<>

Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread Curt
On 2018-03-29,   wrote:
>
> So if you want to send mail to someone in the same box (or in
> your local network or...), you'll have to set up a mail transport
> which knows how to do that (exim, postfix, whatever).
>

I believe this is the default, no (exim set up for local mail only, so
that various daemons etc. can communicate with regular_joe@home?

IOW if you install Stretch and fail to intervene with the mailing system,
that's what you get (local mail works, no set up required).

Or something. Ignore this maybe.

-- 
We are no longer the same, you wiser but not sadder, and I sadder but not
wiser, for wiser I could hardly become without grave personal inconvenience,
whereas sorrow is a thing you can keep adding to all your life long, is it not,
like a stamp or an egg collection, without feeling very much the worse for it,
is it not. --Samuel Beckett



Re: How to execute user's scripts when upgrading a certain package via apt/aptitude

2018-03-29 Thread Mikhail Morfikov
On 2018-03-29 01:03, John Crawley (johnraff) wrote:
> On 2018-03-29 03:40, to...@tuxteam.de wrote:
>> On Wed, Mar 28, 2018 at 08:18:24PM +0200, Mikhail Morfikov wrote:
>>> On 2018-03-28 20:12, Sven Joachim wrote:
>>> I really thought there's some easy way to include user's scripts when you 
>>> want
>>> to make some additional changes to the upgraded packages, but it looks like 
>>> the
>>> apt mechanism is a little bit limited. But I will try to do something with 
>>> the
>>> trigger and see how that will work.
>>
>> I think the trick is to create a (nearly) empty package "my-firefox-custom"
>> which depends on firefox and thus pulls it in before its own post-install
>> takes over.
> This sounds as if it should work, but your custom package would need 
> upgrading every time Firefox was upgraded, so the automation would be lost.
> 
I think the trigger is working as it should (or am I missing something?).
Basically I created the package, installed it and after that I'm upgrading the
firefox package, I get the following messages in the log:

-
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  firefox
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/41.6 MB of archives.
After this operation, 3,072 B disk space will be freed.
Do you want to continue? [Y/n]
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 248259 files and directories currently installed.)
Preparing to unpack .../firefox_59.0.2-1_amd64.deb ...
Unpacking firefox (59.0.2-1) over (59.0.1-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-2) ...
Setting up firefox (59.0.2-1) ...
Processing triggers for man-db (2.8.2-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for firefox-trigger (1.0) ...
-

And as you can see, the trigger "firefox-trigger" is being processed (as many
others), but I didn't upgrade my custom package along with firefox. So will it
work in the way it should or not?



signature.asc
Description: OpenPGP digital signature


Re: screen freeze when attaching external screen through the dock.

2018-03-29 Thread BRINER Cédric
The screen does not freeze on X.org.

Where should I report this bug ?

cED



Re: Spurious character typed on console every ~20 secs until logged in

2018-03-29 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Mar 29, 2018 at 08:24:03AM +, Curt wrote:

[...]
> Wild geese, it's spring, and they're migrating!

:-)
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlq8p9kACgkQBcgs9XrR2kazmwCfT1FgILpMJGFDRzBnorrEs1zs
uzIAn2XonX1la4m6g1rWZK4OISJWncuC
=Vn8G
-END PGP SIGNATURE-



Que se passe t-il ?

2018-03-29 Thread Bernard Schoenacker
bonjour,

pas de nouvelles à se mettre sous la dent ...

slt
bernard



Re: Spurious character typed on console every ~20 secs until logged in

2018-03-29 Thread Curt
On 2018-03-29,   wrote:
>
> On Thu, Mar 29, 2018 at 07:50:13AM +, Curt wrote:
>> On 2018-03-29,   wrote:
>
> [link blaming NVidia]
>
>> I found another thread blaming the phenomenon on the "virtual lid
>> buttons" (whatever the hell those are)--workaround involved xmodmap:
>> 
>> https://bbs.archlinux.org/viewtopic.php?id=213094
>> 
>> Anyway hope this is not yet another of my wild geese.
>
> A downside of your and my hunches is that David's symptom seems
> to occur at the very beginning at the Linux console, while our
> candidates seem to manifest themselves even on X terminals...

I'm saw "logging in at tty". But I gave the wrong link!

https://bbs.archlinux.org/viewtopic.php?id=222316

Wild geese, it's spring, and they're migrating!

> Cheers
> - -- t
>
>


-- 
We are no longer the same, you wiser but not sadder, and I sadder but not
wiser, for wiser I could hardly become without grave personal inconvenience,
whereas sorrow is a thing you can keep adding to all your life long, is it not,
like a stamp or an egg collection, without feeling very much the worse for it,
is it not. --Samuel Beckett



Re: Spurious character typed on console every ~20 secs until logged in

2018-03-29 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Mar 29, 2018 at 07:50:13AM +, Curt wrote:
> On 2018-03-29,   wrote:

[link blaming NVidia]

> I found another thread blaming the phenomenon on the "virtual lid
> buttons" (whatever the hell those are)--workaround involved xmodmap:
> 
> https://bbs.archlinux.org/viewtopic.php?id=213094
> 
> Anyway hope this is not yet another of my wild geese.

A downside of your and my hunches is that David's symptom seems
to occur at the very beginning at the Linux console, while our
candidates seem to manifest themselves even on X terminals...

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlq8nhUACgkQBcgs9XrR2kbMggCffiI+cyGFH4GuUBAbuy48EmBK
zBEAn1s11AFy2Ir08/D9GCj3NDk0zVYs
=LY8S
-END PGP SIGNATURE-



Re: Spurious character typed on console every ~20 secs until logged in

2018-03-29 Thread Curt
On 2018-03-29,   wrote:
>
> On Wed, Mar 28, 2018 at 11:30:17PM -0500, David Wright wrote:
>> This has happened a couple of times or so in the past week:
>> On booting up, I get to the prompt to unlock my /home partition.
>> The first attempt fails, not because I mistyped the passphrase,
>> but because an extra ^@ character¹ was typed by the system.
>
> Bizarre. ^@ is (most probably) your terminal's way of spelling
> a NULL. Searching my brain extension (aka The Tubes) yields
> things:
>
>   
> https://superuser.com/questions/1254863/null-character-appears-on-its-own-in-tty
>
> Blamed on an NVidia -- seems even more bizarre. It might point
> you into a totally wrong direction.

I found another thread blaming the phenomenon on the "virtual lid
buttons" (whatever the hell those are)--workaround involved xmodmap:

https://bbs.archlinux.org/viewtopic.php?id=213094

Anyway hope this is not yet another of my wild geese.

> Cheers
> - -- t
>
>


-- 
We are no longer the same, you wiser but not sadder, and I sadder but not
wiser, for wiser I could hardly become without grave personal inconvenience,
whereas sorrow is a thing you can keep adding to all your life long, is it not,
like a stamp or an egg collection, without feeling very much the worse for it,
is it not. --Samuel Beckett



Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Mar 29, 2018 at 08:42:34AM +0200, Dominik George wrote:
> Hi,
> 
> >So . . . if you want to send mail to another user on your box, and
> >you do not want it to get bounced around on the internet but only
> >to go into some spool queue somewhere strictly on your local machine,
> >how do you do it?
> 
> Sounds very much like an emacs anti-feature.

It's not. You just have to customize that (start with the variable
"mail-user-agent" and work from there).

Hint: at the end, it's not Emacs sending the mail but passing it
to whatever mail transfer agent you told it to use...

> $ mail -s Spammedyspam jdoe <<<"Bacon eggs without the spam"
> 
> works perfectly on stretch and buster/sid.

...as mutt or mail or all the other civilized mail user agents
will do.

So if you want to send mail to someone in the same box (or in
your local network or...), you'll have to set up a mail transport
which knows how to do that (exim, postfix, whatever).

If you just want to send a message to a local user (and this
user has some console open), try "write".

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlq8kkQACgkQBcgs9XrR2kbJCACfThyeLNGiBeJfkYcqyR9+Za8L
IAgAnREF0sBhbfXOCdGDB+1VE1E1DfdO
=Shrr
-END PGP SIGNATURE-



Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread Liam O'Toole
On 2018-03-29, Dan Hitt  wrote:
> Today i needed to send a message to another user on my debian box.
>
> I thought i'd just do what used to be the usual thing on a unix box:
> i compose-mail in emacs (control-x m), and drafted the text, and put
> in the other user's name in the To: line.
>
> I then hit control-c control-c to mail it, but was really shocked when
> instead of sending it off, instead, my firefox popped up, displaying
> gmail, and my text was loaded in, poised to send off.
>
> I can see that would be useful (and in fact, i'm using this method
> right now to compose this mail just to see if it will actually
> go through), but it's not at all something that i asked for.
>
> So . . . if you want to send mail to another user on your box, and
> you do not want it to get bounced around on the internet but only
> to go into some spool queue somewhere strictly on your local machine,
> how do you do it?
>
> TIA for any info!! :)
>
> dan
>
>

Using the mail command from the mailutils or bsd-mailx packages will
give you the behaviour you want.



Re: Spurious character typed on console every ~20 secs until logged in

2018-03-29 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Mar 28, 2018 at 11:30:17PM -0500, David Wright wrote:
> This has happened a couple of times or so in the past week:
> On booting up, I get to the prompt to unlock my /home partition.
> The first attempt fails, not because I mistyped the passphrase,
> but because an extra ^@ character¹ was typed by the system.

Bizarre. ^@ is (most probably) your terminal's way of spelling
a NULL. Searching my brain extension (aka The Tubes) yields
things:

  
https://superuser.com/questions/1254863/null-character-appears-on-its-own-in-tty

Blamed on an NVidia -- seems even more bizarre. It might point
you into a totally wrong direction.

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlq8kCQACgkQBcgs9XrR2kZ5rQCfXQEAkvMpdrpeJefFlib6y1XW
I54An0oI1ctsjtLmtu03yP/zjX8SWner
=RLY2
-END PGP SIGNATURE-



Re: screen freeze when attaching external screen through the dock.

2018-03-29 Thread BRINER Cédric
Hi,

I've looked at the files, and let me show you what I found supicious

in syslog, I've found a lot of:
Mar 29 08:14:20 cedian gvfsd[1697]: Error calling
org.gtk.vfs.MonitorClient.Changed(): Le délai d’attente est dépassé
(g-io-error-quark, 24)

all the logs are in :
https://paste.debian.net/1017405/


-- 
BRINER Cédric, Ing. EPFL & HES
System Administrator, central IT, University of Geneva
+41 22 / 379 71 83



Re: how do you send mail to another user on a local debian machine

2018-03-29 Thread Dominik George
Hi,

>So . . . if you want to send mail to another user on your box, and
>you do not want it to get bounced around on the internet but only
>to go into some spool queue somewhere strictly on your local machine,
>how do you do it?

Sounds very much like an emacs anti-feature.

$ mail -s Spammedyspam jdoe <<<"Bacon eggs without the spam"

works perfectly on stretch and buster/sid.

Can you try that and also mutt?

-nik