SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
maybe it's better to add this new option in the SlackBuild: (--enable-auto-setup-driverless).
Note sure if i got this right for cups-filters, but in this post one of the debian package maintainers mentioned that you have to set this 'default' option manually in the cups-browsed.conf.
Note sure if i got this right for cups-filters, but in this post one of the debian package maintainers mentioned that you have to set this 'default' option manually in the cups-browsed.conf.
I have the latest release of gcr and gnome-keyring, installed here since longtime, without problem here, but......
Aha - I found it:
Code:
* 3.18.x removes the builtin GnuPG agent. Distributions
should instead package and enable the agent gnupg 2.1.6+ or
pinentry 0.9.5+ which interact well with GNOME, GNOME Shell
and allow caching of passphrases via libsecret.
So we should be fine with upgrading those now since we now have gnupg2-2.1.x in the tree.
Quote:
for Consolekit, it seem you have merged all patch who are present in the 1.0.2 version, i think this update is just cosmetic.
We didn't merge my patch to check for adequate swap space before hibernate, because upower already does that, and we have to use upower for now. Once plasma5 goes in, we can update to newer upower, let CK2 handle suspend/hibernate, and at that point we'll *need* newer CK2. There's a lot of work going on upstream there to emulate the logind interfaces too...
There's a lot of work going on upstream there to emulate the logind interfaces too...
ConsoleKit2 has the complete logind d-bus API implemented already, and therefore KWin is going to add equal support to CK2 along with systemd-logind. The proposed patch provided by Eric Koegel (CK2 developer) is here: https://phabricator.kde.org/D6291
I then activate/deactivate the swap by means of pm-utils hook:
Code:
$ cat /etc/pm/sleep.d/01swap
#!/bin/sh
if [ "$1" = hibernate -o "$1" = suspend ]; then
swapon -v $(blkid -t TYPE=swap -o device)
elif [ "$1" = thaw -o "$1" = resume ]; then
swapoff -v -a
fi
My objective is to have the swap disabled during normal system operation and use it only for hibernation.
But my point here is actually something different.
The kernel itself checks if the swap is available and refuses to hibernate if it isn't.
So in my opinion the upower check is redundant.
I tested it:
Code:
$ echo -n disk > /sys/power/state
-su: echo: write error: No such device
Code:
$ dmesg
[..]
[17265.721232] PM: thaw of devices complete after 88.795 msecs
[17265.721430] PM: Cannot find swap device, try swapon -a.
[17265.721431] PM: Cannot get swap writer
[..]
The point of the check in upower/CK2 is this: rather than allow the option to hibernate, which then fails, don't show the option at all if it can't succeed.
The point of the check in upower/CK2 is this: rather than allow the option to hibernate, which then fails, don't show the option at all if it can't succeed.
Yes, that's correct.
(Although I have re-implemented xfce4-session-logout for my use case too ;-)).
GNU grep NEWS -*- outline -*-
* Noteworthy changes in release 3.1 (2017-07-02) [stable]
** Improvements
grep '[0-9]' is now just as fast as grep '[[:digit:]]' when run
in a multi-byte locale. Before, it was several times slower.
** Changes in behavior
Context no longer excludes selected lines omitted because of -m.
For example, 'grep "^" -m1 -A1' now outputs the first two input
lines, not just the first line. This fixes a glitch that has been
present since -m was added in grep 2.5.
The following changes affect only MS-Windows platforms. First, the
--binary (-U) option now governs whether binary I/O is used, instead
of a heuristic that was sometimes incorrect. Second, the
--unix-byte-offsets (-u) option now has no effect on MS-Windows too.
Reminder: -m and -A are GNU extensions.
Oh and I am not sure about the improvement, as in UTF-8 the digits 0-9 are coded with one byte anyway. Maybe for UCS-2 or UTF-16 or UTF-32? But the former is deprecated, and who uses the other ones?
Yes, Big5 encodes 0-8 with double byte encoding still widely in use. Honestly I didn't check how the digits 0-9 are encoded in the many other encodings used in East Asia.
grep '[0-9]' is now just as fast as grep '[[:digit:]]' when run
in a multi-byte locale. Before, it was several times slower.
Oh and I am not sure about the improvement, as in UTF-8 the digits 0-9 are coded with one byte anyway. Maybe for UCS-2 or UTF-16 or UTF-32? But the former is deprecated, and who uses the other ones?
I read it differently: if the locale being used is multi-byte (e.g. LANG=fr_FR.utf8), then [0-9] is as fast as [[:digit:]], regardless of text encoding.
I read it differently: if the locale being used is multi-byte (e.g. LANG=fr_FR.utf8), then [0-9] is as fast as [[:digit:]], regardless of text encoding.
I am not sure that the word locale be properly used in the README. I see nothing in the POSIX specification that defines a multi-byte locale.
Does the quoted sentence means that e.g. with LANG set to fr_FR.utf8 instead of fr_FR writing [0-9] was slower than writing [[:digit:]] before this release? Maybe. I didn't check. What puzzles me is that the digits 0-9 are coded with one byte in both cases (which is true for the whole ASCII character set).
Last edited by Didier Spaier; 07-03-2017 at 02:39 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.