Wheezy Xfce losing mouse clicks

2016-08-02 Thread David Christensen
debian-user:

I have a Debian machine with Xfce:

2016-08-02 20:39:48 dpchrist@t7400 ~
$ cat /etc/debian_version
7.11

2016-08-02 20:39:54 dpchrist@t7400 ~
$ uname -a
Linux t7400 3.2.0-4-amd64 #1 SMP Debian 3.2.81-1 x86_64 GNU/Linux

2016-08-02 20:39:58 dpchrist@t7400 ~
$ dpkg -l xfce4
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)
||/ Name   Version  Architecture Description
+++-==---=
ii  xfce4  4.8.0.3  all  Meta-package for the Xfce
Lightwe


Lately, I have noticed that mouse clicks (e.g. left button, one click)
are getting lost.  Sometimes I have to click multiple times, especially
when the CPU is loaded.  Right-clicks and center-clicks might be getting
lost, also.


How do I troubleshoot this?


David



Re: Debian server for backups of Windows clients

2016-08-02 Thread David Christensen
On 08/02/2016 02:12 PM, Daniel Bareiro wrote:
> I'm thinking deploy a Debian backup server using Dirvish (which is based
> on rsync --- indeed, we have packaged it in Debian). On previous
> occasions I implemented these solutions seamlessly with GNU/Linux
> clients, but now I would like add Windows clients.
> 
> The idea of using Dirvish is because I had a very good experience.
> Besides using rsync with hard links for backups of files that do not
> change from backup to the next allows a considerable saving of disk space.
> 
> But to use Dirvish with Windows clients I will need to install an SSH
> server. I had thought that an alternative would be to use Cygwin, but
> was looking for documentation and I have not found any uniform process
> to install and configure a Cygwin SSH server on Windows.
> 
> I would like to know if anyone has had any experience in this regard
> that could share.

Cygwin sshd and rsync are okay for interactive use.  There is a shell
script (ssh-host-config) provided with the Cygwin openssh package for
setting up sshd as a service.


Unfortunately, Cygwin rsync is notorious for working for a while, and
then hanging in the middle of a transfer.  I've seen this for years, and
I saw it on up-to-date installs less than a week ago.  So for automated
backups, you need to detect this failure mode and deal with it.  The
only way I found to get rsync working again was to reboot.


You might find more encouraging answers on the Cygwin mailing list:

https://cygwin.com/lists.html


Currently, Windows Backup and Restore is the most reliable solution I've
found for automated backups.  Either it works, or it doesn't (the last
Windows Vista box I maintain has broken Volume Shadow Copy, which breaks
Backup and Restore).


David



Chromium jumps to any workspace it likes.......

2016-08-02 Thread Charlie

From my keyboard:
   
Debian testing 4.6.0-1-amd64
Using FVWM
Chromium - Version 52.0.2743.82 built on Debian stretch/sid,
running on Debian stretch/sid (64-bit)

Move onto the workspace on which Chromium is to open and try to do
so, and Chromium opens, but selects it's own workspace to open on?

Have read about this, or similar, on the web but can't find a
workaround to stop this happening.

Has anyone discovered this problem and found a way to stop this
happening? Please share. It would be appreciated.

Thank you,
Charlie

East Gippsland Wildlife Rehabilitators Inc..
   http://www.egwildlife.com.au/

-- 
Registered Linux User:- 329524
***

There are two things to aim at in life: first, to get what you
want; and after that to enjoy it. Only the wisest of mankind
achieve the second. Logan Pearsall Smith

***

Debian GNU/Linux - Magic indeed.

-



Re: Downloading and naming

2016-08-02 Thread Stephen Powell
On Tue, Aug 2, 2016, at 18:33, Pascal Hambourg wrote:
> Le 02/08/2016 à 02:28, Stephen Powell a écrit :
>> My original point remains.  If one's computer has less than 4 GiB of
>> memory installed, and the processor does not support the XD/NX bit, then
>> running a 32-bit PAE-enabled kernel does not benefit one at all.
> 
> Your original point did not mention the NX/XD bit.

True.  I *assumed* that the processor did not support the NX/XD bit.
That assumption should have been explicitly stated.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-



fibre channel in debian

2016-08-02 Thread Dennis Steinkamp

Hey guys,

i am planning to set up a backup VM on our esxi server based on debian.
To achieve what i have in mind, i would like to pass-through an fc-hba 
to the debian vm so the vm is able to access our storage and the 
attached lto5 library.
The backup software we use for lto purposes is linux compatible so that 
shouldn`t be a big deal. The only questions is, which fc-hba i should 
use so that debian works ideally out of the box with the hba.
As far as i know, there is a kernel module for certain qlogic hbas that 
comes with debian but i am not sure which hba to take, to make sure that 
i run into no big problems.

Any advice is very much appreicated, thank you in advance for your time.

Dennis



Re: GNOME 3.20 dropped support for tap-to-click?

2016-08-02 Thread Jörg-Volker Peetz
Using xserver-xorg-input-libinput 0.19.0-1 on a testing/sid system
tap-to-click is configured with

  Option "Tapping" "on"

see man libinput. On a HP Pavilion dv-7 with click-pad the right button works by
pressing down the right bottom corner of the touchpad.
Also tapping with two fingers is recognized as right mouse button click (three
fingers as middle mouse button).

Regards,
jvp.




Re: Downloading and naming

2016-08-02 Thread Pascal Hambourg

Le 02/08/2016 à 02:28, Stephen Powell a écrit :

On Mon, Aug 1, 2016, at 19:30, Pascal Hambourg wrote:


This is really surprising because, according to
, Pentium M models which
support PAE also support the NX bit. Actually, PAE support was added
just to support the NX bit, the physical address size is still 32 bits.


You should check your information.  :-)
That same Wikipedia article that you quoted above also says this:

"The Banias family processors internally support PAE but do not show the
PAE support flag in their CPUID information ..."


I stand corrected and confused "advertise PAE" with "support PAE".


My original point remains.  If one's computer has less than 4 GiB of
memory installed, and the processor does not support the XD/NX bit, then
running a 32-bit PAE-enabled kernel does not benefit one at all.


Your original point did not mention the NX/XD bit.
Also, there can be benefits to use the PAE-enabled kernel provided by 
Debian which are not related to PAE but to other build options which are 
not present in the non-PAE kernel :

- support for SMP (hyperthreading or multi-core)
- optimizations for the 686 instead of the 586 or older CPUs

At least this has been true up to the current stable version, Jessie. 
However, it seems that the non-PAE kernel in the next Debian release, 
Stretch, is built with these options too (and drops support for the 586 
CPUs).




Debian server for backups of Windows clients

2016-08-02 Thread Daniel Bareiro
Hi all!

I'm thinking deploy a Debian backup server using Dirvish (which is based
on rsync --- indeed, we have packaged it in Debian). On previous
occasions I implemented these solutions seamlessly with GNU/Linux
clients, but now I would like add Windows clients.

The idea of using Dirvish is because I had a very good experience.
Besides using rsync with hard links for backups of files that do not
change from backup to the next allows a considerable saving of disk space.

But to use Dirvish with Windows clients I will need to install an SSH
server. I had thought that an alternative would be to use Cygwin, but
was looking for documentation and I have not found any uniform process
to install and configure a Cygwin SSH server on Windows.

I would like to know if anyone has had any experience in this regard
that could share.


Thanks in advance.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: connectivity check

2016-08-02 Thread Erick Ocrospoma
On 2 August 2016 at 11:43, Glenn English  wrote:

>
> > On Aug 2, 2016, at 1:32 AM, Pol Hallen  wrote:
> >
> > Hi folks :-)
> >
> > I need (better a daemon) to check if my server goes offline.
> >
> > I guess from my other server something like ping -c1 server ; echo $?
> >
> > is there a package for this issue? (maybe nagios but I prefer something
> more than light).
>
> monit? webmin? a cron job similar to the script you thought of?
>
> --
> Glenn English
>
>
>
> ​​
​+1 Mmonit


-- 


Erick.


---
IRC :   zerick
Blog: http://zerick.me
About :  http://about.me/zerick
Linux User ID :  549567


Re: connectivity check

2016-08-02 Thread Glenn English

> On Aug 2, 2016, at 1:32 AM, Pol Hallen  wrote:
> 
> Hi folks :-)
> 
> I need (better a daemon) to check if my server goes offline.
> 
> I guess from my other server something like ping -c1 server ; echo $?
> 
> is there a package for this issue? (maybe nagios but I prefer something more 
> than light).

monit? webmin? a cron job similar to the script you thought of?

-- 
Glenn English





Re: GNOME 3.20 dropped support for tap-to-click?

2016-08-02 Thread David Wright
On Tue 02 Aug 2016 at 10:08:55 (+0200), Francois Gouget wrote:
> On Mon, 1 Aug 2016, Francois Gouget wrote:
> [...]
> > I tried some more mouse/touchpad drivers to no avail. To summarize:
> >  * xserver-xorg-input-synaptics: tap-to-click but no right click
> >  * xserver-xorg-input-libinput:  right click but no tap-to-click
> 
> That should have been the opposite:
> >  * xserver-xorg-input-synaptics: right click but no tap-to-click
> >  * xserver-xorg-input-libinput:  tap-to-click but no right click
> [...]
> > So no matter what, touchpads are broken in GNOME and so far as I can 
> > tell nobody cares :-(
> 
> But I finally found a workaround using the synaptics driver.
> 
> I don't have an xorg.conf file

# Xorg -configure
will create one for you.

> so I tried adding Michael's suggested 
> settings in /etc/X11/xorg.conf.d/50-synaptics.conf but that had no 
> effect. Maybe the identifier string was wrong or more likely the 
> configuration section just cannot stand on its own.
> 
> So then I copied /usr/share/X11/xorg.conf.d/70-synaptics.conf to 
> /etc/X11/xorg.conf.d and added the TapButton lines to the section titled 
> "Default clickpad buttons". So for me that section now reads:
> 
> # This option enables the bottom right corner to be a right button on 
> clickpads
> # and the right and middle top areas to be right / middle buttons on clickpads
> # with a top button area.
> # This option is only interpreted by clickpads.
> Section "InputClass"
> Identifier "Default clickpad buttons"
> MatchDriver "synaptics"
> Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
> Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
> Option "TapButton1" "1"
> Option "TapButton2" "2"
> Option "TapButton3" "3"
> EndSection
> 
> And that finally got me tap-to-click with the synaptics driver, without 
> breaking right-clicks. It's sad that getting such basic functionality 
> working feels like a breakthrough :-(

Very sad, because all these options seem to be documented at length in
man synaptics
with a lot more gloss (and even a diagram) than is typical of man pages,
and some are even supplied as a file in the synaptics package.
Some of the options you mention are only available on clickpads and
meant nothing to me. Would I be right in thinking that this post is
the first mention of your having a clickpad?

I assume you're running stretch as I can't find a package called
xserver-xorg-input-libinput in stable. I do hope that such
"basic functionality" does not become an imposed default behaviour
in stretch just to avoid your having to apply some configuration,
sorry, workaround. For myself and many others, tap-to-click is the
bane of touchpads if you don't know how to turn it off.

Cheers,
David.



Re: Terminal

2016-08-02 Thread Roberto Scattini
On Fri, Jul 29, 2016 at 5:04 PM, Темир Урокбаев  wrote:

> Hello. Tell me, is there a
> comprehensive list of terminal
> commands, and where to find it
> or download.
>
>
i keep one printed copy of this in my backpack (seriously):

http://cb.vu/unixtoolbox.xhtml



-- 
Roberto Scattini


Systemd Suspend Sedation Problem

2016-08-02 Thread Qiang Yin
Hi, I follow the following wiki page to setup a suspend sedation systemd
service.
https://wiki.debian.org/SystemdSuspendSedation
Code:
#
/etc/systemd/system/suspend-sedation.service
[Unit]
Description=Hibernate after suspend
Documentation=https://bbs.archlinux.org/viewtopic.php?pid=1420279#p1420279
Documentation=https://bbs.archlinux.org/viewtopic.php?pid=1574125#p1574125
Documentation=https://wiki.archlinux.org/index.php/Power_management
Documentation=https://wiki.debian.org/SystemdSuspendSedation
Conflicts=hibernate.target hybrid-suspend.target
Before=suspend.target
StopWhenUnneeded=true

[Service]
Type=oneshot
RemainAfterExit=yes
Environment="ALARM_SEC=300"
Environment="WAKEALARM=/sys/class/rtc/rtc0/wakealarm"

ExecStart=/usr/sbin/rtcwake --seconds $ALARM_SEC --auto --mode no
ExecStop=/bin/sh -c '\
ALARM=$(cat $WAKEALARM); \
NOW=$(date +%%s); \
if [ -z "$ALARM" ] || [ "$NOW" -ge "$ALARM" ]; then \
  echo "suspend-sedation: Woke up - no alarm set. Hibernating..."; \
  systemctl hibernate; \
else \
  echo "suspend-sedation: Woke up before alarm - normal wakeup."; \
  /usr/sbin/rtcwake --auto --mode disable; \
fi \
'

[Install]
WantedBy=sleep.target
RequiredBy=suspend.target

The goal is to allow my laptop first suspend when I close lid and if I dose
not open lid for 5 min then it will hibernate.

This service works as expected when my AC adapter is connected. But when my
laptop works on battery, its behavior is very strange.

1. Suppose I disconnect my AC adapter and closed the lid then my laptop
will immediately suspend.
2. 5 minutes later, my laptop will beep means that it wakes up. The
expecting behavior then is that it hibernates. But nothing happens.
3. If don't open the lid then the laptop keeps in suspend status.
4. If I open the lid then it will first wake up from suspend status and
then go to hibernate at this time.

The following log of suspend-sedation.service explains the above behavior.
Code:
$ journalctl -u suspend-sedation
— Logs begin at Mon 2016-08-01 21:26:15 CST, end at Tue 2016-08-02 15:46:05
CST// logs when work on AC
Aug 02 15:10:43 x301 systemd[1]: Starting Hibernate after suspend...
Aug 02 15:10:43 x301 rtcwake[16160]: rtcwake: wakeup using /dev/rtc0 at Tue
Aug
Aug 02 15:10:43 x301 systemd[1]: Started Hibernate after suspend.
Aug 02 15:15:47 x301 sh[16240]: suspend-sedation: Woke up - no alarm set.
Hibern
Aug 02 15:15:46 x301 systemd[1]: suspend-sedation.service: Unit not needed
anymo
Aug 02 15:15:46 x301 systemd[1]: Stopping Hibernate after suspend...
Aug 02 15:15:47 x301 systemd[1]: Stopped Hibernate after suspend.// logs
when works on battary
Aug 02 15:18:49 x301 systemd[1]: Starting Hibernate after suspend...
Aug 02 15:18:49 x301 rtcwake[16628]: rtcwake: wakeup using /dev/rtc0 at Tue
Aug
Aug 02 15:18:49 x301 systemd[1]: Started Hibernate after suspend.
Aug 02 15:27:13 x301 sh[16658]: suspend-sedation: Woke up - no alarm set.
Hibern
Aug 02 15:27:10 x301 systemd[1]: suspend-sedation.service: Unit not needed
anymo
Aug 02 15:27:10 x301 systemd[1]: Stopping Hibernate after suspend...
Aug 02 15:27:13 x301 systemd[1]: Stopped Hibernate after suspend.

The systemd version of my system is 230.

Dose anyone has a clue?
Cheers,
Qiang


Re: GNOME 3.20 dropped support for tap-to-click?

2016-08-02 Thread Francois Gouget

On Mon, 1 Aug 2016, Francois Gouget wrote:
[...]
> I tried some more mouse/touchpad drivers to no avail. To summarize:
>  * xserver-xorg-input-synaptics: tap-to-click but no right click
>  * xserver-xorg-input-libinput:  right click but no tap-to-click

That should have been the opposite:
>  * xserver-xorg-input-synaptics: right click but no tap-to-click
>  * xserver-xorg-input-libinput:  tap-to-click but no right click
[...]
> So no matter what, touchpads are broken in GNOME and so far as I can 
> tell nobody cares :-(

But I finally found a workaround using the synaptics driver.

I don't have an xorg.conf file so I tried adding Michael's suggested 
settings in /etc/X11/xorg.conf.d/50-synaptics.conf but that had no 
effect. Maybe the identifier string was wrong or more likely the 
configuration section just cannot stand on its own.

So then I copied /usr/share/X11/xorg.conf.d/70-synaptics.conf to 
/etc/X11/xorg.conf.d and added the TapButton lines to the section titled 
"Default clickpad buttons". So for me that section now reads:

# This option enables the bottom right corner to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Default clickpad buttons"
MatchDriver "synaptics"
Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection

And that finally got me tap-to-click with the synaptics driver, without 
breaking right-clicks. It's sad that getting such basic functionality 
working feels like a breakthrough :-(

-- 
Francois Gouget   http://fgouget.free.fr/
$live{free} || die "";



connectivity check

2016-08-02 Thread Pol Hallen

Hi folks :-)

I need (better a daemon) to check if my server goes offline.

I guess from my other server something like ping -c1 server ; echo $?

is there a package for this issue? (maybe nagios but I prefer something 
more than light).


thanks for help!

Pol