Reddit

Subscribe to Reddit feed
All things Linux and GNU/Linux -- this is neither a community exclusively about the kernel Linux, nor is exclusively about the GNU operating system.Linux, GNU/Linux, free software...
Updated: 48 min 10 sec ago

Replace with regex

Sat, 2018-10-20 22:56

Hi guys, I have a problem and I need your help. I have a source code with a lot of [MXY] where X and Y are integer between 0 and 4, and MXY are constant that contains an int corresponding to an index. I don't know if it's clear but I want to transform those [MXY] in [X][Y]. I can't find any of doing this except by hand :/

So do you guys know a way of doing this like with regex or bash script ?

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

Gamespot has a Linux area now

Sat, 2018-10-20 22:56

Questions about Arch Linux and the Arch User Repository (AUR)

Sat, 2018-10-20 22:52

I have a few questions, thoughts and concerns about Arch Linux and specifically the AUR (Arch User Repository). As far as I understand it’s possible to build packages by your own on practically every Linux distribution. Only the sources of the package you want to build and the suitable build tools for the distro are necessary. Because this is not very convenient for the average user there are prebuild packages which can be easily be installed. These packages are usually provided by the developers of a package (software). The developers offer different versions of their packages for different Linux distributions. Packages for Debian, Ubuntu etc. are always available, but not for Arch Linux. This is where the AUR (Arch User Repository) comes in place. I understand it as a platform where members of the community can upload self prebuild packages. Other members can easily install those packages, like the ones the developer offer for other distributions.

Why is Arch so popular although a lot of prebuild packages are not provided by the developers of the package? Why are Arch users so proud of the AUR? Why do they understand it as something good? Like an advantage over other distributions?
In my opinion the AUR is only necessary because so much official packages are missing.
When I install a package from the AUR I completely rely on the maintainer of the AUR package. I don’t even know if the package which is provided by the maintainer really is build from the original sources. I have to trust the maintainer 100%. If I would use another distribution I could use official packages. And I assume that the developers of a package will always provide the newest version of the prebuilt package and will maintain it. But I can not be sure that a voluntary AUR maintainer will always keep the package up to date.

So what’s the point about Arch and about the AUR? Is anything I wrote wrong? Am I missing anything? I hope I made myself clear. Maybe someone could lighten things up a little bit. Thank you.

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

A question about the status of Dia the diagram editor

Sat, 2018-10-20 22:50

Hi Linuxers

I am trying to find an active repo of Dia but it seems elusive.

I'm on Kubuntu 18.04, I'm using Thomas Dreibholz' PPA to get the latest version which is currently

0.98+git20181020135049~89d12707-0ubuntu1~bionic1~ppa0

I duckducked the version string and found this https://mentors.debian.net/debian/pool/main/d/dia/ at Debian which clearly seems to be the source of the PPA, which is great, but it's not a git repo - just a tarball of the code.

And then there are these Gnome developement pages pages:

Current Development, Development and Potential Development.

There is this gitlab repo where the latest version seems to be 0.97 (so not the one distributed by Thomas Dreibholz).

Does anyone know whether there is a git repo of Dia 0.98?

TIA

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

A Panfrostian October

Sat, 2018-10-20 21:14

Are there any retro (win 3.1/95, OS/2, OS9 style) themes for GNOME 3?

Sat, 2018-10-20 17:41

running ubuntu on an older thinkpad, i want to make it look the part

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

So, I want to switch to Linux, but apparently, Win 10 does have very friendly support to touchpad. Is there any desktop/distro does the same thing?

Sat, 2018-10-20 17:40

I personally only use my laptop with embedded touchpad and keyboard, don't even want to have a mouse for another accessory.

I want to know if there's any straightforward recommendation,,JUST, switch to a distro (forgive my laziness), without installing a software.

TLDR : Can anyone recommend me some touchpad-friendly distro? Appreciate

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

