Language Selection

English French German Italian Portuguese Spanish

Linuxinsight

Syndicate content
LinuxInsight - aggregated feeds
Updated: 48 min 28 sec ago

Reddit: findmnt's pairs output is awesome

Wednesday 29th of March 2017 11:32:05 PM

the utility findmnt has an awesome option to set its output to a mode called "pairs". This is activiated with the -P option. For example I do:
rootfs=$(findmnt -P /)

to get info about the root filesystem, into the rootfs variable.
echo $rootfs
results in TARGET="/" SOURCE="/dev/sda1" FSTYPE="ext4" OPTIONS="rw,noatime,discard,data=ordered"
I do eval $rootfs, then I can do echo $OPTIONS and I get
rw,noatime,discard,data=ordered
This makes handling the output much easier in scripts, (especially when handling the possible random spaces in the TARGET field.)

Additionally, the sort command also supports this output, I could sort by the FSTYPE feild, (the third default feild) I can do findmnt -P |sort -k3,3 | head -4 and get

TARGET="/proc/sys/fs/binfmt_misc" SOURCE="systemd-1" FSTYPE="autofs" OPTIONS="rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12772" TARGET="/proc/sys/fs/binfmt_misc" SOURCE="binfmt_misc" FSTYPE="binfmt_misc" OPTIONS="rw,relatime" TARGET="/sys/fs/cgroup/systemd" SOURCE="cgroup" FSTYPE="cgroup" OPTIONS="rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd" submitted by /u/n3rdopolis
[link] [comments]

LXer: Orange Pi SBCs offer a choice of 32- or 64-bit SoCs for under $20

Wednesday 29th of March 2017 11:16:55 PM
The open spec “Orange Pi Zero Plus 2” SBC provides WiFi, BT, HDMI, MIPI-CSI, and a choice of quad-core Allwinner H3 (Cortex-A7) or H5 (-A53) SoCs. Shortly after launching an Orange Pi Zero Plus 2 with a 32-bit, Cortex-A7 Allwinner H3, Shenzhen Xunlong’s open source Orange Pi project shipped an Orange Pi Zero Plus 2 […]

TuxMachines: CUPS 2.2.3 Adds Support for PPD Finishing Keywords, IPP Everywhere Improvements

Wednesday 29th of March 2017 11:07:55 PM

CUPS 2.2.3 is the third point release to the stable 2.2 series of the project, bringing a bunch of IPP Everywhere improvements, such as support for all print qualities and media types that a printer supports, in the print queues.

Additionally, it makes IPP Everywhere finishings support work correctly with common command-line and UI (User Interface) options, and updates the PPD generator to return helpful error messages. Support for PostScript Printer Description (PPD) finishing keywords was also introduced in this release.

read more

Reddit: Opening a directory in the default file manager and selecting a file. New feature for GNU/Linux file managers?

Wednesday 29th of March 2017 10:37:31 PM

I've been using GNU/Linux for about a year now. There is nearly nothing I miss from my previous OS, and there are some things that make me tear up in joy every time I boot my computer (freedom!).

However, what I do miss, is the ability to go to a file (having it selected) in my file browser in a single action. For example, in Firefox, when a download is ready, all it offers is a button to go to the directory of where the file is downloaded. This is rather inconvenient, because my Download folder contains 100s of files. So now I have to go back to Firefox, look at the name of the file, then search for it, and only then I have the file selected.

The problem that Firefox and other apps exhibit this behavior is probably that there is no agreed upon way across different file managers to do this (opening a directory, selecting a file). On top of that, it's not even possible with any of the major file managers.

Now, I'm at least 1% serious when I say that I want to try to convince the developers of Thunar, GNOME/Files and Dolphin to agree on some URI that will not open the file with xdg-open (which is what happens if you do thunar file:/path/to/file.txt), but to select the file in a new window (maybe e.g. thunar :select/path/to/file.txt). Of course, this is just a shot in the dark of how this could be implemented.

Let me know:

  • If I'm making any sense.
  • If you'd be interested in this as well.
submitted by /u/ultrabowser
[link] [comments]

Reddit: Anyone bought an external drive lately?

Wednesday 29th of March 2017 10:31:50 PM

