Feed aggregator

Check if super key is down

Reddit - Thu, 2017-02-23 16:58

Is it possible to check if the super key is pressed? I'm running Arch Linux with i3 and I'd like my bar to be different when I'm pressing the super key and when I'm not. Thanks

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

Pulseaudio with two audio devices at 100% CPU. Driving either device alone needs only 3-5% CPU.

Reddit - Thu, 2017-02-23 16:47

Hello. I have an older i3-540 machine with two audio devices: Device #0 is HDA Intel played through HDMI. Device #1 is a CS46xx (old Turtle Beach sound card). The HDMI audio is used by Kodi. The other audio device is used by a separate audio player and goes to other rooms. I'm seeing normal CPU usage when either of the audio devices is in use but unusually high CPU usage when both are in use.

At first, I thought Kodi might be the culprit since it recently upgraded to v17. But I can reproduce the problem with two instances of mpg123 (Kodi not running) which perhaps suggests that it doesn't matter which audio client is used. Here's a quick rundown of what I'm seeing:

  • one mpg123 process targeting either device -- 'pulseaudio' process sits at 3-5% CPU
  • two mpg123 processes, both targeting device #0 or #1 (using pulse's muxer) -- 'pulseaudio' process sits at ~5% CPU
  • two mpg123 processes, each targeting a different device -- 'pulseaudio' process sits at 100% CPU until I kill one of the mpg123 processes.

Since I can play audio through each individual device fine it suggests that it's not a problem with the low-level audio drivers. The only time things go sideways is when both audio devices are active. I've tried the "tsched=0" trick with no noticeable improvement.

Is there a known problem getting pulseaudio to play nicely with two or more audio devices?

System details: Ubuntu 16.04 4.4.0-64-generic x86-64 kernel i3-540 CPU

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

Heterogeneous Memory Management Isn't Ready For Linux 4.11

Phoronix - Thu, 2017-02-23 16:24
Jerome Glisse and others have been working on the rather cool Heterogeneous Memory Management support for the Linux kernel going back several years. While Jerome hoped to see HMM merged for Linux 4.11, it will be sitting out at least one more cycle...

How to perform pattern search in files using Grep

LXer - Thu, 2017-02-23 16:16
This article focuses on some advanced features of the grep command like case insensitive search, displaying certain non-matched lines with line containing matched string, print matched strings in grep, and to display the position of a match in grep.

[HELP NEEDED] User can't access home folder.

Reddit - Thu, 2017-02-23 16:15

Hello there, I have recently switched to Kali Linux system on my laptop and have set up a seperate folder (or is it a partition?) called /home where files like movies, documents e.t.c should be stored.
I don't want to always run my computer with sudo priviledges that's why I created another account that I will generally use and gave itt non-administrator status. The problem is, it can't write or copy into that folder any files whatsoever which makes the whole /home partition/folder useless to me.
Anyone knows how to give it access?

TL:DR; Non-administrative account can't place/write files into /home folder. How can I give access to it?

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

Open Source Hardware: From SBCs to Servers

Linux.com - Thu, 2017-02-23 16:00

When you mention open source hardware, people typically think about community-backed hacker boards. However, the open hardware movement is growing on many fronts, including medical devices, rocketry and satellites, 3D printers, cameras, VR gear, and even laptops and servers.

LibreELEC 8.0.0 Officially Released for Raspberry Pi SBCs with Kodi 17 "Krypton"

LinuxToday - Thu, 2017-02-23 16:00

 softpedia: Dubbed Krypton, LibreELEC 8.0.0 has been in development since early October last year, during which it received over 200 nightly builds

Radeon R9 Fury X Gets LED Support With AMDGPU

Phoronix - Thu, 2017-02-23 15:47
With Radeon R9 Fury X graphics cards, their integrated red LEDs will now light-up according to the load of the GPU...

Why doesn't Samba default to SMB2?

Reddit - Thu, 2017-02-23 15:43

I'm wondering why samba defaults to nt1 rather than smb2? More importantly why when I default my samba server to min protocol = SMB2 nothing can connect? Everything seems to want to use nt1 unless you put client max protocol = SMB3 in your smb.conf.

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

Games for GNU/Linux

TuxMachines - Thu, 2017-02-23 15:37
  • Smartphone game: Ground Effect, Tizen Racing Game FREE for Limited Time

    Ground Effect is a mobile game where you have to ride and drive your hovering aircraft on the sea. There are currently three races: Race, Ghost Race and Just Cruise. The race is the normal race where you have to you have floating cones on the water and you need to go through them to make a checkpoint there, YOU ALSO HAVE NO CHOICE!! You have to go through to make the next pair of cones light up indicating that those are the ones you need to go through. There are different racing ships, a yellow, purple and white; a white and red one; a green goo one on a white background; a flame one on a black background; a red and yellow one; a blue, white and red one; a yellow and black one; an orange and green one; a blue, black and a tiny bit of white; and a black and red one.

  • Wine Staging 2.2 Comes Hot on the Heels of Wine 2.2 with CSMT Optimizations

    Wine Staging 2.2 has been released today, February 22, 2017, and it's coming hot on the heels of last week's Wine 2.2 development release to bring various under-the-hood improvements to its CSMT (Command-Stream Multi-Threading) feature.

    Being based on Wine 2.2, Wine Staging 2.2 inherits all of its new functionality, including the ability to set the default Windows version to Windows 7 for newly created prefixes, the implementation of additional Shader Model 5 instructions, initial support for double-buffered theme painting, as well as the new Direct3D command stream improvements.

  • The Linux-supported MMO 'Albion Online' finally has a release date, new huge update in March

    The rather good MMO 'Albion Online' finally has a proper release date! I am looking forward to creating a guild with some Linux gamers.

  • SuperTuxKart Is Now on Steam Greenlight — Go Vote!

    Yup, the iconic open-source karting game is hoping to rev up enough interest to snatch a space amid the shelves of the Steam games store.

    “After a lot of requests and months of hard work we are launching SuperTuxKart on Steam Greenlight,” the team explain in a blog post (in which they also cite some of your comments from this site).

read more

Security News

TuxMachines - Thu, 2017-02-23 15:35

read more

New Input Drivers and TinyDRM in Linux 4.11 Kernel

TuxMachines - Thu, 2017-02-23 15:34
  • New Input Drivers For The Linux 4.11 Kernel

    Dmitry Torokhov has submitted the input feature updates for the Linux 4.11 kernel merge window.

    One of the new input drivers for Linux 4.11 is the Zeitech touchscreen controller. The new Zeitec driver is zet6223 and supports the ZET6223 I2C touchscreen controller.

    Another new driver is for Samsung "touchkeys." The Samsung Touchkey support is the new tm2-touchkey driver and allows for touch key and LED functionality on the Exynos 5433 TM2 development board.

  • TinyDRM Queued For Linux 4.11

    TinyDRM has been queued in DRM-Next for landing with the in-development Linux 4.11 kernel.

    TinyDRM aims to provide "a very simplified view of DRM for displays that has onboard video memory and is connected through a slow bus like SPI/I2C." TinyDRM includes SPI and MIPI-DBI support.

read more

An Introduction to Vim for Sysadmins

Linux.com - Thu, 2017-02-23 15:30
Title: An Introduction to Vim for Sysadmins 23 FebLearn more

Latvian Ventspils controls costs with open source

TuxMachines - Thu, 2017-02-23 15:23

The administration of Ventspils, Latvia’s sixth largest city, is an avid user of free and open source software. The main benefits: cost and resource optimisation.

read more


Subscribe to LinuxInsight aggregator