Ubuntu for my mother who started working as a community manager

Sat, 2018-10-20 15:51

So, my mother recently went through a divorce, moved to her own apartment, and started working as a community manager for a local politician (she finished a distance Community Management course, and is now doing a Social Media Content Generation complementary course).

She was complaining that her Windows 8.1 machine was getting random freezes and was working slow. I checked her PC and to my surprise the installation was rather fresh (I gave her that computer around 5 or 6 months ago with a fresh Windows 8.1 installation. There was no adware, no extra shady software, anything). I thought that since most of her tools are browser-based or have Linux support, I'd give it a shot and install Ubuntu 18.04.1 LTS, so I did (for those of you interested, she works mostly with Canva, TweetDeck, Buffer, Google Drive, a Moodle instance for her classes, etcetera).

It's been almost 2 weeks now and she's been working without a problem, tackling all kinds of tasks. The learning curve was close to null, and the PC is working smoothly (something my mom appreciates very much since she's working around 8 hours a day with that machine). Go mom! And thanks Ubuntu!

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

USB History on Linux ?

Sat, 2018-10-20 15:36

Any commands or files to gather evidence of which usb sticks or harddrives were plugged in and on what date/time ?

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

I have been developing a system-wide performance analysis tool. It named Guider (https://github.com/iipeace/guider) and offers many functions to analyze Linux system. If you work to improve system performance then give me feedback about a new feature...

Sat, 2018-10-20 14:42

I have been developing a system-wide performance analysis tool. It named Guider (https://github.com/iipeace/guider) and offers many functions to analyze Linux system. If you work to improve system performance then give me feedback about a new feature or defect for Guider!

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

The problem with Linux: Permissions

Sat, 2018-10-20 14:26

I've been a Linux user for about 6 years. I am not an expert, but I am overall comfortable with Linux. Here is a problem that doesn't get enough conversation and needs to be addressed: Linux has a Permissions problem. Looking back over the last 6 years, I'd say 90% of the issues I have faced have been problems with permissions. Let me explain the last three issues (all have been with Ubuntu)...

When trying to install Xerox printer drivers for a network printer, I kept getting an error "/usr/lib/cups/filter/rastertosamsungspl' has insecure permission. After following dozens of different suggestions posted across the internet to change permissions on files and folders, I finally got it to work, only to discover the Software Update then routinely failed do to the fact that it now had permission issues. I ended up just reinstalling Ubuntu as the easiest fix; and I still don't have a functioning printer on that computer.

When using Gimp, I added a 2nd hard drive to expand my photo storage and found that Gimp couldn't read from it, again spewing a permissions error. I waded through countless forum posts, performing all kinds of terminal commands, which got me nowhere. Was it a permissions problem with the way the drive was mounted? Ownership of the folders? No, it ended up that I had to run some "snap connect gimp:removable-media" command to give Gimp permission to access it. WTF? Why doesn't software that I install have default permission to access any attached hardware on that system?

Now don't even get me started with the Linux file server in my house. For years I used Windows on it and had a wonderful file server that all devices could see, and permissions were easily set so the kids could stream music and movies without accidentally deleting anything from it. Moving over to a Linux file server, NOTHING has been easy. In fact, the worst is actually trying to use a Linux machine to access anything on the Linux server- it's never properly worked. The only machine that reliably accesses files, with proper permissions, is my Windows machine (and thankfully our Roku that runs Plex). I have read dozens and dozens of tech articles and posts to try and set permissions properly, and it still doesn't work like it should. Linux should not be this hard.

I could go on, because I've got a lot of these stories, but it comes down to this: somewhere high up within the Linux kernel development team, some VIPs need to sit down and figure out how to unify permissions so that it works as well as it does on Windows. There, I said it: Windows handles permissions much better than Linux. And until shit like this gets sorted out, Linux is always going to get a bad rap from newbies and even not-so-newbies like myself.

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

Pages