Better keyboard shortcuts

2016-06-24 Thread One Infinite Loop
I'd like to press, for example, the Menu key and the output be as if I
pressed Ctrl+R or another combination of keys. In other words, I'd like to
set aliases for combos using the same graphical user interface (System
Settings/Keyboard menu) provided by Ubuntu 16.04 to set/change keyboard
shortcuts. Thanks in advance!

I do not want to install Autokey, I want a builtin functionality as I
already mentioned above. In plus, Ctrl+R does one thing inside a browser
window and another thing inside a terminal window. I just want, for
example, to press Menu key and Ubuntu to think I pressed Ctrl+R. That's
all. Just a suggestion.
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Better keyboard shortcuts

2016-06-24 Thread Xen
In case it matters, personally I wish people would just drop their hate 
of Microsoft and actually bind the Windows key on many keyboards to 
something useful. It is just not bound. Why? It is one of the most 
useful keys in existence and has been for a long time on the Windows 
platform, but it does not do anything on Linux even though every 
freaking keyboard just has it, but it is getting ignored.


Instead, I have to press alt-F1 to open my menu (which, on this 
keyboard, kinda sucks).


I believe it is called the Super key? What a stupid name to begin with! 
And Alt is called the Meta key? Equally stupid.


What keyboard calls this meta? What is the confusion here? Why does it 
have to be so confusing to people? Just call it Alt already. Every 
keyboard in existence calls it Alt.


(I just discovered print-screen on my keyboard, lucky me).

What on earth were people thinking when they tried to get away from 
calling it "windows key" and "alt key"


At least then call it the "command" key like it is on the Mac, but don't 
call it the "super" key by all means, ffs.


command, control and . alt ;-).

(that was intended to be a reference to the game command & conquer ;-)).

This single thing is a HUGE usability issue on Linux in general and no 
one even has the mind to fix it, it is just incredible. When other 
systems have all the power, we need to use "alt-F1" and "alt-F2" (in 
KDE) for the most important features -- what the HELL.


And then if you tap the wrong button your program closes (alt-F4) GREAT.

Even the design decision for many programs to honor Ctrl-W (for closing 
a window) and then also honoring Ctrl-Q (for closing the application) is 
downright evil to begin with if you do not ask for confirmation on the 
Ctrl-Q, because these keys are right next to one another and the amount 
of work that people have lost because of this must be monumental.


And now we have in KDE these issues of having to use Ctrl-Shift-C in a 
konsole to copy text (BAAD choice) while this same button does 
something very different in every major browser. It is the worst 
keyboard shortcut they could have imagined on text copying in a console, 
by far. Even "Ctrl-X" would have been better (it doesn't do anything in 
a browser, and barely anything I can see in a shell/console -- and you 
cannot "cut" text in a console anyway). But more likely you would just 
want to press Enter after selecting text.


Ctrl-shift-C is the worst thing I have had to work with in my life. 
Regarding that.


So I may not know much about Unity these days but I guess Ubuntu is not 
only about Unity, sorry for that.



But this "super" key should just do something useful, and not be 
neglected on every damn keyboard in the planet. (Apple just switches two 
keys, command and alt).




One Infinite Loop schreef op 24-06-2016 10:52:

I'd like to press, for example, the Menu key and the output be as if I
pressed Ctrl+R or another combination of keys. In other words, I'd
like to set aliases for combos using the same graphical user interface
(System Settings/Keyboard menu) provided by Ubuntu 16.04 to set/change
keyboard shortcuts. Thanks in advance!

I do not want to install Autokey, I want a builtin functionality as I
already mentioned above. In plus, Ctrl+R does one thing inside a
browser window and another thing inside a terminal window. I just
want, for example, to press Menu key and Ubuntu to think I pressed
Ctrl+R. That's all. Just a suggestion.


So you don't want better keyboard shortcuts, you want to be able to 
/create/ keyboard shortcuts in the first place, in the sense of mapping 
one to another.


Like the game controllers for the Super Nintendo when we were young (or 
at least, I was). You could have these power controllers doing difficult 
moves and the one with the controller would win every (fighting) game 
;-).


You could simply record a macro, but maybe we have macro software? That 
is really the answer to your solution: you want to record keyboard 
macro's that have really no delay in them. And you want to bind any key 
to any macro doing that stuff for you. I also do not really know what 
the Menu key is, but that is besides it for me.




