y're incredibly powerful.
# #5 - [Simple overrides with `unit.d` directories](https://unix.stackexchange.com/a/468067)
Have a unit installed by an operating system package, but you want to do some interesting things to it? The first thing everyone thinks is to just edit the `/lib/systemd/system/my-unit.service` file and go wild. But, this will be overwritten on an upgrade. OK, you might read a bit, and then copy it from `/lib` into `/etc`. That won't be overwritten. But now you've duplicated the unit, and won't get nice improvements from your packages. The solution? `/etc/systemd/system/my-unit.service.d/`! Using this directory, you can override small components of the unit file with your own values, for instance adding an `ExecPreStart` or a `Requires`. The above example uses the `systemctl edit` function, which automatically creates these overrides, but you can drop these files in manually too using your configuration management of choice.
# #6 - Targets - group services, mounts, etc. together
Target units are another really cool feature of Systemd. You've probably seen stuff like `Reached multi-user.target` in your boot logs, but you can of course create your own `targets` as well. Simply put, they group other units together. If two services and a mount are part of a target, the target won't be reached until all of them start, and you can, with a few modifications to the units - using `PartOf = mytarget.target` in the `[Unit]` section of the services/mounts - control all the services by stopping or starting the target itself, in the right order. Depend other services on targets as well for maximum control of the startup sequence. There's a ton of power here.
# #7 - `systemctl enable` and `systemctl disable`
This is a really basic one, but want to turn off a service or mount for a bit? Disable it! Want a service that is installed by default (such as `nginx`), but want to start it with `supervisord` instead and are getting a conflict? Disable it!
# #8 - PIDFile
A nice thing about Systemd is that you don't ever have to worry about PID files, including weird stale PIDfiles lying around and messing with your service startup. But still want one? You can still add one with `PIDFile=`.
# #9 - Sockets units can replace [x]inetd
The old style, "run a noscript on a socket connection" tool inetd and its modern successor xinetd can be replaced by [systemd `.socket` units](https://www.linux.com/blog/end-road-systemds-socket-units), bringing the ease of use and control of Systemd to your inetd services!
Those are the first 9 I can think of right now, but if you have any of your own cool systemd tricks, I'd love to hear them too!
https://redd.it/bsqar4
@r_linux
# #5 - [Simple overrides with `unit.d` directories](https://unix.stackexchange.com/a/468067)
Have a unit installed by an operating system package, but you want to do some interesting things to it? The first thing everyone thinks is to just edit the `/lib/systemd/system/my-unit.service` file and go wild. But, this will be overwritten on an upgrade. OK, you might read a bit, and then copy it from `/lib` into `/etc`. That won't be overwritten. But now you've duplicated the unit, and won't get nice improvements from your packages. The solution? `/etc/systemd/system/my-unit.service.d/`! Using this directory, you can override small components of the unit file with your own values, for instance adding an `ExecPreStart` or a `Requires`. The above example uses the `systemctl edit` function, which automatically creates these overrides, but you can drop these files in manually too using your configuration management of choice.
# #6 - Targets - group services, mounts, etc. together
Target units are another really cool feature of Systemd. You've probably seen stuff like `Reached multi-user.target` in your boot logs, but you can of course create your own `targets` as well. Simply put, they group other units together. If two services and a mount are part of a target, the target won't be reached until all of them start, and you can, with a few modifications to the units - using `PartOf = mytarget.target` in the `[Unit]` section of the services/mounts - control all the services by stopping or starting the target itself, in the right order. Depend other services on targets as well for maximum control of the startup sequence. There's a ton of power here.
# #7 - `systemctl enable` and `systemctl disable`
This is a really basic one, but want to turn off a service or mount for a bit? Disable it! Want a service that is installed by default (such as `nginx`), but want to start it with `supervisord` instead and are getting a conflict? Disable it!
# #8 - PIDFile
A nice thing about Systemd is that you don't ever have to worry about PID files, including weird stale PIDfiles lying around and messing with your service startup. But still want one? You can still add one with `PIDFile=`.
# #9 - Sockets units can replace [x]inetd
The old style, "run a noscript on a socket connection" tool inetd and its modern successor xinetd can be replaced by [systemd `.socket` units](https://www.linux.com/blog/end-road-systemds-socket-units), bringing the ease of use and control of Systemd to your inetd services!
Those are the first 9 I can think of right now, but if you have any of your own cool systemd tricks, I'd love to hear them too!
https://redd.it/bsqar4
@r_linux
Unix & Linux Stack Exchange
How to override systemd unit file settings?
I have installed MySQL on my Arch Linux server. I moved the data directory to a place under /home, where my RAID volume is mounted. I noticed that mysqld will not start in this configuration by def...
The Wine development release 4.9 is now available.
https://www.winehq.org/announce/4.9
https://redd.it/bspobe
@r_linux
https://www.winehq.org/announce/4.9
https://redd.it/bspobe
@r_linux
WineHQ
The Wine development release 4.9 is now available.
Dear Ubuntu: Please Stop Packaging Epiphany If You Won’t Do It Properly
https://blogs.gnome.org/mcatanzaro/2019/05/24/dear-ubuntu-please-stop-packaging-epiphany-if-you-wont-do-it-properly/
https://redd.it/bsqvrw
@r_linux
https://blogs.gnome.org/mcatanzaro/2019/05/24/dear-ubuntu-please-stop-packaging-epiphany-if-you-wont-do-it-properly/
https://redd.it/bsqvrw
@r_linux
reddit
r/linux - Dear Ubuntu: Please Stop Packaging Epiphany If You Won’t Do It Properly
0 votes and 2 comments so far on Reddit
What does {some strange unix command name} stand for?
http://www.faqs.org/faqs/unix-faq/faq/part1/section-3.html
https://redd.it/bsqzrw
@r_linux
http://www.faqs.org/faqs/unix-faq/faq/part1/section-3.html
https://redd.it/bsqzrw
@r_linux
kinetic/inertial scrolling (fling) for Gtk touchpads coming for Firefox
https://hg.mozilla.org/integration/mozilla-inbound/rev/f9699ae30f4d
https://redd.it/bslbt4
@r_linux
https://hg.mozilla.org/integration/mozilla-inbound/rev/f9699ae30f4d
https://redd.it/bslbt4
@r_linux
reddit
r/linux - kinetic/inertial scrolling (fling) for Gtk touchpads coming for Firefox
8 votes and 2 comments so far on Reddit
GNOME Pomodoro: A Pomodoro Timer With AppIndicator And GNOME Shell Support
https://moopost.blogspot.com/2019/05/gnome-pomodoro-pomodoro-timer-with.html
https://redd.it/bshmvb
@r_linux
https://moopost.blogspot.com/2019/05/gnome-pomodoro-pomodoro-timer-with.html
https://redd.it/bshmvb
@r_linux
Moopost
Moopost: GNOME Pomodoro: A Pomodoro Timer With AppIndicator And GNOME Shell Support
what's the best lightweight Linux distro OS?
my internal storage is only 27.5gb, and has a 4gb ram with 1.6ghz processor.
can anyone suggest the lightest+most function Linux Distro?
https://redd.it/bsqzls
@r_linux
my internal storage is only 27.5gb, and has a 4gb ram with 1.6ghz processor.
can anyone suggest the lightest+most function Linux Distro?
https://redd.it/bsqzls
@r_linux
reddit
r/linux - what's the best lightweight Linux distro OS?
0 votes and 13 comments so far on Reddit
No hope for open chips from lowRISC?
I just found out that lowRISC is [hiring](https://www.lowrisc.org/jobs/). But I aslo found out that lowRISC is not aiming to produce real hardware anymore! Now they are:
> developing and maintaining high quality, verified open source silicon IP
But that was the first hardware project I was so fascinated about! I was ready to gave them some money without return just to see a piece of open-source hardware being manufactured. And they intended to produce it [from the start](https://web.archive.org/web/20140827011745/http://www.lowrisc.org/)!
> lowRISC is producing fully open hardware systems. From the processor core to the development board, our goal is to create a completely open computing eco-system.
Their noscript was till recently:
> A fully open-sourced, Linux-capable, System-on-a-Chip
and now it is:
> Open to the core Enabling open source silicon through collaborative engineering of tools and designs
I am so disappointed.
https://redd.it/bst5jw
@r_linux
I just found out that lowRISC is [hiring](https://www.lowrisc.org/jobs/). But I aslo found out that lowRISC is not aiming to produce real hardware anymore! Now they are:
> developing and maintaining high quality, verified open source silicon IP
But that was the first hardware project I was so fascinated about! I was ready to gave them some money without return just to see a piece of open-source hardware being manufactured. And they intended to produce it [from the start](https://web.archive.org/web/20140827011745/http://www.lowrisc.org/)!
> lowRISC is producing fully open hardware systems. From the processor core to the development board, our goal is to create a completely open computing eco-system.
Their noscript was till recently:
> A fully open-sourced, Linux-capable, System-on-a-Chip
and now it is:
> Open to the core Enabling open source silicon through collaborative engineering of tools and designs
I am so disappointed.
https://redd.it/bst5jw
@r_linux
reddit
r/linux - No hope for open chips from lowRISC?
0 votes and 0 comments so far on Reddit
A tutorial about speeding up your kali linux apt update and upgrade
https://youtu.be/eQB_QaNCkAU
https://redd.it/bst885
@r_linux
https://youtu.be/eQB_QaNCkAU
https://redd.it/bst885
@r_linux
YouTube
Kali linux Slow update fix
go to etc/apt/sources.list open sources.list remove the repositories and replace it with deb http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-fr...
UK Open Source Awards Shortlist Announced
https://opensourceawards.org/2019/05/22/uk-open-source-awards-shortlist-announced%EF%BB%BF/
https://redd.it/bshg5u
@r_linux
https://opensourceawards.org/2019/05/22/uk-open-source-awards-shortlist-announced%EF%BB%BF/
https://redd.it/bshg5u
@r_linux
UK Open Source Awards
UK Open Source Awards Shortlist Announced!
A total of 65 nominations were received for the event which takes place on the 12th June in Edinburgh. The 2019 UK Open Source Awards has received 65 nominations, a record in its 10 year history. W…
TuxClocker AMD version released for overclocking your AMD GPU
https://github.com/Lurkki14/tuxclocker
Features for this version are:
- GPU monitoring (list and graph)
- Overclocking
- Overvolting
- Change power limit
- Pstate editing
- Fan mode selection
- Custom fan curve (root required)
- Provisional multi-GPU support
- Profiles
The AMD version is currently a separate codebase from the earlier versions, so the AMD version only works with AMD GPUs. I'm working on a new, more flexible version supporting nvidia and AMD.
https://redd.it/bsupzo
@r_linux
https://github.com/Lurkki14/tuxclocker
Features for this version are:
- GPU monitoring (list and graph)
- Overclocking
- Overvolting
- Change power limit
- Pstate editing
- Fan mode selection
- Custom fan curve (root required)
- Provisional multi-GPU support
- Profiles
The AMD version is currently a separate codebase from the earlier versions, so the AMD version only works with AMD GPUs. I'm working on a new, more flexible version supporting nvidia and AMD.
https://redd.it/bsupzo
@r_linux
GitHub
GitHub - Lurkki14/tuxclocker: Qt overclocking tool for GNU/Linux
Qt overclocking tool for GNU/Linux. Contribute to Lurkki14/tuxclocker development by creating an account on GitHub.
Systemd vs init noscripts, an essay
Reading the other post about Systemd made me want to write this.
​
Two things to understand about the below, 1) I am OLD for a Linux admin, almost 60 years old, I have been doing this for a long time, almost 30 years. I learned SunOS at an ATT training center that supported CompuServe, that kind of old. 2) Boring old man ramble: I remember arguing with people that hated anti-lock brakes back before some of you were born. I remember guys telling me, straight faced, that "No machine can brake as well as I can", "I can stop the car better than the software". They were wrong, but having a skill you value obsoleted by a chunk of code is a bitter pill to swallow.
All that being said and understood. Systemd frustrates me because I want it off my damn lawn. I see the benefits, but the having to google how to use it is frustrating for a senior admin (in both senses of the word) to have to do. We are being forced by regulators to update to RHEL 7 and that is forcing me to interact with systemd. I am learning, but lord it reminds me of every overly convoluted noscript a junior coder has ever written, and that’s the rub. It LOOKS like it over complicates what, at its core, is a simple idea. I just want to start f\*\*king NFS, damnit. I am beginning to understand and appreciate the benefits, but God I wish it was simpler.
Init noscripts time is over. They need to go for a lot of reasons, but forgive me for being glad that I will retire before they are completely rolled out.
https://redd.it/bsunzw
@r_linux
Reading the other post about Systemd made me want to write this.
​
Two things to understand about the below, 1) I am OLD for a Linux admin, almost 60 years old, I have been doing this for a long time, almost 30 years. I learned SunOS at an ATT training center that supported CompuServe, that kind of old. 2) Boring old man ramble: I remember arguing with people that hated anti-lock brakes back before some of you were born. I remember guys telling me, straight faced, that "No machine can brake as well as I can", "I can stop the car better than the software". They were wrong, but having a skill you value obsoleted by a chunk of code is a bitter pill to swallow.
All that being said and understood. Systemd frustrates me because I want it off my damn lawn. I see the benefits, but the having to google how to use it is frustrating for a senior admin (in both senses of the word) to have to do. We are being forced by regulators to update to RHEL 7 and that is forcing me to interact with systemd. I am learning, but lord it reminds me of every overly convoluted noscript a junior coder has ever written, and that’s the rub. It LOOKS like it over complicates what, at its core, is a simple idea. I just want to start f\*\*king NFS, damnit. I am beginning to understand and appreciate the benefits, but God I wish it was simpler.
Init noscripts time is over. They need to go for a lot of reasons, but forgive me for being glad that I will retire before they are completely rolled out.
https://redd.it/bsunzw
@r_linux
reddit
r/linux - Systemd vs init noscripts, an essay
0 votes and 7 comments so far on Reddit
Ubuntu 19.10 Puts Nvidia's Proprietary GPU Driver Right On The ISO
https://www.forbes.com/sites/jasonevangelho/2019/05/24/ubuntu-19-10-nvidia-proprietary-gpu-driver-iso-linux/
https://redd.it/bswbv7
@r_linux
https://www.forbes.com/sites/jasonevangelho/2019/05/24/ubuntu-19-10-nvidia-proprietary-gpu-driver-iso-linux/
https://redd.it/bswbv7
@r_linux
Forbes
Ubuntu 19.10 Puts Nvidia's Proprietary GPU Driver Right On The ISO
For gamers, getting up and running gets even easier when Ubuntu 19.10 launches. But the decision is already rubbing some people the wrong way.
Firefox brings you smooth video playback with the world’s fastest AV1 decoder – Mozilla Hacks
https://www.reddit.com/r/firefox/comments/bs7vx3/firefox_brings_you_smooth_video_playback_with_the/
https://redd.it/bsdrrg
@r_linux
https://www.reddit.com/r/firefox/comments/bs7vx3/firefox_brings_you_smooth_video_playback_with_the/
https://redd.it/bsdrrg
@r_linux
reddit
r/firefox - Firefox brings you smooth video playback with the world’s fastest AV1 decoder – Mozilla Hacks
289 votes and 26 comments so far on Reddit
Linux resource for noobs (Linux Journey)
While attempting to help someone who was helpless in the end and didn't want to learn anything, I came across this link:
https://linuxjourney.com/
After running through a few parts of this simple website, I thought it would be useful for people who want to go beyond the gui and learn some command-line basics and how to manage simple services such as logging, ssh, file-sharing, and web.
Who ever created this site, nice job.
https://redd.it/bsy6g6
@r_linux
While attempting to help someone who was helpless in the end and didn't want to learn anything, I came across this link:
https://linuxjourney.com/
After running through a few parts of this simple website, I thought it would be useful for people who want to go beyond the gui and learn some command-line basics and how to manage simple services such as logging, ssh, file-sharing, and web.
Who ever created this site, nice job.
https://redd.it/bsy6g6
@r_linux
reddit
r/linux - Linux resource for noobs (Linux Journey)
0 votes and 1 comment so far on Reddit
Linux desktop system wide scroll speed setting still missing
I've been a casual Linux desktop user for the last 5 or so years, most of my time is spent on server environments and cli.
Just installed Linux on a laptop and tried two different desktop environments. Both were still lacking system wide mouse scroll speed settings. This was the case also years ago when I first dabbled with Linux desktop.
Why hasn't this (pretty basic) functionality been implemented more commonly yet? Are there functional packages to remediate the problem? Is there something preventing this implementation?
https://redd.it/bsznat
@r_linux
I've been a casual Linux desktop user for the last 5 or so years, most of my time is spent on server environments and cli.
Just installed Linux on a laptop and tried two different desktop environments. Both were still lacking system wide mouse scroll speed settings. This was the case also years ago when I first dabbled with Linux desktop.
Why hasn't this (pretty basic) functionality been implemented more commonly yet? Are there functional packages to remediate the problem? Is there something preventing this implementation?
https://redd.it/bsznat
@r_linux
reddit
r/linux - Linux desktop system wide scroll speed setting still missing
0 votes and 1 comment so far on Reddit
Any Samba users here? I want to set up private folders for individual users?
I am creating an Ubuntu server for my house that will be used to store Windows File History backups from a number of Windows PCs. I have set up Samba before, and it worked well.... but the Samba shares were public for all PCs in my household.
​
Is it possible to create a server folder that is private for each Windows user? For example, I want User1 to have their own server folder, and I don't want User2 or User3 to be able to access that folder. Same goes with all users. I can then point Windows File History to do automatic backups to these private folders per machine.
​
Can someone point me to a good website or tutorial that I can study up on?
​
Thanks!
https://redd.it/bt1jpu
@r_linux
I am creating an Ubuntu server for my house that will be used to store Windows File History backups from a number of Windows PCs. I have set up Samba before, and it worked well.... but the Samba shares were public for all PCs in my household.
​
Is it possible to create a server folder that is private for each Windows user? For example, I want User1 to have their own server folder, and I don't want User2 or User3 to be able to access that folder. Same goes with all users. I can then point Windows File History to do automatic backups to these private folders per machine.
​
Can someone point me to a good website or tutorial that I can study up on?
​
Thanks!
https://redd.it/bt1jpu
@r_linux
reddit
r/linux - Any Samba users here? I want to set up private folders for individual users?
0 votes and 0 comments so far on Reddit
New Background panel, Calendar search engine, GTK4 shortcut engine (Sprint 1)
https://feaneron.com/2019/05/24/new-background-panel-calendar-search-engine-gtk4-shortcut-engine-sprint-1/
https://redd.it/bt277c
@r_linux
https://feaneron.com/2019/05/24/new-background-panel-calendar-search-engine-gtk4-shortcut-engine-sprint-1/
https://redd.it/bt277c
@r_linux
Georges Stavracas
New Background panel, Calendar search engine, GTK4 shortcut engine (Sprint 1)
This is a new series, coming out every 3 weeks or so, with various updates. My focus will be on the apps I maintain (Calendar, To Do, and Settings), but in the future it may also include other appl…
Partitioning Tip for Dual-Boot Systems
Over the years, I added various drives (HDDs and SSDs) to my system. It became an absolute mess. Recently, I settled on what I think is best. I use linux as my main operating system.
​
1st drive - SSD (preferably 240GB min)
Windows. Save \~20-40 GB at the end of the disk for Linux's / partition. My Kubuntu install is about 13GB with software installed. The more you can allocate the better as /tmp is going to be located in this space.
​
2nd drive - Larger HDD
/home partition. Most browser cache files are going to be written here. I don't notice any slowdown from having the .config files on the hdd.
​
My desktop has been using this setup for a while. One major convenience is not having to shuffle files around if formatting the linux OS (especially as it's the one more likely to break due to my tinkering).
​
I just bought a hdd caddy to replace the DVD drive to set my laptop up in a similar way. From what I've researched, SSHDs have high failure rates (was tempted by a 2TB sshd).
​
If I had only windows on the machine, I'd probably do similar. OS + Programs on SSD, moving libraries to a different HDD. (Instructions below)
[https://www.pcworld.com/article/2079571/move-your-libraries-to-a-second-drive-or-partition.html](https://www.pcworld.com/article/2079571/move-your-libraries-to-a-second-drive-or-partition.html)
​
If you have any suggestions, thoughts or experience, I'd love to see how others configure their systems.
https://redd.it/bt2o22
@r_linux
Over the years, I added various drives (HDDs and SSDs) to my system. It became an absolute mess. Recently, I settled on what I think is best. I use linux as my main operating system.
​
1st drive - SSD (preferably 240GB min)
Windows. Save \~20-40 GB at the end of the disk for Linux's / partition. My Kubuntu install is about 13GB with software installed. The more you can allocate the better as /tmp is going to be located in this space.
​
2nd drive - Larger HDD
/home partition. Most browser cache files are going to be written here. I don't notice any slowdown from having the .config files on the hdd.
​
My desktop has been using this setup for a while. One major convenience is not having to shuffle files around if formatting the linux OS (especially as it's the one more likely to break due to my tinkering).
​
I just bought a hdd caddy to replace the DVD drive to set my laptop up in a similar way. From what I've researched, SSHDs have high failure rates (was tempted by a 2TB sshd).
​
If I had only windows on the machine, I'd probably do similar. OS + Programs on SSD, moving libraries to a different HDD. (Instructions below)
[https://www.pcworld.com/article/2079571/move-your-libraries-to-a-second-drive-or-partition.html](https://www.pcworld.com/article/2079571/move-your-libraries-to-a-second-drive-or-partition.html)
​
If you have any suggestions, thoughts or experience, I'd love to see how others configure their systems.
https://redd.it/bt2o22
@r_linux
PCWorld
Move your libraries to a second drive or partition
"Commander Dave" Turner wants to move his documents, photos, and other data files to another drive