Some highlights form me I did not know yet:
- !?string? matches the last command in history that contains string at all. I always just used ^r which is faster but can't be composed in nifty ways.
:% can be composed to match the specific argument of a history match where the match took place. So instead of having to type out long/pathname/to/file/somewhere/with/this-name you just type !?this-name?:% instead.
:h and composes to substitute a path with its directory only :t does the opposite and substitutes only its actual basename. cd !?.ebuild?:%:h is a godsent over cd /var/lib/portage/repos/gentoo/sys-devel/gcc if you need to cd into a directory whose file you just edited.
:q composes to insert the substitution but ensures it is completely shell quoted. echo -n !!:q | xclip -selection clipboard becomes a fast way to reliably get the last command you entered on your X clipboard.
Also, be sure to put shopt -s histverify into your bashrc. This ensures that any history substitution is not immediately executed but put into readline's buffer so you can ensure it is correct and even edited it as you normally would.submitted by /u/dark_melancholies
LXer: This Week in Open Source: Microsoft Expands Open Source Love, 498/500 Supercomputers Run Linux, and More
In the world of Linux distributions, users are often faced with the option of choosing an enterprise-grade distribution or a community distribution. With the openSUSE Leap approach, SUSE is attempting to merge the best of both the enterprise and community models into a new type of Linux distribution. In the pure community-first model the upstream open-source code is packaged in a distribution, which can then be further hardened to eventually produce an enterprise-grade Linux product. The open-source openSUSE Leap 42.2 Linux distribution became generally available on Nov. 16 and takes a different approach. Code from the SUSE Linux Enterprise Service Pack 2 release, which debuted on Nov. 8, is now in the freely available openSUSE Leap 42.2 update. As part of its enterprise community stability focus, openSUSE Leap benefits from the Linux 4.4 Long Term Support Kernel (LTS). SUSE expects to support openSUSE Leap releases for 36 months. The new release also includes the latest in open-source application packages with LibreOffice and Firefox as well as developer and graphics tools. This slide show eWEEK takes a look at some of the features in the new openSUSE 42.2 Linux operating system release.
I saw today a review that made me very sad (http://arstechnica.co.uk/apple/2016/11/macbook-pro-touch-bar-13-15-inch-touch-bar-review/). The author wrote:
The Touch Bar in Windows and Linux
The Touch Bar does work in Windows once you’ve installed the Boot Camp software, but it doesn’t do very much and you can’t do much to configure it. By default, it shows the “expanded Control Strip” view. Press the fn key, and you’ll be shown a normal function row. That’s it.
Linux fans shouldn’t get their hopes up for Touch Bar support, though. Apple has never officially supported Linux on its systems, and even the basic functions available in Windows don’t appear until the Boot Camp installer has installed all the necessary drivers.
So, it's official, we maybe years far away from support of Linux in the new MacBook pro with touchbar. Probably, the community will need to obtain the bootcamp driver and do some kind of reverse engineering. This should take very long to be accomplished. But, anyway, I really hope to be wrong, I really liked this new laptop.submitted by /u/Ronis_BR
NVIDIA 375.20 Adds X.Org Server 1.19 Support, Stabilizes Other Changes
NVIDIA today issued the 375.20 Linux driver release as their first in the stable 375 driver series for Linux/Solaris/FreeBSD.
New X.Org Driver Updates Roll Out For Xorg-Server 1.19 Support
In addition to the Radeon and AMDGPU DDX updates yesterday, other X.Org drivers are seeing releases this week in order to support the brand new X.Org Server 1.19.
- The Vulkan API spec has been updated again, now at its 34th revision since release
KDE Ships Beta of KDE Applications 16.12
Today KDE released the beta of the new versions of KDE Applications. With dependency and feature freezes in place, the KDE team's focus is now on fixing bugs and further polishing.
Check the community release notes for information on new tarballs, tarballs that are now KF5 based and known issues. A more complete announcement will be available for the final release
The KDE Applications 16.12 releases need a thorough testing in order to maintain and improve the quality and user experience. Actual users are critical to maintaining high KDE quality, because developers simply cannot test every possible configuration. We're counting on you to help find bugs early so they can be squashed before the final release. Please consider joining the team by installing the beta and reporting any bugs.
KDE Applications 16.12 Enters Beta Testing, Final Release Arrives on December 15
Today, November 18, 2016, KDE announced the availability for public testing of the Beta build of the upcoming KDE Applications 16.12 software suite for KDE Plasma 5 desktop environments.
As reported last week, the KDE Applications 16.08 series reached end of life with the third and last maintenance update, versioned 16.08.3, which means that work begun on the next major branch, KDE Applications 16.12, which you can now take for a test drive using today's Beta release.
KDE Applications 16.12 Now In Beta
KDE Applications 16.12 is now in beta while this collection of KDE software is under a dependency and feature freeze ahead of next month's official release.
Reddit: Run everything super unsecured. I need www-data to have access to run scripts on a machine not connected to the internet.
Long story short, I'm trying to setup a kiosk display for an escape room. Two raspberry pis connected via ethernet. One Pi serves the web page, the other Pi runs FullPageOS and displays that web page. I need the server Pi to be able to send the below command to the kiosk Pi to refresh the pagesudo ssh seancekiosk2.local -l pi 'DISPLAY=:0 xdotool getactivewindow key F5'
I put that in a script and try to execute it as www-data (since I'm calling the script through php). Nothing happens, I think due to permissions on www-data.
How do I remove all security and give www-data full permissions to run anything and everything on the system? These Pis will not be connected to the internet, so I'm not concerned with their security status.submitted by /u/TastesLikeBurning