How hard is it to make Icon packs?
Yea I'd like to make one in my free time, I've been making pixel art for a few years and i wanted to experiment with some retro themed icons
I noticed you get 16x and 32x in some of them, any pointers on getting started?
https://redd.it/llduan
@r_linux
Yea I'd like to make one in my free time, I've been making pixel art for a few years and i wanted to experiment with some retro themed icons
I noticed you get 16x and 32x in some of them, any pointers on getting started?
https://redd.it/llduan
@r_linux
reddit
How hard is it to make Icon packs?
Yea I'd like to make one in my free time, I've been making pixel art for a few years and i wanted to experiment with some retro themed icons I...
What Linux should I use?
Hello,
I have recently gotten the Lenovo t60 for free, it has windows 8 rn, but I was wondering which is would fit the laptop the best, like Linux. Is would like it to be fast, but also kinda good looking.
Kind regards,
Jayden
https://redd.it/llf5wg
@r_linux
Hello,
I have recently gotten the Lenovo t60 for free, it has windows 8 rn, but I was wondering which is would fit the laptop the best, like Linux. Is would like it to be fast, but also kinda good looking.
Kind regards,
Jayden
https://redd.it/llf5wg
@r_linux
reddit
What Linux should I use?
Hello, I have recently gotten the Lenovo t60 for free, it has windows 8 rn, but I was wondering which is would fit the laptop the best, like...
FOSDEM Linux conference videos have been released
https://video.fosdem.org/2021/
https://redd.it/lle06n
@r_linux
https://video.fosdem.org/2021/
https://redd.it/lle06n
@r_linux
reddit
FOSDEM Linux conference videos have been released
Posted in r/linux by u/dale_glass • 6 points and 3 comments
I made a CLI tool to wrap any website into a single executable AppImage.
https://github.com/sarweshparajuli/appnativefy
Star it if you like it, README is in detail.:)
​
https://i.redd.it/1eq2eoaa4yh61.gif
I've made a CLI tool, using Node.JS and Shell noscripting to wrap any website into an executable AppImage format, by making an AppImage there is no further execution required. Just click and run.
Plus, it also changes the scrollbar to minimal black style make it look a little less hideous than the standard one present.
Created AppImages will be built to \~/appnativefy
Currently tested on Gentoo, Ubuntu, KDE Neon, Garuda.
https://redd.it/lljhcl
@r_linux
https://github.com/sarweshparajuli/appnativefy
sudo npm i -g appnativefyStar it if you like it, README is in detail.:)
​
https://i.redd.it/1eq2eoaa4yh61.gif
I've made a CLI tool, using Node.JS and Shell noscripting to wrap any website into an executable AppImage format, by making an AppImage there is no further execution required. Just click and run.
Plus, it also changes the scrollbar to minimal black style make it look a little less hideous than the standard one present.
Created AppImages will be built to \~/appnativefy
Currently tested on Gentoo, Ubuntu, KDE Neon, Garuda.
https://redd.it/lljhcl
@r_linux
GitHub
GitHub - sarweshparajuli/appnativefy: A CLI tool to make a single executable AppImage from any website
A CLI tool to make a single executable AppImage from any website - sarweshparajuli/appnativefy
What relatively simple program would you like to see on Linux?
I'm doing my undergraduate final project next semester, and I'm thinking of doing something that is actually beneficial.
I'm thinking of something on the scale of a project manager or a note taking app (like Evernote, but without all the features).
It shouldn't be too simple, like just a GUI for an already made CLI program, and not too complicated. I have 5 months to work on it.
So what is something you feel is missing on Linux? Or already exist, but you feel that it can be better?
https://redd.it/llisi6
@r_linux
I'm doing my undergraduate final project next semester, and I'm thinking of doing something that is actually beneficial.
I'm thinking of something on the scale of a project manager or a note taking app (like Evernote, but without all the features).
It shouldn't be too simple, like just a GUI for an already made CLI program, and not too complicated. I have 5 months to work on it.
So what is something you feel is missing on Linux? Or already exist, but you feel that it can be better?
https://redd.it/llisi6
@r_linux
reddit
What relatively simple program would you like to see on Linux?
I'm doing my undergraduate final project next semester, and I'm thinking of doing something that is actually beneficial. I'm thinking of...
Linux Razer Core X EGPU / GPU Switcher AMD only
I noticed there wasnt a write up for switching AMD GPUs on a Razer Core x.
I wrote a simple noscript to accomplish this with details in the Readme.md
Github link: https://github.com/Ralph-Fonz/eGPU\_Switcher
Follow the steps listed, I also added Gnome application instructions
Make sure to Switch back to integrated gpu before restarting and leaving w/ the laptop*
https://redd.it/lliq90
@r_linux
I noticed there wasnt a write up for switching AMD GPUs on a Razer Core x.
I wrote a simple noscript to accomplish this with details in the Readme.md
Github link: https://github.com/Ralph-Fonz/eGPU\_Switcher
Follow the steps listed, I also added Gnome application instructions
Make sure to Switch back to integrated gpu before restarting and leaving w/ the laptop*
https://redd.it/lliq90
@r_linux
GitHub
Ralph-Fonz/eGPU_Switcher
Contribute to Ralph-Fonz/eGPU_Switcher development by creating an account on GitHub.
Created a Thunar Archive Plugin .tap for LXQt Archiver
https://github.com/BenjaminPrice/lxqt-archiver-thunar-tap
https://redd.it/lll0rx
@r_linux
https://github.com/BenjaminPrice/lxqt-archiver-thunar-tap
https://redd.it/lll0rx
@r_linux
GitHub
BenjaminPrice/lxqt-archiver-thunar-tap
Add support for LXQt Archiver to the thunar-archive-plugin in the Thunar File Manager - BenjaminPrice/lxqt-archiver-thunar-tap
Script to rename file name/content
Hello all,
My job has made strides for our team to be more efficient at programming. I am a bit familiar with Linux.
I want to create a program where I can upload a file : “0001.jar” , and it would create an xml file called “0001.xml” and a trigger file called “0001.trigger”. After this is done, I want the xml files I have created to have a specific field called <ID>0001<ID>, reflecting the file name.
How should I go about this as a novice programmer?
https://redd.it/llkgx5
@r_linux
Hello all,
My job has made strides for our team to be more efficient at programming. I am a bit familiar with Linux.
I want to create a program where I can upload a file : “0001.jar” , and it would create an xml file called “0001.xml” and a trigger file called “0001.trigger”. After this is done, I want the xml files I have created to have a specific field called <ID>0001<ID>, reflecting the file name.
How should I go about this as a novice programmer?
https://redd.it/llkgx5
@r_linux
reddit
Script to rename file name/content
Hello all, My job has made strides for our team to be more efficient at programming. I am a bit familiar with Linux. I want to create a program...
Microsoft repo and key are automatically added to Raspberry Pis
https://www.jeffgeerling.com/blog/2021/microsoft-repo-and-key-are-automatically-added-raspberry-pis
https://redd.it/llkbr2
@r_linux
https://www.jeffgeerling.com/blog/2021/microsoft-repo-and-key-are-automatically-added-raspberry-pis
https://redd.it/llkbr2
@r_linux
reddit
Microsoft repo and key are automatically added to Raspberry Pis
Posted in r/linux by u/geerlingguy • 1 point and 1 comment
[Events] vBeer online Party - Tomorrow 18th Feb at 3PM GMT
Fellow opensource fans, I invite you to **3mdeb's vBeer event** to discuss the open/libre firmware/hardware and other nice embedded things you have in mind! We could
* look through the growing family of opensource coreboot-based distros,
* explore the real possibilities of coreboot BIOS on the modern PCs,
* figure out what can we do to bring back the KGPE-D16 server support to a coreboot master,
\- and much more! There’ll be a lot of interesting talk with a cosy atmosphere and good vibes - so, feel invited and take your beer! ;) [http://live.evenea.com/3mdeb-vbeer](http://live.evenea.com/3mdeb-vbeer) , **Tomorrow** 18th Feb **at 3PM GMT**
https://redd.it/llt9sz
@r_linux
Fellow opensource fans, I invite you to **3mdeb's vBeer event** to discuss the open/libre firmware/hardware and other nice embedded things you have in mind! We could
* look through the growing family of opensource coreboot-based distros,
* explore the real possibilities of coreboot BIOS on the modern PCs,
* figure out what can we do to bring back the KGPE-D16 server support to a coreboot master,
\- and much more! There’ll be a lot of interesting talk with a cosy atmosphere and good vibes - so, feel invited and take your beer! ;) [http://live.evenea.com/3mdeb-vbeer](http://live.evenea.com/3mdeb-vbeer) , **Tomorrow** 18th Feb **at 3PM GMT**
https://redd.it/llt9sz
@r_linux
All my achievements in 2 month journey of being Linux Youtuber
This is my 0 to \~1k Subs journey where I provided Lot of goods to community without spamming my channel videos. This is why I Love Reddit. You can get recognized even with 0 followers.
**About Me -**
* I am Suraj Kushwah (aka **BugsWriter**)
* Distro - I hop between Arch & Gentoo (with dwm)
* I love **Linux**\-**libre kernel** and I am a big GNU fan.
* I started a Linux YT channel. Because Technology is getting shit everyday and I believe I have to save the world.
# Here my Past 2 months Achievements -
​
* [myyt](https://github.com/Bugswriter/myyt) \- One command to search (with dmenu) and play YouTube videos from terminal. This was my first simple noscript, my purpose was just to teach but, surprisingly this got lot of attention and I got 1.7k total Upvotes on multiple subreddits. This motivated me a lot because I was used to live in dark, I was very good with Linux and computers but it was my hidden talent, because I had really shitty communication skills.
​
* [redyt](https://github.com/bugswriter/redyt) \- Simple noscript to download images of top posts of any Sub Reddit and open it with sxiv. I made this just to show people power of terminal and again noscript also got lot of attention (1k+) Upvotes (total).
​
* **After this I got shout out from** [Mental Outlaw](https://youtu.be/xogxETRXN4k) for myyt and redyt.. and I was so shocked because I was used to watch him to learn about gentoo.
​
* [pirokit](https://github.com/Bugswriter/pirokit) \- Script to search torrents from dmenu and start download them instantly. This got lot of attention on r/piracy and some other Linux subreddits. (1k+ Upvotes)
​
* [Unixporn Compilation](https://youtu.be/upCemv2UaLc) \- I believe everyone of you watched this video. I created this for my channel. People on r/unixporn loved this video. (5.5k+ Upvotes)
​
* [Wallpaper Downloader](http://0x0.st/-zNM.bin) \- A Script to search and download wallpapers from Wallhaven in bulk. This got lot of attention on r/unixporn. (600+ Upvotes)
​
* [Youtube Automation](https://www.reddit.com/r/linux/comments/l5awi1/automating_an_entire_youtube_channel_with/) \- I shared this technique of making compilation video by editing with ffmpeg and uploading it with simple shell magic. This got lot of attention on r/linux (1.6k upvotes)
​
* [Tuxi](https://github.com/Bugswriter/tuxi) \- A program which scrape google to give question answer or any question on terminal. Now this one is one of my best. People are keep adding cool stuff to this. Got lot of attention on r/unixporn (2k+ Upvotes Total)
​
* **Today I Got another** [**Shout Out**](https://youtu.be/PLwtX_gflAA) **from Mental Outlaw for Tuxi.**
​
Besides all this I also shared some really good ideas which convince people why to learn using terminal. Like -
* Sharing files online quickly with dmenu.
* Why you need to learn awk.
* Gilfoyle's remote rig toggling program in BASH
* and some real life example of saving time with terminal.
Getting all these ideas, writing noscripts, recording & editing Video, Communicating with all response I get .. It's a lot of work for a lazy guy like me (after all that's why I write noscripts). But my passion for Linux and all the good response I get truly changed my personality.
With all this, I overcome my fear of speaking English. I remember during my first video I was so nervous in front of mic. Spending hours just to say one paragraph properly.
It's like dream come true. Showing people why to use Linux. Convince them to learn programs like **awk, sed, cut, paste, grep**.
My life is changed .. I hope my 2 month journey will motivate you to share your knowledge and providing goods to community.
I never spam any of my youtube video on any Linux subreddit. I always did text based post or posted demo video. I just share my video link in comments silently which I have to, since Youtube hardly promote good Linux YouTuber and If I don't share how people are going to know about
This is my 0 to \~1k Subs journey where I provided Lot of goods to community without spamming my channel videos. This is why I Love Reddit. You can get recognized even with 0 followers.
**About Me -**
* I am Suraj Kushwah (aka **BugsWriter**)
* Distro - I hop between Arch & Gentoo (with dwm)
* I love **Linux**\-**libre kernel** and I am a big GNU fan.
* I started a Linux YT channel. Because Technology is getting shit everyday and I believe I have to save the world.
# Here my Past 2 months Achievements -
​
* [myyt](https://github.com/Bugswriter/myyt) \- One command to search (with dmenu) and play YouTube videos from terminal. This was my first simple noscript, my purpose was just to teach but, surprisingly this got lot of attention and I got 1.7k total Upvotes on multiple subreddits. This motivated me a lot because I was used to live in dark, I was very good with Linux and computers but it was my hidden talent, because I had really shitty communication skills.
​
* [redyt](https://github.com/bugswriter/redyt) \- Simple noscript to download images of top posts of any Sub Reddit and open it with sxiv. I made this just to show people power of terminal and again noscript also got lot of attention (1k+) Upvotes (total).
​
* **After this I got shout out from** [Mental Outlaw](https://youtu.be/xogxETRXN4k) for myyt and redyt.. and I was so shocked because I was used to watch him to learn about gentoo.
​
* [pirokit](https://github.com/Bugswriter/pirokit) \- Script to search torrents from dmenu and start download them instantly. This got lot of attention on r/piracy and some other Linux subreddits. (1k+ Upvotes)
​
* [Unixporn Compilation](https://youtu.be/upCemv2UaLc) \- I believe everyone of you watched this video. I created this for my channel. People on r/unixporn loved this video. (5.5k+ Upvotes)
​
* [Wallpaper Downloader](http://0x0.st/-zNM.bin) \- A Script to search and download wallpapers from Wallhaven in bulk. This got lot of attention on r/unixporn. (600+ Upvotes)
​
* [Youtube Automation](https://www.reddit.com/r/linux/comments/l5awi1/automating_an_entire_youtube_channel_with/) \- I shared this technique of making compilation video by editing with ffmpeg and uploading it with simple shell magic. This got lot of attention on r/linux (1.6k upvotes)
​
* [Tuxi](https://github.com/Bugswriter/tuxi) \- A program which scrape google to give question answer or any question on terminal. Now this one is one of my best. People are keep adding cool stuff to this. Got lot of attention on r/unixporn (2k+ Upvotes Total)
​
* **Today I Got another** [**Shout Out**](https://youtu.be/PLwtX_gflAA) **from Mental Outlaw for Tuxi.**
​
Besides all this I also shared some really good ideas which convince people why to learn using terminal. Like -
* Sharing files online quickly with dmenu.
* Why you need to learn awk.
* Gilfoyle's remote rig toggling program in BASH
* and some real life example of saving time with terminal.
Getting all these ideas, writing noscripts, recording & editing Video, Communicating with all response I get .. It's a lot of work for a lazy guy like me (after all that's why I write noscripts). But my passion for Linux and all the good response I get truly changed my personality.
With all this, I overcome my fear of speaking English. I remember during my first video I was so nervous in front of mic. Spending hours just to say one paragraph properly.
It's like dream come true. Showing people why to use Linux. Convince them to learn programs like **awk, sed, cut, paste, grep**.
My life is changed .. I hope my 2 month journey will motivate you to share your knowledge and providing goods to community.
I never spam any of my youtube video on any Linux subreddit. I always did text based post or posted demo video. I just share my video link in comments silently which I have to, since Youtube hardly promote good Linux YouTuber and If I don't share how people are going to know about
GitHub
GitHub - Bugswriter/myyt: Script I wrote to search youtube with command line easily.
Script I wrote to search youtube with command line easily. - GitHub - Bugswriter/myyt: Script I wrote to search youtube with command line easily.
my Channel?
This just truly changed my Life. Thanks A lot from Bottom of my heart.
https://redd.it/lluftr
@r_linux
This just truly changed my Life. Thanks A lot from Bottom of my heart.
https://redd.it/lluftr
@r_linux
reddit
All my achievements in 2 month journey of being Linux Youtuber
This is my 0 to \~1k Subs journey where I provided Lot of goods to community without spamming my channel videos. This is why I Love Reddit. You...
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.