Linux - Reddit – Telegram
Linux - Reddit
757 subscribers
4.18K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
LFTP (or other) to copy file / directory with same command

Hello,

I think that I am not using lftp correctly.

Does it possible with lftp to use the same command to copy file or directory ? Actually I am doing a simple mput when it's a file and mirror when it's a directory.

I would like to use a noscript which send automatically files or directory to my personnal NAS. More precisely, when my download on Deluge is over, Execute a noscript to direct copy the fresh downloaded files/directory. But sometimes it's just a standalone file or sometimes it's a directory with sub directories

I don't find the correct syntax, i could write an IF statement but maybe we can find something more easiser and proper

If I have to use an other tool than LFTP, no problem for me ! Indeed, the best way will be a web interface to manage transfert from my Seedbox to multiple destination. Actually, I have to modify my noscript for each download depends if it's a file, directory and destination.

​

Thanks,

https://redd.it/f9854m
@r_linux
Manjaro 19.0 released Gnome, KDE, XFCE, Architect

https://i.imgur.com/j8lUsfa.jpg

The Xfce edition remains our flagship offering and has received the attention it deserves. Only a few can claim to offer such a polished, integrated and leading-edge Xfce experience. With this release we ship Xfce 4.14 and have mostly focused on polishing the user experience with the desktop and window manager. Also we have switched to a new theme called Matcha. A new feature Display-Profiles allows you to store one or more profiles for your preferred display configuration. We also have implemented auto-application of profiles when new displays are connected.

Our KDE edition provides the powerful, mature and feature-rich Plasma 5.17 desktop environment with a unique look-and-feel, which we completely re-designed for this release. The full set of Breath2-themes includes light and dark versions, animated splash-screen, Konsole profiles, Yakuake skins and many more little details. We have rounded off text editor Kate with some additional color schemes and offer Plasma-Simplemenu as an alternative to the traditional Kickoff-Launcher. With a wide selection of latest KDE-Apps 19.12.2 and other applications Manjaro-KDE aims to be a versatile and elegant environment ready for all your everyday needs.

In Gnome edition which is based on version 3.34 series, we also have included a visual refresh for several applications and the desktop itself. The background selection settings also received a redesign, making it easier to select custom backgrounds. By default we added our own dynamic wallpaper that changes throughout the day. GNOME 3.34 also introduces custom folders in the application overview: Simply drag an application icon on top of another to create a folder. Folders are automatically removed again when all icons have been dragged out. With a simpler desktop layout we gain more stability. Our new Gnome-Layout-Switcher enables you to change your desktop layout easily with preset layouts mimicking popular operating systems. Available layouts are: Manjaro, Vanilla Gnome, Mate/Gnome2, Traditional Desktop/Windows, Modern Desktop/MacOs, Unity/Ubuntu Theme. We also automatically change between dark and light theme when Nightlight is triggered. A new theme for the login screen and the addition of Feral's Gamemode round up our Gnome edition.

Kernel 5.4 LTS is used for this release, such as the latest drivers available to date. Relative to the last installation media release, our tools have been improved and polished.

Pamac 9.3 series received a few updates. With a more robust and reliable transaction backend our update process should be much smoother now. Also we improved package sorting by relevance in our GTK-UI. Enhancing our package management we have enabled snap and flatpak support by default. You can now install snaps or flatpaks very easily, with our new tool Bauh and make use of a larger selection of the latest Linux applications.

https://forum.manjaro.org/t/manjaro-19-0-released-gnome-kde-xfce-architect/126010

https://redd.it/f9cou5
@r_linux
pam_unix internals: unix_chkpwd

Have you ever bothered reading [Linux-PAM](http://www.linux-pam.org/) documentation?

Some years ago, I did.

Let's start with a super-quick intro:

PAM stands for Pluggable Authentication Modules. Linux-PAM provides authentication support in GNU/Linux.

One of the most interesting parts of Linux-PAM is the [pam\_unix module](http://www.linux-pam.org/Linux-PAM-html/sag-pam_unix.html).

More specifically, my favorite part of *pam\_unix* is the [unix\_chkpwd](https://github.com/linux-pam/linux-pam/blob/master/modules/pam_unix/unix_chkpwd.c) helper binary.

*unix\_chkpwd* does a very basic -nonetheless important- job: it verifies the password of the **current** user.

This makes it possible for applications like [xlock](https://linux.die.net/man/1/xlock) to work without being setuid-root (of course, a program running as unprivileged user cannot read */etc/shadow* !).

After reading about *unix\_chkpwd*, I was eager to give it a try...

...and so, I wrote a tiny bash noscript that leverages *unix\_chkpwd* to perform brute force attacks on current user password:

[https://github.com/marcobellaccini/chkpwd\_buddy](https://github.com/marcobellaccini/chkpwd_buddy)

Of course it is somewhat weird, but the cool part is that it does not require read access to */etc/shadow*!

I hope you enjoyed this post!

https://redd.it/f9e02s
@r_linux
On a PC not so far away, not so long ago... a small victory was won! Got FL Studio all up and running, could not be happier!
https://redd.it/f9fuo3
@r_linux
Restricting the cursor to an axis

I'm often drawing on websites and I find myself trying to draw straight lines using my cursor. Is there a way to restrict the cursor in an axis, vertical or horizontal, by holding a key?

Is there such an utility? I suspect something can be writen for the window manager, in my case KDE Plasma.

https://redd.it/f9kq7s
@r_linux
Painless way to dual boot windows and Linux?

I hate having to deal with the bootstarter, it adds several annoying seconds to every startup. Is there are way to make startups faster?

https://redd.it/f9mjgp
@r_linux
Weekly Questions and Hardware Thread - February 26, 2020

Welcome to r/linux! If you're new to Linux or trying to get started this thread is for you. Get help here or as always, check out r/linuxquestions or r/linux4noobs

This megathread is for all your question needs. As we don't allow questions on r/linux outside of this megathread, please consider using r/linuxquestions or r/linux4noobs for the best solution to your problem.

Ask your hardware requests here too or try r/linuxhardware!

https://redd.it/f9nesl
@r_linux
I am currently using Windows 10 and have decided to switch to Linux. Which distro should I use?

That distro can be moderately difficult to install. It should look kinda cool, user friendly, fast and stable.

https://redd.it/f9o1mw
@r_linux