Skip to content

Instantly share code, notes, and snippets.

@rain1024
rain1024 / tut.md
Last active May 3, 2026 20:02
Install pdflatex ubuntu

PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.

  • Install the TexLive base
sudo apt-get install texlive-latex-base
  • Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.
@jessedavidd
jessedavidd / Ly-edit-background-color.md
Last active May 4, 2026 21:13
Guide: How to change the colors of Ly (display manager)

How to change background color of Ly

The background color cannot be changed by editing the Ly config file at /etc/ly/config.ini. The bg variable in that config file refers only to the dialog box and the 'menu bar' at the top. The actual background of the entire screen will always be black no matter the bg value.

Somewhat confusing, I know.

There are a couple of ways we can edit the background (and foreground) colors. To better understand how we can achieve these goals, it's important to understand that we're actually not modifying the behavior of ly per se, but changing the colors of the tty session itself.

Solution 1: printf

First, edit the file at /lib/systemd/system/ly.service and add the following in:

@devmaars
devmaars / Termux SSH Tutorial.md
Created April 5, 2024 15:05
This guide will show you how to set up an ssh server on your phone using Termux and connect to it from your computer. This is useful if you want to access your phone's files or run commands on your phone from your computer.

How to ssh to termux the right way

Termux

Requirements

  • Termux (From F-Droid)
  • ADB (Android Debug Bridge)
  • USB Cable (Wireless connection is also possible but it's slower)
@defron
defron / firefox-wayland-dropped-video-frames.md
Last active March 25, 2026 15:46
Fix issue with Firefox Wayland Dropped Frames on Youtube Videos

I was experiencing a significant amount of dropped frames during video playback after switching to Wayland and finally was able to find a fix that worked for me

During youtube playback I would experience 10+ frames dropped all at once, causing a noticable skip.

Saw a few people having similar issues:

https://askubuntu.com/questions/1520102/why-do-i-get-so-many-frame-drops-on-wayland-with-youtube-playback

https://forum.manjaro.org/t/my-browser-drops-a-bunch-of-frames-while-playing-youtube-videos/168839