I'm shopping around to replace my old WD external desktop drive which doesn't have enough storage for me anymore, but it's been years since I've bought a hard drive. As a result, I'm looking for some community wisdom. Which new (released within the last couple of years) external drives do you recommend?

For starters, here are my requirements:

  • 2-4 TB, maybe 5 if the deal is really good

  • I'm looking in the $100-150 range, but the cheaper the better.

  • I'm looking for a self-contained, external drive, but it doesn't necessarily have to be one of the "portable" drives that runs off of USB power. If it is, great, but I'm perfectly happy to plug it into a wall.

After briefly browsing a few of the popular tech publications, it seems like people are recommending the new Seagate Backup Plus as well as the Seagate "portable" drives. This surprised me because I had multiple Seagate drives fail on me and have avoided the brand for the past 10 years. Have they become more reliable since then?

Are there any drives currently on the market that I should specifically avoid due to known hardware issues when used with Linux? I know there have been problems in the past, but I'd hope manufacturers would have moved beyond that by now.

tl;dr: What external hard drive currently on the market do you recommend that has at least 2TB, is under $150, and doesn't have any known Linux hardware compatibility issues?

submitted by /u/sricks3
[link] [comments]

LinuxInsider: Cloud Foundry Aims to Close Cloud Skills Gap

Wednesday 29th of March 2017 10:25:46 PM
The Cloud Foundry Foundation has announced the launch of a worldwide cloud-native developer certification initiative. The foundation created the program to fill the widening gap of trained programmers for cloud apps and services. The Linux Foundation -- which has trained and certified more developers on open source software than any organization in the world -- will provide the instruction. More than a dozen leading technology, education and systems integration organizations around the world will participate in the cloud certification program.

LXer: Where Ubuntu 17.04 “Zesty Zapus” Is Heading

Wednesday 29th of March 2017 09:57:26 PM
You may have heard that our Ubuntu has got a new update. Yes, it is true. On 2017-03-23 20:12:37 the release notes on the website of Canonical Group Ltd were uploaded informing the latest Ubuntu 17.04 codenamed “Zesty Zapus”. Let's see where Ubuntu 17.04 is heading.

Reddit: DHCP server config

Wednesday 29th of March 2017 09:49:48 PM

Hi guys. So my teacher is trying to show us how to setup DHCP config. He says if my ifcfg-enp0s8 file in network-scripts corrups i did it wrong. he also wants to knwo how to test it. I am confused because I followed his instructions to a T but it always corrupts. Any help? Here are instructions:

DHCP -

yum install dhcp -y

cd /etc/sysconfig/network-scripts/

ls

vi ifcfg-enp0s8

"I" for insert

BOOTPROTO -->static ONBOOT -->yes IPADDR=192.168.100.201 NETMASK=255.cd255.255.0 GATEWAY=192.168.100.1 NETWORK=192.168.100.0 BROADCAST=192.168.100.255

:wq

vi ifcfg-enp0s3

"I" for insert --> ONBOOT ="no"

reboot

cd /etc/dhcp vi dhcpd.conf

"I" for insert -

specify domain name

option domain-name "nike.us";

specify name server's hostname or IP address

option domain-name-servers 192.168.100.5, 192.168.100.6; # DNS Master/Slave IPs /i

default lease time

default-lease-time 600;

max lease time

max-lease-time 7200;

this DHCP server to be declared valid

authoritative;

specify network address and subnet mask

subnet 192.168.100.0 netmask 255.255.255.0 {

specify the range of lease IP address

range dynamic-bootp 192.168.100.10 192.168.100.200;

specify broadcast address

option broadcast-address 192.168.100.255;

specify default gateway

option routers 192.168.100.1; }

:wq

vi /etc/resolv.conf

search nike.us nameserver 192.168.100.5 nameserver 192.168.100.6

vi /etc/hostname/

dhcp.nike.us

:wq

reboot

systemctl start dhcpd.service systemctl enable dhcpd.service

firewall-cmd --permanent --add-service=dhcp firewall-cmd --reload

submitted by /u/itswitz93
[link] [comments]

Reddit: Usb to lock and unlock with systemd? [x-post from r/archlinux]

Wednesday 29th of March 2017 09:27:21 PM

Hi guys,

did you know if there is any script, daemon or other for unlock system with usb key?