--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: nginx package signature guarantees with Xenial?

2016-06-24 Thread Robie Basak
Hi Jeff,

Thank you for getting in touch.

I think the ubuntu-server mailing list is probably more appropriate to
reach the right audience for this discussion, so I'm moving the thread
there. Please reply to ubuntu-server only.

I'm going to skip ahead in your message a bit.

On Thu, Jun 23, 2016 at 04:48:21PM -0400, Jeff Kaufman wrote:
> (One thing that this would mean would be not updating the version of
> nginx that's included in a release, since that's part of the
> signature.  Switching from 1.9.15 to 1.10.0, which you did right after
> releasing, is the sort of thing this would preclude.)

Unfortunately I think this rules out your proposal. We do what we call
"micro release updates" (MREs) when appropriate. Generally, if an
upstream has a stable release branch, have a policy of applying only
bugfixes to that branch, and has decent test coverage, then we're open
to using it.

We rely on upstreams for bugfixes quite a bit. So I don't think we
should close the door to this possibility. Fundamentally I don't think
we're in a position to make the kind of commitment you're requesting
because we don't write the updates.

> I work on ngx_pagespeed, which is an open source nginx module that
> rewrites web pages so they load faster.  To install ngx_pagespeed on
> Ubuntu site-owners currently need to build our package from source,
> but they would find it much easier if we could ship binary packages
> that they could install.  Nginx didn't previously support these
> packages, but they added it recently and Xenial is the first release
> of Ubuntu that includes a recent enough version of nginx to make this
> possible.

Have you considered adding your module to Ubuntu's repositories? Is
there any reason you couldn't maintain them in xenial-backports for the
benefit of Xenial users, for example?

IMHO heavy dependency on an exact version is never good - it's better
for the wider ecosystem if there is focus on the actual ABI instead of
some signature that gets bumped "too often" in order to more easily
allow external modules such as yours. But an example of another package
where this kind of thing happens is pinba-engine-mysql, which you might
want to take a look at to see the packaging mechanisms used. Right now,
when the Ubuntu security team update MySQL to a newer upstream version
(from the same upstream stable branch), they also issue a "no change
rebuild" update of pinba-engine-mysql. This way users don't need to
compile anything and it all just works.

One disadvantage is that if pinba-engine-mysql failed to build with a
newer MySQL, then the security team would presumably end up a little
stuck (and would probably be forced to update MySQL anyway, breaking
pinba-engine-mysql, to minimise vulnerability exposure to users). But
really this is just a more common case of the general problem of ABI
breakage in any potential update.

> Nginx dynamic modules are pretty different from Apache ones, or other
> ones that go via an ABI.  Instead of a defined interface they use a
> very inclusive signature, and require modules to have been compiled
> against a copy of nginx that has the same signature as the host.
> Would you be up for committing not to make changes to the signature of
> nginx in a release, over the course of the several years of
> maintaining it?  If so we could release one module compiled for
> "Ubuntu 16 LTS" and then in two years start maintaining an additional
> module compiled against "Ubuntu 18 LTS".  Otherwise I'm not sure how
> to ship binary modules for Ubuntu.

Note that it's 16.04, not just 16. 16 will be ambiguous when a
subsequent 16.10 is released.

Robie


signature.asc
Description: PGP signature
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Better keyboard shortcuts

2016-06-24 Thread Jan Claeys
On vr, 2016-06-24 at 16:02 +0200, Xen wrote:
> In case it matters, personally I wish people would just drop their
> hate of Microsoft and actually bind the Windows key on many keyboards
> to something useful. It is just not bound.

It's used a lot in the standard Ubuntu desktop.

For other desktop systems, you should probably talk to them or file a
bug report...


> I believe it is called the Super key? What a stupid name to begin
> with! And Alt is called the Meta key? Equally stupid.
[...]
> What on earth were people thinking when they tried to get away from 
> calling it "windows key" and "alt key"

While nowadays there are only two naming schemes that are still
commonly used (IBM PC-based & Apple), a long time ago many computer
companies had their own keyboard layouts & key names.  On many old
keyboards these keys were named the "meta" and "super" keys:
https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/Space-cadet.jpg/800px-Space-cadet.jpg



-- 
Jan Claeys



-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss