Re: "Ask HN: What do you want to see in Ubuntu 17.10?"

2017-04-08 Thread Nikolaus Rath
On Apr 08 2017, Wouter Verhelst  wrote:
>> - Airplane-mode Hotkey (especially hard apparently)
>> - Volume Hotkeys
>> - Brightness Hotkeys
>> - Suspend/hibernate hotkeys
>
> These are all implemented by ACPI on modern hardware. You need to have
> something that turns the ACPI events into something useful.
>
> If you have acpid installed, it usually turns the ACPI events into X11
> key events,
[...]

The "usually" is the problem :-).

>> - Hot-plug of external monitor
>
> Haven't gotten that to do anything useful, but then I also don't want it
> to (I just run xrander and tell it what I want changed).

That's what I mean. But again, xrandr doesn't always see a monitor when
you plug it in. And at the moment my X11 crashes when I unplug the
HDMI connection without first explicitly turning it off.


Best,
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

 »Time flies like an arrow, fruit flies like a Banana.«



Re: Debian Project Leader election 2017: First call for votes

2017-04-08 Thread Alberto Gonzalez Iniesta
On Sun, Apr 02, 2017 at 01:42:06AM +0200, Debian Project Secretary - Kurt 
Roeckx wrote:
> 
> 
> - - -=-=-=-=-=- Don't Delete Anything Between These Lines =-=-=-=-=-=-=-=-
> 4bfd7999-2252-4a5f-8f4e-e10ea7b8fdf8
> [ 2 ] Choice 1: Mehdi Dogguy
> [ 1 ] Choice 2: Chris Lamb
> [   ] Choice 3: None Of The Above
> - - -=-=-=-=-=- Don't Delete Anything Between These Lines =-=-=-=-=-=-=-=-
> 
> --
> 
> The responses to a valid vote shall be signed by the vote key created
> for this vote. The public key for the vote, signed by the Project
> secretary, is appended below.
> 
> -BEGIN PGP PUBLIC KEY BLOCK-
> 
> mQINBFjf/WsBEADDFHtoejre4AsAH29go+PPL1/W2pGjVii5pbjyDnzsRJ72cWes
> oZ0RVPjEc8zEcD4oKODoFoZ+YFxd89Xl44zI7Y3KV4popAjWVbdEwnSao7dFLsim
> 6c+HXAQmPX8ualHBM3CdP5QGUP5cROs6xIUrRSFIVvyLwP8N9Li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W62h2Yi2xVw+W4QT6qqkKy7uG
> 740fyno4uiSVPBxKeX9Kjp3oUZK3pVw1LmuB0CccEgl6lctSW+3X8mNG8zbIiVEo
> 9S57NOg8KhFDQKYx6MnvHn5+SsJeVvtuG8ViQmuf3e56HaR/xRQO40KixDPgMYOy
> 4UCnWtIYMEjBznCLKMhEzwQrcdmwBTqUilxRLQMscYXPqQzAHLz5iJYd0qLNYnNn
> 4lpCGG/8nn+6tt43oGSzhnD9+xoZKMNwxP/k7rrfLBbERk+YZIte1PV8Tg6B4ekt
> 6lZndQ6e8PmhWo24K8mNU8E1cOlCwW1uqpVApIxSgy5BrZi6Ty5bBto4/pkBlCzB
> h/gZMNDb5Swvv//7GU8rTBfm3GUuYx4jh7nWmTzHtBVnczcMfTrjwfXIpGK0bZH8
> PskH3di8dUPObdQ=
> =SKnD
> -END PGP PUBLIC KEY BLOCK-
> 



-- 
Alberto Gonzalez Iniesta| Formación, consultoría y soporte técnico
mailto/sip: a...@inittab.org | en GNU/Linux y software libre
Encrypted mail preferred| http://inittab.com

Key fingerprint = 5347 CBD8 3E30 A9EB 4D7D  4BF2 009B 3375 6B9A AA55


signature.asc
Description: PGP signature


Bug#859880: ITP: spyder-terminal -- plugin to display a virtual terminal within the Spyder IDE

2017-04-08 Thread Ghislain Antony Vaillant
Package: wnpp
Severity: wishlist
Owner: Ghislain Antony Vaillant 

* Package name: spyder-terminal
  Version : 0.1.0
  Upstream Author : Spyder Project Contributors
* URL : https://github.com/spyder-ide/spyder-terminal
* License : Expat
  Programming Lang: Python
  Description : plugin to display a virtual terminal within the Spyder IDE

Long-Description:
 Spyder Plugin for displaying a virtual terminal (OS independent) inside
 the main Spyder window. Currently it only supports Unix and Unix-like
 operating systems.
 .
 This plugin allows you to execute flawlessly any bash command inside
 spyder, even ncurses applications like nano or vi.

