Re: [DNG] sane-utils depends on libsystemd0

2017-05-10 Thread Olaf Meeuwissen
Hi,

Just chiming in wearing my SANE project janitor hat.

For the folks on sane-devel, Devuan is a Debian fork that is intent on
getting completely rid of anything that smacks of systemd.

Arnt Gulbrandsen writes:

> Hendrik Boom writes:
>> So... does sane need saned?  Do the scanners have to initiate communication
>> with the computer for which there always has to be a daemon running?
>
> That's not what sane does. Sane doesn't need saned to scan; I use devuan
> and a scanner without even having saned installed.
>
> Saned is what you need if you want to connect a USB scanner to host A and
> then run scanning software on host B. It makes A pretend to be a network
> scanner that B can use, rather like how my scanner (a Brother MFC-8880)
> offers its services to everyone on the net.

That's the original use case scenario for which saned was developed but
scanbd[1] now uses saned under the covers to enable device button push
initiated actions.

 [1] https://sourceforge.net/projects/scanbd/

That said, saned does not require the systemd stuff.  IIUC, the optional
dependency only makes saned play nice in systemd setups.

For Devuan there no need to play nice with something that isn't there,
so passing --without-systemd to ./configure is perfectly fine and will
skip any systemd checks.  Not specifying the option will check for
systemd but should disable the systemd support when not found.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Help with xmodmap+xcape

2017-05-10 Thread Giovanni Rapagnani

On 09/05/17 23:36, Antonio Trkdz.tab wrote:

Hi All,

I decided to live dangerously (with backups) and I recently upgraded my
laptop install from Jessie to Ascii.
It was a full fledged installation (X and all the bells and whistles...)
and so far so good except for a couple of little things.

Slim got hit as apt-getting it throws:

The following packages have unmet dependencies:
 slim : Depends: libpng12-0 (>= 1.2.13-4) but it is not installable
E: Unable to correct problems, you have held broken packages.

really minor and I didn't really investigate a lot on this, but if some
of you has already faced it any hint would be greatly appreciated.

Instead there is something more serious (to me)
I use a mixed XFCE environment with i3 as window manager and I was using
xmodmap and xcape to modify some key bindings, in particular I map the
spacebar to Hyper_L on press and xcape-ing it to space again on release,
as per my .xmodmaprc (attached) and calling it in .profile (attached)

when xfce/i3 loads the key binding is not loading on startup no matter
what I do.
xmodmap is complainig when in terminal emulator I run:

$ . .profile
xmodmap:  commandline:1:  bad add modifier name 'hyper_l', not allowed
xmodmap:  1 error encountered, aborting.

The strange thing is that CTRL-CAPS (also in xmodmaprc) swap is
recognised initially and reverted on when I source .profile.
Also the other mapping (keycode 94 = Control_R) seems to never work.



Hello Antonio,

You should first remove a specific function (Control_R) from its global 
function (Control) before binding a new keycode to it. An example will 
be more clear:


instead of doing:
 keycode 94 = Control_R
 add Control = Control_R

do:
 remove Control = Control_R
 keycode 94 = Control_R
 add Control = Control_R


About assigning Hyper_L to mod3. On my system Hyper_L is bound to mod4. 
You can verify if it applies to yours by executing 'xmodmap' without 
arguments. So I first need to unbind it from mod4, then bind it to mod3.


remove mod4 = Hyper_L
add mod3 = Hyper_L

Hope this helps,
Giovanni



Do you have any idea?
Thanks in advance.

Antonio

--
This message has been scanned for viruses and
dangerous content by *MailScanner* , and is
believed to be clean.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng