Categories
blog Linux officialstupid

Pin a Folder – GNOME Dash to Dock

If you use Debian, Ubuntu, or any Linux distribution featuring the GNOME desktop environment, you probably love the Dash to Dock extension. It brings the convenience of a modern application dock right to your screen.

However, you have likely run into a frustrating limitation: GNOME does not let you drag and drop regular folders directly onto the dock.

Because the GNOME dash handles dock favorites strictly as application shortcuts (.desktop files), the trick to pinning a folder is creating a mini-launcher that commands your file manager (Nautilus) to open that exact path.

In this quick guide, we will look at how to pin a specific folderโ€”like a dedicated Documents/kids folderโ€”to your dock in under two minutes.


Step 1: Generate the Folder Launcher via Terminal

Instead of manually navigating hidden system directories, we can use a quick terminal command to generate a custom application shortcut.

Open your terminal and paste the following block of code:

bash

cat << 'EOF' > ~/.local/share/applications/dock-folder-kids.desktop
[Desktop Entry]
Name=Kids Documents
Comment=Open Kids folder directly from the dock
Exec=nautilus /home/sumnima/Documents/kids
Icon=folder-documents
Terminal=false
Type=Application
Categories=GNOME;Utility;
EOF

chmod +x ~/.local/share/applications/dock-folder-kids.desktop

Use code with caution.

How It Works:

  • Name= This is the display title that appears when you search your system.
  • Exec= This tells your system to launch Nautilus and automatically target your designated folder path (/home/sumnima/Documents/kids).
  • Icon= Assigns a clean system folder icon to the shortcut.
  • chmod +x Makes the file executable so GNOME recognizes it as an active system app launcher.

Step 2: Search and Pin It to the Dock

Now that your system recognizes the folder path as an application, pinning it takes just a few clicks:

  1. Press the Super key (the Windows or Command key) to pull up the GNOME Activities Overview.
  2. Type “Kids Documents” into the search bar.
  3. Right-click on the folder icon that appears in your search results.
  4. Click Add to Favorites (or Pin to Dash depending on your GNOME version).

Your custom folder will instantly appear on your Dash to Dock, giving you single-click access to your files from anywhere!


Pro-Tip: Give Your Folder a Custom Visual Style ๐ŸŽจ

If you pin multiple folders, having them all use the generic blue or grey system icon can get confusing. You can easily change the shortcut’s appearance to a distinct style.

Open the shortcut file with a terminal text editor:

bash

nano ~/.local/share/applications/dock-folder-kids.desktop

Use code with caution.

Locate the Icon=folder-documents line and change it to an alternative icon built into your system’s icon theme:

  • emblem-favorite โ€“ Adds a heart or star emblem style.
  • folder-pictures โ€“ A folder displaying a photograph graphic.
  • applications-games โ€“ Perfect if the folder contains kids’ games or entertainment.

Press Ctrl+O followed by Enter to save your changes, and Ctrl+X to exit. Your dock icon will update immediately!

Categories
blog Linux officialstupid

macOS User Trying Linuxing for a Few Months – self-joke

Not trying to leave macOS forever. ๐Ÿ˜„

Iโ€™m just trying to use and adapt to Linux for a few months. But after years of using macOS, muscle memory is a real problem.

My hands keep wanting to:

  • use Command instead of Ctrl
  • have the window buttons on the right side
  • have Finder and the browser feel familiar
  • basically make Linux behave like the Mac Iโ€™m already used to ๐Ÿ˜‚

So Iโ€™m using Debian and tweaking a few things to make the transition easier.

First, I mapped Ctrl to the Windows/Super key so my muscle memory doesnโ€™t fight me every five seconds.

For the look, Iโ€™m using Orchis Theme with the macOS-style window buttons and dock.

For Firefox, Iโ€™m using WhiteSur Firefox Theme by Vince Liuice.

So far, itโ€™s actually getting pretty close.

But thereโ€™s one tiny thing in Firefox that still bothers me a lot.

You know that feeling when everything is almost right, but one little UI element is sitting in the wrong place? ๐Ÿ˜…

Yep.

Letโ€™s fix it with userChrome.css.

Categories
blog Linux

One month. One nail. Nailed it!

Untitled

OS lifecycle: macOS 14 โ†’ Mint โ†’ SUSE โ†’ elementary โ†’ Debian within 1 month!! Poor dude!

Categories
blog Elementary OS Linux

elementaryos – How do I switch Super and Ctrl?

You will need to install the Gnome tweaks tool, not the Elementary tweaks.

sudo apt-get install gnome-tweak-tool

Run the tweaks tool from the apps menu

Keyboard and mouse > Additional Layout options > Alt/win key behaviour.

Usually i use the option Ctrl is mapped to Alt/Alt is mapped to win

Categories
blog Linux linux pain

linux roller coaster

24 hours ago, I switched from Linux Mint to Pop!_OS (Cosmic).

My issues with Mint:

  • The integrated GPU (iGPU) was disabled by default. This made the system feel sluggish, making simple tasks like typing difficult.

My issues with Pop!_OS:

  • The OS feels completely locked down, just like Windows. I cannot even run simple Gnome Tweaks!
  • I spent 2 – 3 hours trying different ways to swap my Ctrl and Super keys, but everything failed.

For now, I want to avoid Debian or other Linux distributions that I am already very familiar with. I plan to give Pop OS another 24 hours. While many parts of it look good, other parts are deeply frustrating.

I have already downloaded my next option: Elementary OS 8, which was my daily driver for two continuous years.

TL’DR – Looking for out of box Linux.

Categories
blog Linux linux pain

backspace – linux pain

Going “Hacker Mode” to Fix a Stuck Backspace Key

Weโ€™ve all been there: you hold down the backspace key to erase a massive typo, but it deletes exactly one letter and stops. To erase a sentence, you now have to tap the key 50 times like a caffeinated woodpecker.

If clicking through settings menus feels too slow, it is time to open the terminal and fix it like a programmer. Here is the instant, two-line fix for Linux users.


The Terminal Quick-Fix

Open your terminal (Ctrl + Alt + T) and type this secret spell to force your keys to repeat:

bash

xset r on

Use code with caution.

Test your backspace key. It should now delete continuously!


Boost the Speed

If the text is deleting too slowly, you can overclock your keyboard’s repeat rate. Run this command next:

bash

xset r rate 200 40

Use code with caution.

This tells your system to wait only 200 milliseconds before it starts repeating, and then delete 40 characters per second.

Categories
Linux officialstupid

Switching from Mac to Linux Mint? How to Swap Command and Ctrl Keys

It’s been a decade since I touched Linux, so here I come with Mint flavor! My fingers are in pain because they only know the Mac keyboard layout. I keep trying to copy, paste, and do everything using the Super button, so I need to change this layout ASAP.

Future Me, Read This If Your Fingers Hurt Again!

For Newer Linux Mint Versions (Mint 22.3+)

  1. Open the Mint Menu and click System Settings.
  2. Click on Keyboard (located in the Hardware section).
  3. Click the XKB Options tab at the top.
  4. Click the + (plus) button at the bottom of the window.
  5. Expand the Ctrl position section, check Swap Left Win with Left Ctrl, and click Add.
Categories
blog Linux

Linux Sucks 2024 – FREE

https://lunduke.locals.com/post/5243803/linux-sucks-2024

Categories
blog Linux Photography

3d photo inpainting

Categories
blog Linux Nginx SSH ubuntu

nginx shutdown terminal ssh

sudo shutdown -h now
Categories
blog Let's Encrypt Nginx SSH SSL ubuntu

Quick Secure Nginx with Let’s Encrypt on Ubuntu 14.04

cd /opt/letsencrypt
./letsencrypt-auto certonly -a webroot --webroot-path=/usr/share/nginx/html -d example.com -d www.example.com
sudo ls -l /etc/letsencrypt/live/your_domain_name
sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
sudo ln -s /etc/nginx/sites-available/example.com.conf /etc/nginx/sites-enabled/example.com.conf

Set Up Auto Renewal

/opt/letsencrypt/letsencrypt-auto renew