This package will be maintained by the Debian Science Team alongside
the other spyder plugins.



Re: "Ask HN: What do you want to see in Ubuntu 17.10?"

2017-04-08 Thread Ritesh Raj Sarraf
On Thu, 2017-04-06 at 16:07 -0700, Nikolaus Rath wrote:
> > FWIW it's been a long time since I had any problems in this regard,
> > and I'm surprised it's still an issue among knowledgeable people by
> > 2017!
> 
> Maybe I'm just exceedingly unlucky, but I have yet to find a laptop
> where all of the following works:

You're not alone.

It is a Hit/Miss situation. When you hear a hardware advertised as, "Works well
with Linux", it is important to investigate which Linux ?

Because Debian is pure, others are not. Debian mostly relies on fixes that have
reached the upstream kernel. Many others do not.

Once you overcome that, you still have the binary firmware's behavior to deal
with. Lucky you, if all those combinations, together, work fine for you.

Debian should have a Hardware Certification process in place. That'll help a lot
many users.


-- 
Given the large number of mailing lists I follow, I request you to CC
me in replies for quicker response

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


Re: "Ask HN: What do you want to see in Ubuntu 17.10?"

2017-04-08 Thread Wouter Verhelst
On Thu, Apr 06, 2017 at 04:07:54PM -0700, Nikolaus Rath wrote:
> On Apr 06 2017, Gunnar Wolf  wrote:
> > Nikolaus Rath dijo [Wed, Apr 05, 2017 at 03:18:57PM -0700]:
> >> >> I have a very different perception
> >> >
> >> > Me too.  I guess it depends very much on whether one can afford to buy
> >> > a good laptop which works well with Linux.
> >> 
> >> I think there's a pre-requisite that's much harder for a lot of people:
> >> finding out what laptop works well with Linux. This is the stage where I
> >> have repeatedly failed - the differences in model numbers are just too
> >> tiny and subtle, and typically things that work well are no longer sold
> >> commercially.
> >
> > FWIW it's been a long time since I had any problems in this regard,
> > and I'm surprised it's still an issue among knowledgeable people by
> > 2017!
> 
> Maybe I'm just exceedingly unlucky, but I have yet to find a laptop
> where all of the following works:
> 
> - Suspend

I found that when I switched my laptop from sysvinit to systemd, this started
to work flawlessly.

I'm not saying you need to switch to systemd if you haven't yet already,
but it might be a bug in whatever you're using to suspend, rather than
in Linux in general.

> - Hibernate

Don't use that anymore, personally, so no idea.

> - Airplane-mode Hotkey (especially hard apparently)
> - Volume Hotkeys
> - Brightness Hotkeys
> - Suspend/hibernate hotkeys

These are all implemented by ACPI on modern hardware. You need to have
something that turns the ACPI events into something useful.

If you have acpid installed, it usually turns the ACPI events into X11
key events, which you can monitor with the "xev" tool. It is then up to
your window manager to do something useful with that (or up to you to
configure your window manager to do so).

Most desktop environments' window managers deal with all that the right
way, but if you're using something more basic, you might have to deal
with it yourself. For instance, at one point I added the following to my
awesomewm's rc.lua:

awful.key({ }, "XF86MonBrightnessDown", function() 
awful.util.spawn("xbacklight -dec 5") end),
awful.key({ }, "XF86MonBrightnessUp", function() 
awful.util.spawn("xbacklight -inc 5") end),
awful.key({ modkey }, "XF86MonBrightnessDown", function() 
awful.util.spawn("xbacklight -set 1") end),
awful.key({ modkey }, "XF86MonBrightnessUp", function() 
awful.util.spawn("xbacklight -set 100") end),

(this doesn't work currently because the Intel KMS driver doesn't
support xbacklight, but that's a different matter)

> - Hot-plug of external monitor

Haven't gotten that to do anything useful, but then I also don't want it
to (I just run xrander and tell it what I want changed).

> >From memory, some of the models I tried and found lacking: Asus EeePC,
> Lenovo Carbon X1, HP Elitebook from ~3 years ago, HP Elitebook from just
> now.
> 
> Suggestions for the next purchase are welcome :-).
> 
> (but probably better off-list)

I've not had any serious issues over the past three laptops:

- Fujitsu-Siemens Lifebook E734 (current)
- Lenovo X220 (N-1)
- HP something (cheap one, crappy battery life, N-2)

Sometimes you need to fiddle with configuration a bit if you're not
using things like gnome or KDE that set it all up for you, but that's
the choice you make.

-- 
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
   people in the world who think they really understand all of its rules,
   and pretty much all of them are just lying to themselves too.
 -- #debian-devel, OFTC, 2016-02-12