Linux - Reddit – Telegram
Linux - Reddit
759 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
Windows 10 and Linux Mint 20.1 dual boot menu missing

I am fairly new to Linux and I recently installed Linux Mint Cinnamon on my HDD and I already have Windows 10 on SSD for my day to day purposes. My problem is that I am not seeing the dual boot menu on startup and it is automatically booting into Windows 10 now if I am manually selecting Linux from F9 boot option it is booting normally into Linux, now from here things get trickier for me I went into my BIOS setting and manually changed boot order and for some weird reason it is showing my Linux bootloader in my SSD despite the fact that I installed on my HDD and upon making it first priority when I boot into my Laptop now I am seeing a black screen in my GRUB menu with something like Grub and press TAB to see available commands. My Laptop specs are HP Pavilion Power Gaming Series 15-cb with i7 7700 HQ as my processor. Kindly help me as I really wanna stick to Linux in future but for now I can't use it without Windows. Also sorry for my English mistakes as it is not my first language.

https://redd.it/mjqleo
@r_linux
Looking for recommendations on a lightweight scheduling solution similar to AWX

Hi all,

I have a need for an extremely lightweight scheduling solution that can:

\- Checkout from GIT

\- Schedule noscripts and jobs

\- Has a report dashboard accessible via web GUI for successful / failed jobs

​

It does not need any remote connectivity support.

​

Unfortunately AWX is too much overhead, as this is for a project on a Pi 4 and it's got a decent amount of other stuff running on it.

https://redd.it/mjw757
@r_linux
Aliens elevate privileges to enhance their vision
https://redd.it/mjx48h
@r_linux
Jakym, An Open Source Command line Music Streaming application with spotify playlist support.

I created this application so that I could use the command line to play music easily. I often play games and listen to music simultaneously but using either Spotify or playing music in a browser takes much-needed resources from my CPU and RAM.

I have spent a lot of time looking through numerous CLI based music players. But they either required setting up lots of things, needed premium features to function or sometimes flat out didn't work even after tinkering with them for hours. Hence I thought that instead of looking for a solution, I should code it myself.

So I present to you JAKYM, Just Another Konsole YouTube-Music.

- Run the program using jakym command jakym or call it as a python module python -m jakym

- This will open up the jakym command window.

- Type '''spotify'' to play music using spotify playlist or enter a songname to search for song or enter its youtube link.

- jakym will queue all the songs once you type them and play them one by one

Install from here

Github

pypi

All Issues and contributions are welcome.

https://redd.it/mjy6ck
@r_linux
Arm 64 python ide?

Hello, I am currently running Ubuntu on Android using termux.
I was wondering... Is there a python ide that i can use for arm 64 system? I would prefer the ones with similar look and feel (ui) as that of Spyder (anaconda release)

https://redd.it/mjzgch
@r_linux
Terminal Based Programming IDE

I'm very curious as to whether there is a Programming IDE which is terminal based. I do not mean a text editor like vim but a full IDE using CLI graphics. I'm not looking for extensions for text editors but a standalone terminal IDE

https://redd.it/mk3za3
@r_linux
Ai icon converter

Hello,

I just had an idea and couldn't find it on google.

There are loads of different icon packs for linux but obviously they can't all have custom icons for every single program in existence.

I was wondering if any app exists to use StyleGAN to convert icons to different styles to fill the gaps in any icon packs? If not, it might be an interesting project for me.

https://redd.it/mk5v5b
@r_linux
Some tips for limiting damage remote users can do through OpenSSH
https://distrowatch.com/weekly.php?issue=20210405#qa

https://redd.it/mk8duk
@r_linux
Can someone tell me why my while loop never ends

Hello team

I created this noscript to increment IPs and Vlans to copy to a text file and copy and paste on switches. The numbers are incrementing, the only issue is that it doesn't stop. I want the third octet in my IP to stop at 250 and I was the last Vlan to stop at 1250. The third octet start is entered as 1 and the starting VLAN is 1001. Im a bit of a starter on Shell noscripts, so any help will be appreciated.

\#!/bin/sh -x

MaxValue=250 # highest valid IP octet value

MaxValueVlan=1250

Vlan= 1001

\#echo -n "Enter IP address: "; read IP

echo -n "How many IP addresses do you need: "; read count

echo -n "Which Vlan: "; read VLAN

echo -n "Whats network: "; read Third

​

Pre=10

Sec=150

Fourth=1

while [[ $count -gt 0 \]\] || [[ $vlan -gt 0 \]\] || [[ $Third -gt 0 \]\]

do

if [[ $Third -eq $MaxValue \]\] || [[ $vlan -eq $MacValueVlan \]\] ; then

\# here you'll need to increment the third level IP value,

\# but that might cascade into the second, or the first.

\# consider the case of 17.255.255.255 + 1

echo "edge case needs to be written"

fi

\#echo $baseaddr.$lsv

echo $vlan

echo $Pre"."$Sec"."$Third"."$Fourth

\#lsv=$(( $lsv + 1 ))

vlan=$(( $vlan + 1 ))

Third=$(( $Third + 1 ))

count=$(( $count - 1 ))

done

exit 0

https://redd.it/mk592e
@r_linux
CLI replacement for Baobab (disk usage analyzer)?

my current method is slow and clunky, but I guess I could noscript it into a solution. I'll do sudo du -chs / to see the overview and a total, then will do a du -bcs / | sort -n (show in bytes and then sort numerically) to see the worst offenders at the bottom, then will continue the process the with one or two of the worst offender folders, until i've developed a sense of where the problem is...

I don't need something with a pretty display of where the problem is, but it would be nice to have a MC view of the system, and be able to go down the tree to see where the largest files are. Sometimes I may have a suspicion of where the problem is (/var/logs/ or something), but many times i do not.

https://redd.it/mk9wuq
@r_linux
uhh can someone tell me what's going on
https://redd.it/mkbh07
@r_linux
Emacs Tutorial It's semantic how Emacs binds all keys

From the prelude, Emacs big-bang its universe simply from M-x. It invoke interactive functions with M(Meta)-x(Execute).

Then it go one more step, replaces the double keys of M-xwith the single key of Ctrl, and even further truncates function’s name to its initial letter.

Now instead of redundant M-x forward-char, we straightforwardly strike C-fto move cursor forward a character.

The logic here is obvious: C (Ctrl) substitutes for M (Meta)-x, while f for forward-char.

We pause a moment here to organize our thoughts.

​

1. Key “Meta” has source meaning in etymology, so it is applied to invoke full-name functions,
2. Key “Ctrl” corresponds to “Command”
3. Key “f” is abbreviated for “forward-character”

So differs from Vim, we could easily conclude that Emacs was designed to bind keys semantically.

With such semantic key bindings, we could manipulate Emacs smoothly as veterans even without remembering one key binding.

The subsequent sessions starts to the cursor movement semantically from:

1. Character and Word
2. Line and Sentence
3. Vertical movement
4. Vertically Page down and up
5. Buffer
6. Logic Text Unit
7. Keys layout
8. Concepts

read the complete github project

#

https://redd.it/mjw3to
@r_linux