How to recover formatted ext4 created on lvm partition
I need to recover a ext4 that was created on a lvm filesystem as I accidentally formatted it by mistake from ext4 to ntfs using disks in Ubuntu desktop The lvm is a 7tb partition made up of 1tb, 2tb and 4tb drives. The lvm was created using gpart and webmin lvm management tool as I'm a noob when it comes to command line stuff
https://redd.it/lluxhr
@r_linux
I need to recover a ext4 that was created on a lvm filesystem as I accidentally formatted it by mistake from ext4 to ntfs using disks in Ubuntu desktop The lvm is a 7tb partition made up of 1tb, 2tb and 4tb drives. The lvm was created using gpart and webmin lvm management tool as I'm a noob when it comes to command line stuff
https://redd.it/lluxhr
@r_linux
reddit
How to recover formatted ext4 created on lvm partition
I need to recover a ext4 that was created on a lvm filesystem as I accidentally formatted it by mistake from ext4 to ntfs using disks in Ubuntu...
‘Spot’ is a Native Spotify App for Linux, Built in GTK & Rust
https://github.com/xou816/spot
https://redd.it/lluwac
@r_linux
https://github.com/xou816/spot
https://redd.it/lluwac
@r_linux
GitHub
GitHub - xou816/spot: UNMAINTAINED! Please check out active forks
UNMAINTAINED! Please check out active forks. Contribute to xou816/spot development by creating an account on GitHub.
Finally decided to install Linux again after years!
Three years ago I was DONE with Windows, I had jusr found out about Linux and it only took me 5 minutes to tell myself "woah this is so much better than Windows 10!", so I installed it immediately.
I am obsessed with customizing my OS', needless to say both my phone and PC look nothing like stock Android and Linux, even on Windows I did my best to change everything (but obvioulsy there is a limit... ew).
I loved being able to customize Linux so much, that's when I understood what freedom really was (lol), heck you can even change the bootsplash?!?
But I was younger and dumber than now, and I didn't really know how to use the terminal, so that's pretty much where the pros for Linux ended, I couldn't use Photoshop, many videogames and school programs... Sure, there were Wine (which mostly didn't work) and alternatives, but it wasn't the same thing, so there I was installing Windows 10 back.
But 3 years later, Linux's distros improved so much since then, and I miss being able to do all that stuff, I just decided to install it again, but on a partition, so I can have fun with Linux (geez it looks to good!!) and switch to Windows for a few programs.
I know many things have changed since 3 years ago, when I used Ubuntu, and I'm planning on installing it again, is that still a good distro to install in 2021? Is there something I should know? Any tips? :)
https://redd.it/llwrgm
@r_linux
Three years ago I was DONE with Windows, I had jusr found out about Linux and it only took me 5 minutes to tell myself "woah this is so much better than Windows 10!", so I installed it immediately.
I am obsessed with customizing my OS', needless to say both my phone and PC look nothing like stock Android and Linux, even on Windows I did my best to change everything (but obvioulsy there is a limit... ew).
I loved being able to customize Linux so much, that's when I understood what freedom really was (lol), heck you can even change the bootsplash?!?
But I was younger and dumber than now, and I didn't really know how to use the terminal, so that's pretty much where the pros for Linux ended, I couldn't use Photoshop, many videogames and school programs... Sure, there were Wine (which mostly didn't work) and alternatives, but it wasn't the same thing, so there I was installing Windows 10 back.
But 3 years later, Linux's distros improved so much since then, and I miss being able to do all that stuff, I just decided to install it again, but on a partition, so I can have fun with Linux (geez it looks to good!!) and switch to Windows for a few programs.
I know many things have changed since 3 years ago, when I used Ubuntu, and I'm planning on installing it again, is that still a good distro to install in 2021? Is there something I should know? Any tips? :)
https://redd.it/llwrgm
@r_linux
reddit
Finally decided to install Linux again after years!
Three years ago I was DONE with Windows, I had jusr found out about Linux and it only took me 5 minutes to tell myself "woah this is so much...
"Ultimate YouTube-DL Scripts Collection" (previously "YouTube-DL Archivist Scripts") now on Version 3.0.0!
https://github.com/TheFrenchGhosty/TheFrenchGhostys-Ultimate-YouTube-DL-Scripts-Collection/releases
https://redd.it/llwll6
@r_linux
https://github.com/TheFrenchGhosty/TheFrenchGhostys-Ultimate-YouTube-DL-Scripts-Collection/releases
https://redd.it/llwll6
@r_linux
GitHub
Releases · TheFrenchGhosty/TheFrenchGhostys-Ultimate-YouTube-DL-Scripts-Collection
The ultimate collection of noscripts for YouTube-DL. - TheFrenchGhosty/TheFrenchGhostys-Ultimate-YouTube-DL-Scripts-Collection
Nvidia Powermizer Prefer maximum performance won't save ?
I am on Pop Os and loving it. One problem I can't sort though is the Powermizer settings don't save and I have to manually do it every reboot. Is there a simple way to get this done or is it a pain to do ? Many thanks all.
https://redd.it/llzj8c
@r_linux
I am on Pop Os and loving it. One problem I can't sort though is the Powermizer settings don't save and I have to manually do it every reboot. Is there a simple way to get this done or is it a pain to do ? Many thanks all.
https://redd.it/llzj8c
@r_linux
reddit
Nvidia Powermizer Prefer maximum performance won't save ?
I am on Pop Os and loving it. One problem I can't sort though is the Powermizer settings don't save and I have to manually do it every reboot. Is...
Suggestions for Interview Questions
I've been asked to develop some interview questions for a technical candidate with 5-8 years of infrastructure experience with emphasis on Linux and troubleshooting While I'm coming up with plenty of "explain DNS, explain routing, tell me about OSI" and scenario "computer A can't connect to computer C" type questions I'd like to get some ideas from some of you.
For those that have recently done interviews either as a candidate or interviewer, what sort of questions are popular? Any interesting scenario questions? What sort of questions separate competent/advanced to expert?
https://redd.it/lm25ty
@r_linux
I've been asked to develop some interview questions for a technical candidate with 5-8 years of infrastructure experience with emphasis on Linux and troubleshooting While I'm coming up with plenty of "explain DNS, explain routing, tell me about OSI" and scenario "computer A can't connect to computer C" type questions I'd like to get some ideas from some of you.
For those that have recently done interviews either as a candidate or interviewer, what sort of questions are popular? Any interesting scenario questions? What sort of questions separate competent/advanced to expert?
https://redd.it/lm25ty
@r_linux
reddit
Suggestions for Interview Questions
I've been asked to develop some interview questions for a technical candidate with 5-8 years of infrastructure experience with emphasis on Linux...
Automatically join online classes.
Many of us need to attend classes online, and finding the right url for each class and clicking on it at the appropriate time is such a pain (I am too lazy to do all that).
So here is a solution I found out to make my life a little easier.
I started using **calcurse** to maintain my class time table. It is a beautiful tui application which manages events and todos. It has this amazing feature to run a command just before an event start. The default command would send a notification regarding the upcoming event. But this command can be changed to anything. Changing this command to open the class url would automatically open the class for you.
# Requirements
* calcurse
# Procedure
#### Adding Timetable
* Added each class as a recurring event in calcurse with the noscript having the class name and the class url as follows
```
Topology <Tab Space> https://meet.google.com/url123
```
#### Setting up noscript to open url
* Now when I run calcurse --next from the command line I get output as follows
```
$ calcurse --next
next appointment:
[08:26] Topology https://meet.google.com/url123
```
> This means the next class is topology and it is in 8hr 23min and the joining link is that.
* Here is a small noscript that would notify about the next event and also open the url if it exists.
```
#!/bin/sh
browser="brave"
event="$(calcurse --next | sed "1d")"
name="$(echo "$event" | sed -E 's/.*\] ([^\t]*).*/\1/')"
url="$(echo "$event" | grep -o "http\S*" )"
if [ -z "$url" ]
then
notify-send "$name"
else
notify-send "$name" "opening link..."
eval $browser $url 1>/dev/null 2>&1 &
fi
```
Save this as an executable somewhere
#### Configuring Calcurse to run the noscript
Now all that is left to do is to configure calcurse to run this noscript 15 seconds before the event starts.
* Add the following lines to calcurse config file (~/.cache/calcurse/conf).
```
notification.command= /home/user/path/to/this/noscript
notification.notifyall=all
notification.warning=15
```
And there we have it. Now whenever calcurse is open (or launched as daemon), all your classes will be automatically opened in the browser.
## Extra
* If you are really adventurous there are browser plugins that automatically mute, switch off camera and auto join you into google meet.
* I also add the following as a module in my status bar noscript to show when I have my next class.
```
event="$(calcurse -n | sed 1d | sed -E "s_^ *\[(.*):(.*)\] ([^\t]*)\t?.*_[\1h \2m->\3]_")"
```
This would give an output as *07h 27m -> Topology*.
This is taken from my [gitpage](https://github.com/pystardust/automeet)
https://redd.it/lm461b
@r_linux
Many of us need to attend classes online, and finding the right url for each class and clicking on it at the appropriate time is such a pain (I am too lazy to do all that).
So here is a solution I found out to make my life a little easier.
I started using **calcurse** to maintain my class time table. It is a beautiful tui application which manages events and todos. It has this amazing feature to run a command just before an event start. The default command would send a notification regarding the upcoming event. But this command can be changed to anything. Changing this command to open the class url would automatically open the class for you.
# Requirements
* calcurse
# Procedure
#### Adding Timetable
* Added each class as a recurring event in calcurse with the noscript having the class name and the class url as follows
```
Topology <Tab Space> https://meet.google.com/url123
```
#### Setting up noscript to open url
* Now when I run calcurse --next from the command line I get output as follows
```
$ calcurse --next
next appointment:
[08:26] Topology https://meet.google.com/url123
```
> This means the next class is topology and it is in 8hr 23min and the joining link is that.
* Here is a small noscript that would notify about the next event and also open the url if it exists.
```
#!/bin/sh
browser="brave"
event="$(calcurse --next | sed "1d")"
name="$(echo "$event" | sed -E 's/.*\] ([^\t]*).*/\1/')"
url="$(echo "$event" | grep -o "http\S*" )"
if [ -z "$url" ]
then
notify-send "$name"
else
notify-send "$name" "opening link..."
eval $browser $url 1>/dev/null 2>&1 &
fi
```
Save this as an executable somewhere
#### Configuring Calcurse to run the noscript
Now all that is left to do is to configure calcurse to run this noscript 15 seconds before the event starts.
* Add the following lines to calcurse config file (~/.cache/calcurse/conf).
```
notification.command= /home/user/path/to/this/noscript
notification.notifyall=all
notification.warning=15
```
And there we have it. Now whenever calcurse is open (or launched as daemon), all your classes will be automatically opened in the browser.
## Extra
* If you are really adventurous there are browser plugins that automatically mute, switch off camera and auto join you into google meet.
* I also add the following as a module in my status bar noscript to show when I have my next class.
```
event="$(calcurse -n | sed 1d | sed -E "s_^ *\[(.*):(.*)\] ([^\t]*)\t?.*_[\1h \2m->\3]_")"
```
This would give an output as *07h 27m -> Topology*.
This is taken from my [gitpage](https://github.com/pystardust/automeet)
https://redd.it/lm461b
@r_linux
Google
Real-time meetings by Google. Using your browser, share your video, desktop, and presentations with teammates and customers.
A little ZSH cheatsheet
Hi there!
I recently wrote a small framework in ZSH, and that required me to look how to perform many things with the language that aren't always easy to find.
So I made a little cheatsheet, in case it can help anyone!
It shows the syntax for various processings you may have to perform (modifying an array properly, slicing, replacing, iterating over a global pattern silently...)
Here is the link, feel free to tell me if that helped you and/or if you see any error/potential improvement!
https://gist.github.com/ClementNerma/1dd94cb0f1884b9c20d1ba0037bdcde2
https://redd.it/lm4hmi
@r_linux
Hi there!
I recently wrote a small framework in ZSH, and that required me to look how to perform many things with the language that aren't always easy to find.
So I made a little cheatsheet, in case it can help anyone!
It shows the syntax for various processings you may have to perform (modifying an array properly, slicing, replacing, iterating over a global pattern silently...)
Here is the link, feel free to tell me if that helped you and/or if you see any error/potential improvement!
https://gist.github.com/ClementNerma/1dd94cb0f1884b9c20d1ba0037bdcde2
https://redd.it/lm4hmi
@r_linux
Gist
zsh-cheatsheet.md
GitHub Gist: instantly share code, notes, and snippets.
Alacritty color emoji support
Hey guys i recently started to play with alacritty terminal but i cant get color emoji rendering I looked it up on github they says alacritty support fallback fonts but I couldn't step joypixles font anyone know how can I get color emoji working on alacritty???
https://redd.it/lm8o56
@r_linux
Hey guys i recently started to play with alacritty terminal but i cant get color emoji rendering I looked it up on github they says alacritty support fallback fonts but I couldn't step joypixles font anyone know how can I get color emoji working on alacritty???
https://redd.it/lm8o56
@r_linux
reddit
Alacritty color emoji support
Hey guys i recently started to play with alacritty terminal but i cant get color emoji rendering I looked it up on github they says alacritty...
Pinkpill, a minimal package update checker that supports AUR helpers
Should have put this in the noscript, but I forgot: this software works on Arch and derivatives only.
I am sure this has been done before, and maybe also better than what I did; but I had fun doing that, and so I thought I would share it.
This aims to be effectively just a background program that checks for updates and spawns a notification whenever updates arrive. It runs on NodeJS and TypeScript as a meme but that is fine as long as it works ig.
Link is https://github.com/AryToNeX/pinkpill
I hope this will be useful to people who have minimal Arch setups or people who dislike KDE's Discover so much.
Also, contributions are always welcome.
https://redd.it/lm812x
@r_linux
Should have put this in the noscript, but I forgot: this software works on Arch and derivatives only.
I am sure this has been done before, and maybe also better than what I did; but I had fun doing that, and so I thought I would share it.
This aims to be effectively just a background program that checks for updates and spawns a notification whenever updates arrive. It runs on NodeJS and TypeScript as a meme but that is fine as long as it works ig.
Link is https://github.com/AryToNeX/pinkpill
I hope this will be useful to people who have minimal Arch setups or people who dislike KDE's Discover so much.
Also, contributions are always welcome.
https://redd.it/lm812x
@r_linux
GitHub
AryToNeX/pinkpill
A little update checker for Arch-based Linux distributions, using AUR helpers. - AryToNeX/pinkpill
How do I create a file in another directory without changing directories?
I’m taking a Linux class. Currently working on the command line and after rereading the chapter over and over, I don’t understand how to do this.
The question is:
Without changing directories, and using a single command, create a file called January that contains a calendar for January 2021 in your Jan sub directory. Indicate the command below.
This is probably something basic for people who know how to work on the command line but I don’t know how to do it, some help would be greatly appreciated!
https://redd.it/lmdjwz
@r_linux
I’m taking a Linux class. Currently working on the command line and after rereading the chapter over and over, I don’t understand how to do this.
The question is:
Without changing directories, and using a single command, create a file called January that contains a calendar for January 2021 in your Jan sub directory. Indicate the command below.
This is probably something basic for people who know how to work on the command line but I don’t know how to do it, some help would be greatly appreciated!
https://redd.it/lmdjwz
@r_linux
reddit
How do I create a file in another directory without changing...
I’m taking a Linux class. Currently working on the command line and after rereading the chapter over and over, I don’t understand how to do...
Free & Open Source Photo Software
I’m looking for free and open source photo software that can detect duplicate photos plus do basic photo editing.
I have well over 20,000 photos and I know there are duplicates but it would be very time consuming to go through every one. Thank you for your help and your advice.
Is there such software available?
https://redd.it/lmdb6e
@r_linux
I’m looking for free and open source photo software that can detect duplicate photos plus do basic photo editing.
I have well over 20,000 photos and I know there are duplicates but it would be very time consuming to go through every one. Thank you for your help and your advice.
Is there such software available?
https://redd.it/lmdb6e
@r_linux
reddit
Free & Open Source Photo Software
I’m looking for free and open source photo software that can detect duplicate photos plus do basic photo editing. I have well over 20,000 photos...
Simplest way to remotely access SSH for a headless Linux server?
I'll be deploying some small rigs for friends and was wondering what the general consensus is for a simple remote SSH setup. My current home server runs wireguard which I use to SSH into from wherever I'm at, but that requires being local to the device for initial setup. It's been rock-solid for the 1+ year it's been running.
So I guess my question is how can I setup a Linux server such that after I ship it is then able to be plugged in and ready for me to remote SSH into it?
https://redd.it/lmd7rs
@r_linux
I'll be deploying some small rigs for friends and was wondering what the general consensus is for a simple remote SSH setup. My current home server runs wireguard which I use to SSH into from wherever I'm at, but that requires being local to the device for initial setup. It's been rock-solid for the 1+ year it's been running.
So I guess my question is how can I setup a Linux server such that after I ship it is then able to be plugged in and ready for me to remote SSH into it?
https://redd.it/lmd7rs
@r_linux
reddit
Simplest way to remotely access SSH for a headless Linux server?
I'll be deploying some small rigs for friends and was wondering what the general consensus is for a simple remote SSH setup. My current home...
I play games, but when will /if Linux be able to play triple a noscripts?
I know some steam games do work with Linux but as a gamer and video editor, when will I be able to run Linux on my main machine and not have to worry about compatibility. I truly think Linux is the future and community-driven software is better for everyone. I just want to know when I can stop dual-booting Linux and Windows
https://redd.it/lmeuk9
@r_linux
I know some steam games do work with Linux but as a gamer and video editor, when will I be able to run Linux on my main machine and not have to worry about compatibility. I truly think Linux is the future and community-driven software is better for everyone. I just want to know when I can stop dual-booting Linux and Windows
https://redd.it/lmeuk9
@r_linux
reddit
I play games, but when will /if Linux be able to play triple a noscripts?
I know some steam games do work with Linux but as a gamer and video editor, when will I be able to run Linux on my main machine and not have to...
gnome-disk-utility changes LUKS partition key PBKDF on passphrase change.
I had a luks partition using non default pbkdf settings. I used the disk utility to change the passphrase. Then luksDump showed the pbkdf settings changed to default values.
Might be a concern to some cause I would had never guess something other than the passphrase had changed.
https://redd.it/lmh5gt
@r_linux
I had a luks partition using non default pbkdf settings. I used the disk utility to change the passphrase. Then luksDump showed the pbkdf settings changed to default values.
Might be a concern to some cause I would had never guess something other than the passphrase had changed.
https://redd.it/lmh5gt
@r_linux
reddit
gnome-disk-utility changes LUKS partition key PBKDF on passphrase...
I had a luks partition using non default pbkdf settings. I used the disk utility to change the passphrase. Then luksDump showed the pbkdf settings...
Thanks to all maintainers for this great gift
Every time I interact with a Windows/any Apple environment, I feel especially grateful to have this well maintained gem that is (GNU/)Linux. Not only is it super well made, it also helps me believe in humanity where otherwise I see mostly greed and new disgusting mechanisms restrict freedom and monetize peoples actions (I still cannot get over the fact that win10 comes with mfking candy crush by default).
Therefore, a big shoutout to all the maintainers who spend their spare time making other peoples lives better!
https://redd.it/lmi6dl
@r_linux
Every time I interact with a Windows/any Apple environment, I feel especially grateful to have this well maintained gem that is (GNU/)Linux. Not only is it super well made, it also helps me believe in humanity where otherwise I see mostly greed and new disgusting mechanisms restrict freedom and monetize peoples actions (I still cannot get over the fact that win10 comes with mfking candy crush by default).
Therefore, a big shoutout to all the maintainers who spend their spare time making other peoples lives better!
https://redd.it/lmi6dl
@r_linux
reddit
Thanks to all maintainers for this great gift
Every time I interact with a Windows/any Apple environment, I feel especially grateful to have this well maintained gem that is (GNU/)Linux. Not...
RSS Guard implements Feedly via plugin
Guys, just short announcement. I am working on Feedly plugin for RSS Guard (and as majority of users are Linuxers, posting here).
Here is some initial "documentation" with screenshot. Development CI builds are compilling RN and will appear here, as usual.
Right now, things are bit unstable but feel free to file a bug report if something comes up. :)
Cheers.
https://redd.it/lmiz58
@r_linux
Guys, just short announcement. I am working on Feedly plugin for RSS Guard (and as majority of users are Linuxers, posting here).
Here is some initial "documentation" with screenshot. Development CI builds are compilling RN and will appear here, as usual.
Right now, things are bit unstable but feel free to file a bug report if something comes up. :)
Cheers.
https://redd.it/lmiz58
@r_linux
GitHub
rssguard/resources/docs/Documentation.md at master · martinrotter/rssguard
Feed reader which supports RSS/ATOM/JSON and many web-based feed services. - martinrotter/rssguard
Mitigating Memory Safety Issues in Open Source Software
http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/TwyzOIWSR5s/mitigating-memory-safety-issues-in-open.html
https://redd.it/lmas89
@r_linux
http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/TwyzOIWSR5s/mitigating-memory-safety-issues-in-open.html
https://redd.it/lmas89
@r_linux
Google Online Security Blog
Mitigating Memory Safety Issues in Open Source Software
Posted by Dan Lorenc, Infrastructure Security Team Memory-safety vulnerabilities have dominated the security field for years and often lead ...
Mabox Linux 21.02 released - Manjaro spin with OpenBox
https://maboxlinux.org/mabox-21-02-foltest-is-here/
https://redd.it/lmmk3p
@r_linux
https://maboxlinux.org/mabox-21-02-foltest-is-here/
https://redd.it/lmmk3p
@r_linux
MaboxLinux
Mabox 21.02 Foltest is here | MaboxLinux
I am pleased to announce a new release of Mabox Linux 21.02 Foltest. Mabox is a distribution based on Manjaro, with a preconfigured lightweight Openbox window manager and several specially developed…
LFS for final year project (Focus on CTF)
Hi, I am currently a 3rd year student in Computer Science(Security) and will be doing my fyp project on the next semester. I've been thinking of building a linux system with focus on Capture The Flag(CTF) tools and features. This means that I would like to compile most used tools into the system. I have been using Ubuntu and Kali for 2 years and are quite comfortable with it. What do you think about my idea? It is possible? Practical? Thank you in advance!
https://redd.it/lmnisa
@r_linux
Hi, I am currently a 3rd year student in Computer Science(Security) and will be doing my fyp project on the next semester. I've been thinking of building a linux system with focus on Capture The Flag(CTF) tools and features. This means that I would like to compile most used tools into the system. I have been using Ubuntu and Kali for 2 years and are quite comfortable with it. What do you think about my idea? It is possible? Practical? Thank you in advance!
https://redd.it/lmnisa
@r_linux
reddit
LFS for final year project (Focus on CTF)
Hi, I am currently a 3rd year student in Computer Science(Security) and will be doing my fyp project on the next semester. I've been thinking of ...