like this:

http://askubuntu.com/questions/28836/lock-and-unlock-from-usb-disk-pendrive

submitted by /u/gettaloviasubito
[link] [comments]

Phoronix: AMD Ryzen DDR4 Memory Scaling Tests On Linux

Wednesday 29th of March 2017 08:49:40 PM
This week MSI finally released an updated BIOS for the X370 XPOWER GAMING TITANIUM that we've been using for a majority of our Ryzen Linux benchmarks. With that motherboard improving memory compatibility and allowing us to finally run the board at higher DDR4 memory clock frequencies, I've run some fresh AMD Ryzen 7 1800X Ubuntu Linux benchmarks at various memory frequencies.

LXer: How to resolve “error: Failed dependencies:” Error

Wednesday 29th of March 2017 08:37:57 PM
Learn quickly how to resolve "error: Failed dependencies:" error. This error comes when you do not have installed the dependent packages on the server.

Reddit: Install OTRS on CentOS in less than 20 min :)

Wednesday 29th of March 2017 08:28:58 PM

Reddit: Debian on an iPad: Part 0

Wednesday 29th of March 2017 08:28:03 PM

This series is going to contain my attempts at getting GRUB and, eventually, Deabian ARM-32, running on my iPad 4. I do not promise success, but I will try to post regular(ish) updates throughout my hopelessly misguided attempt at doing something impossible. Wish me luck!

submitted by /u/PixelPowerYT
[link] [comments]

Reddit: The KDE display scales up and cannot get back

Wednesday 29th of March 2017 08:06:55 PM

I'm using opensuse Leap 42.1, KDE.

Today I was using chrome and I use Ctrl++ to scale up the content in browser, and somehow the window switched to desktop and everything in my monitor scaled up, when I switched back to browser, the content in browser was even larger, and my monitor can not display all of the system and only displayed a rectangle area eighth of the size or even less which moves along with the mouse, and everything was blur because it displayed something 400x300 pixels or so in a 1920x1080 monitor.

I thought it was just one time thing and will be okay after I logout login or restart, but I was wrong. I logged out and logged in and the bug was still there; I restarted and it was still there. How can I get the scaling back the way it was?

Many thanks, Li

submitted by /u/realyasswl
[link] [comments]

Reddit: Ubuntu 17.04 what's new in Unity 8

Wednesday 29th of March 2017 08:00:13 PM

LXer: Tether a digital camera using Entangle

Wednesday 29th of March 2017 07:18:28 PM
Ever wanted to be able to control your digital camera or DSLR from Fedora? Entangle [he]#8212[/he] an application to tether digital cameras [he]#8212[/he] allows you to take a shot, tweak settings, and view the shot all from the comfort of...

TuxMachines: Pale Moon A Lightweight, Firefox Based And Cross Platform Web Browser

Wednesday 29th of March 2017 06:47:50 PM

​Using browsers on a daily basis is nothing new for all us. We all have our favorite type of browsers like Chrome, Opera, Aurora and more. While as being open source mine and many Linux geek favorite browser is Mozilla Firefox. Today I will discuss one of awesome browser based on firefox named Pale Moon.

more" title="Read the rest of this article" />

read more

More in Tux Machines

arkOS Sunset

When I started arkOS back in late 2012, I was moved by the idea of creating a new and innovative software stack and operating system that could bring self-hosted server applications to a wide audience. The vision has always been the same: to give the masses the tools and education they need to properly self-host all of their software needs in one place. This project has spawned many different ideas and micro-projects from many different developers including myself, and has helped contribute (I hope!) to a renewed interest in the decentralized "do-it-yourself" internet we have seen with the rise of projects like Indieweb, Sandstorm, Mastodon and more. Read more

[Stable] OpenELEC 8.0.2 released

OpenELEC 8.0.2 release has been published. Users running OpenELEC 8.0.0 or later with auto-update enabled will be prompted on-screen to reboot and apply the update once it has been downloaded and enabled in some hours. Users running older OpenELEC releases or with auto-update disabled will need to manually update. If you would like to update from an older OpenELEC release please read update instructions/advice on the Wiki before updating. Manual update files can be obtained from the downloads page. Read more

Red Hat Financial News

Android Leftovers