On modern GNOME systems (mutter 49+), the GDM login greeter ignores external displays and always appears on the internal laptop panel, even when an external monitor is connected and configured correctly in the user session.
A robust one-liner and shell function to use lsd (LSDeluxe) with all its NerdFont-powered visual glory — while hiding symlink targets (⇒ path).
It preserves icons, formatting, and works beautifully in scripts and aliases.
Perfect for minimalist terminal users who love beauty without unnecessary clutter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Little function to prevent Zsh from going below the bottom 3rd line of your terminal. | |
| # Michael Longval | |
| # mlongval <at> gmail.com | |
| # Tags: KDE Konsole Zsh z-shell | |
| # I was having trouble with KDE Panels covering my Konsole sometimes | |
| # (would have to stop typing and click the panel to make it automatically disappear.) | |
| # It works by printing 2 new-line characters and then going 2 lines back up |
I spent hours scouring the net and finally found how to get Thunderbird version 115.12.2 on Ubuntu 24.04 to connect to my Gmail account.
The reference is from:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Exit Vim if Backspace key at beginning of unmodified buffer (top left) | |
| " Very usefull if you use a terminal file explorer like Ranger | |
| " https://github.com/ranger/ranger | |
| " you can just got into and out of files with Enter and Backspace keys. | |
| " Obviously will notify if buffer is modified and unsaved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 29.04.2023 13h25 | |
| I wanted to try and install mattgodbolt's cool BBC Basic | |
| Owlet Editor on my system. | |
| [https://github.com/mattgodbolt/owlet-editor] | |
| Here is the blurb from the repository describing it: | |
| Owlet Editor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # set the document modeline and spelling to english | |
| snippet setenglish "" b | |
| # vim: spell spelllang=en | |
| `!p vim.command("set spelllang=en")` | |
| endsnippet | |
| # set the document modeline and spelling to french | |
| snippet setfrench "" b | |
| # vim: spell spelllang=fr | |
| `!p vim.command("set spelllang=fr")` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def overlap(): | |
| import random | |
| listA = random.sample(range(100), k=10) | |
| listB = random.sample(range(100), k=12) | |
| listC = list(set([x for x in listA if x in listB])) | |
| listC.sort() | |
| return listC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (* | |
| ToggleGrayScaleMode for MacOSX 10.9 Mavericks | |
| works as of 15 april 2014 | |
| This is an AppleScript UI script to toggle GrayScaleMode in System Preferences. | |
| I am red-green colorblind and grayscale helps a lot... | |
| Works for me. Hope it can be usefull for you. | |
| Mike |
NewerOlder