❌

Normal view

There are new articles available, click to refresh the page.
Before yesterdayMain stream

Paste Without Formatting on a Mac

There's a particular little annoyance that drives me mad when working on a computer.

You find a useful paragraph on a website, copy it into a document, and suddenly everything goes a bit strange. The font changes, the text becomes enormous, the colours don't match, and what should have been a simple copy-and-paste job turns into five minutes of tidying things up.

It's particularly irritating when you're writing articles, putting together emails or gathering information from several different websites. Fortunately, macOS has a solution, although the keyboard shortcut is rather more complicated than it probably needs to be.

The Magic Shortcut

You're almost certainly familiar with Command (⌘) + C to copy and Command (⌘) + V to paste.

But next time you're copying text from one application to another, try this instead:

Option (⌥) + Shift (⇧) + Command (⌘)+ V

In applications that support it, this activates “Paste and Match Style”. Rather than bringing across the original font, size, colour and other formatting, the pasted text adopts the style of the document you're working in.

It's a tiny change, but it can save a surprising amount of irritation.

Why Doesn't Every App Behave the Same Way?

This is where things become a little confusing.

Not every Mac application handles pasting in exactly the same way. Some use different keyboard shortcuts, while others offer their own options for pasting plain text. If the shortcut doesn't work, look in the application's Edit menu for something called Paste and Match Style or a similar command.

The menu will usually show which keyboard shortcut that particular application expects.

It's also worth remembering that matching the destination's formatting isn't necessarily the same thing as stripping every possible bit of formatting from the clipboard. The receiving application still decides how pasted content is handled.

A Little Shortcut Worth Remembering

It's hardly the most exciting feature Apple has ever added to macOS, but if you spend your days moving text between websites, emails, documents and notes, it's one of those tiny discoveries that can make your Mac noticeably less frustrating.

And once you get into the habit of using it, ordinary copy and paste starts to feel rather old-fashioned.Now, if only Apple had chosen a shortcut that didn't require quite so many fingers.

Rename Hundreds of Mac Files Without Installing an App

We've all been there. You've downloaded a pile of photographs, exported several documents or collected a folder full of screenshots, and every single file has a name that tells you absolutely nothing useful.

Perhaps they're called IMG_0001, IMG_0002 and IMG_0003, or something equally inspiring.

Renaming one file is straightforward. Select it in Finder, press Return, type something more sensible and carry on with your day.

Renaming fifty files individually, however, is nobody's idea of a good afternoon.

What you might not realise is that your Mac already includes a surprisingly capable batch-renaming tool, hiding in plain sight inside Finder.

Let Finder Do the Work

Open Finder and navigate to the folder containing the files you want to rename.

Select the files. You can use Command + A to select everything in the folder, or hold Command while clicking the particular files you want.

Now right-click one of the selected files and choose Rename.

A small window appears with three rather useful options: Replace Text, Add Text and Format.

Let's imagine you've got twenty holiday photographs with completely meaningless names.

Choose Format, enter something like Scotland Holiday as your custom name, choose the name-and-number format, and decide where the numbering should begin.

Finder previews the result before you commit the change.

Click Rename, and your collection of files suddenly looks much more organised.

There's More to It Than Numbers

The Replace Text option is useful when a group of files contains the same unwanted word or phrase. Perhaps your photographs all include the camera manufacturer's name, and you'd rather replace it with something meaningful. Add Text is equally handy. You can insert something like 2026- before existing filenames, keeping the original names while making the files easier to organise.

For ordinary jobs, this might be everything you need.

I'd still recommend trying it on a copy of any particularly important files first. Renaming can affect references from other applications, especially when files are linked into existing projects.

When You Need Something More Powerful

I've also been looking at applications such as NameQuick, which take file management beyond the fairly basic options built into Finder.

For complicated naming rules or repeated workflows, dedicated software can certainly be worthwhile. But if all you need is to rename a folder full of photographs or tidy up an afternoon's worth of exports, give Finder a chance first.

You might save yourself a fair bit of time, and another application installation.

Stop Your Mac Screenshots Taking Over the Desktop

If you're anything like me, screenshots are one of those things you take constantly without giving them much thought. A quick grab of an application window, something useful you've spotted online, or a picture to send somebody when you're trying to explain why their computer isn't behaving itself.

Before you know it, your Mac's desktop resembles a digital dumping ground. By default, macOS saves screenshots to your desktop. It's convenient at first, but after a few weeks of collecting images with increasingly unhelpful filenames, things can get rather messy.

Fortunately, Apple has included a simple way to take control of the situation, and you don't need to install anything.

Give Your Screenshots Their Own Home

First, create a folder somewhere sensible. I like the idea of a dedicated Screenshots folder inside Documents.

Now press Shift + Command (⌘) + 5 on your keyboard.

You'll see the macOS Screenshot toolbar appear. Click Options, look for Save to, and choose Other Location.

Navigate to your new Screenshots folder and select it.

That's it. From now on, your usual screenshot shortcuts, including Shift + Command (⌘) + 3 for the entire screen and Shift + Command (⌘) + 4 for a selected area, will save images to your chosen location. Your existing screenshots won't move automatically, but at least the desktop won't continue filling up with new ones.

Why Not Skip Saving Altogether?

Here's another little trick I particularly like. Sometimes you don't actually need a screenshot saved as a file. You just want to paste it into an email, a document or a message.

Instead of using your normal screenshot shortcut, hold down Control as well.

For example:

Control + Shift + Command (⌘) + 4

Select the part of the screen you want, and macOS copies the image directly to your clipboard instead of saving another file.

Now press Command (⌘) + V wherever you want to paste it.

No extra image on your desktop, no unnecessary file to delete later.

One Less Bit of Digital Clutter

If you regularly work with screenshots, you can even drag your Screenshots folder into the right-hand side of the Dock for easy access.

And that's the beauty of this little trick. It's not particularly glamorous, and Apple isn't going to dedicate an entire keynote to it, but it makes everyday life with a Mac that little bit tidier.

Sometimes the best Mac improvements are the ones you can make in thirty seconds.

Switch 2 security takes a hit as hackers unlock homebrew access

22 October 2026 at 22:25

A security researcher has demonstrated a software-only partial jailbreak of the Switch 2, gaining "userland" access that he says "lets us run homebrew, reverse engineer and mod Switch 2 games, back up save files off the Switch, and access most of the Switch 2’s peripherals through MMIO."

The hack relies on the original Switch version of SmileBasic 4, the latest in a long-running series of programming environments and interpreters that run on Nintendo hardware. The so-called "tethered" hack also requires access to a macOS or Linux PC on the same network to run a node.js package that helps enable privileged system access.

Researcher Sammy Hajhamid writes that he used OpenAI's Codex to poke at SmileBasic's language interpreter, using a custom harness that could send USB commands to the system and view results via HDMI (as well as power cycling via a Bluetooth light switch flipping device). After "substantial effort for ~2 weeks," that harness discovered a 32-bit integer overflow that occurs when removing items from an array in SmileBasic. That error gives access to an array pointer, which in turn allows read-and-write access to portions of system memory.

Read full article

Comments

© Pepsipu.com

Ubuntu on MacBook Pro - Magic Mouse / TrackPad Settings

If you’ve ever installed Ubuntu or another Linux distro on your MacBook, MacBook Pro, or iMac, you’ve probably run into one persistent frustration: the Apple Magic Mouse and Trackpad just don’t behave like they do when running macOS, but normal ‘Windows” mice work fine.

After pairing via Bluetooth, you might notice that the right-click (secondary click) doesn’t work, the left-click only registers on the far edge, and scrolling or gestures are unreliable at best, if not have a complete mind of their own!

For devices that feel magical on macOS, they can seem downright clunky on Linux. But don’t worry there s a clean, open source solution that fixes everything, its called ‘Magic Mouse HID driver for Linux’ by Ricardo Rodrigues. This lightweight driver re-enables full Apple-style functionality for both the Magic Mouse and the Magic Trackpad under Ubuntu all in under ten minutes.

The Problem: Apple Magic Mouse on Ubuntu

When you connect your Magic Mouse or Trackpad to Ubuntu, it’s recognized as a generic HID (Human Interface Device). The Linux kernel includes a basic driver (hid_magicmouse), but it lacks the full Apple-specific support you’re used to, as you’ll know from using a Windows mouse with macOS there is something different about these magic mice and that’s why they don’t work like they should. It’s frustrating because the Magic Mouse hardware itself is excellent it just needs the right software layer.

Typical issues include:

  • Right-click not working (or only works occasionally)

  • Left-click zones inconsistent, requiring firm presses on the far left side

  • No smooth scrolling or gestures

  • Battery percentage not reported correctly

  • Overall lag or stutter when using Bluetooth

The Solution: magicmouse-hid Driver

That’s where the Linux-Magic-Trackpad-2-Driver project comes in. Developer Ricardo E. P. Rodrigues created a modern replacement for the kernel’s built-in driver. His project, hosted on GitHub as Linux-Magic-Trackpad-2-Driver, adds proper gesture handling, right-click recognition, and full multitouch support for:

  • Apple Magic Mouse (1st & 2nd Gen)

  • Apple Magic Trackpad (1st & 2nd Gen)

The driver is distributed as a DKMS module (Dynamic Kernel Module Support), which means it automatically rebuilds itself whenever Ubuntu updates your kernel no need to reinstall it every time you upgrade.

How to Install the Magic Mouse / Trackpad Driver on Ubuntu

The process is simple and safe. It doesn’t modify your kernel permanently and can be uninstalled easily.

Step-by-Step Guide

Open your terminal and run the following commands one by one:

# 1. Install DKMS and Git
sudo apt install dkms git -y

# 2. Clone the repository
git clone https://github.com/RicardoEPRodrigues/Linux-Magic-Trackpad-2-Driver.git

# 3. Move into the folder
cd Linux-Magic-Trackpad-2-Driver

# 4. Make the installer executable
chmod u+x install.sh

# 5. Install the driver
sudo ./install.sh

When the installer completes, reboot your machine or reload the module manually:

sudo modprobe hid_magicmouse

What Gets Fixed

Feature Before After Installing Driver
Right-Click Broken or inconsistent Works perfectly
Left-Click Only far left edge Works across full surface
Scrolling Jerky, slow Smooth, natural
Gestures Limited or none Supported (depending on model)
Battery Not shown Reported accurately in system settings

How to Uninstall

If you ever want to remove the driver, it’s easy:

cd Linux-Magic-Trackpad-2-Driver
./uninstall.sh

When I first paired my Apple Magic Mouse with Ubuntu on a MacBook Pro, it was nearly unusable. Right-click didn’t work, scrolling was jerky, and simple navigation felt broken.

After discovering Ricardo Rodrigues’s magicmouse-hid driver, the difference was night and day. It’s one of those small tweaks that completely changes your Linux experience on Apple hardware, we’re slowly getting to the point everything just works the way it should. (Shame the graphics card couldn’t hey!!), We’re also getting updates and security patches running modern Linux which includes a modern browser too.

If you’re running Ubuntu (or any Linux distro) on a Mac, this is an essential setup step. With just a few terminal commands, your Magic Mouse and Trackpad regain their “magic.”

Make sure you read the full page https://github.com/RicardoEPRodrigues/magicmouse-hid?tab=readme-ov-file which includes bug fixes for bluetooth issues or your mouse not reconnecting after a reboot.

Preview Files on Linux

Preview Files Instantly on Linux with GNOME Sushi

If you’ve ever wished macOS-style Quick Look worked on Linux, there’s a neat little tool called GNOME Sushi that makes it possible. It’s fast, simple, and integrates seamlessly with the GNOME desktop.

What It Does

GNOME Sushi lets you preview files without opening them. Highlight a file in Files (Nautilus) and press Space just like Quick Look on a Mac. Images, PDFs, videos, and even text files pop up instantly in a floating window. No extra clicks, no heavy apps just speed.

Installing GNOME Sushi

Installation is ridiculously easy. Open a terminal and type:

sudo apt install gnome-sushi

It’ll pull in the package and all the dependencies. Once installed, just highlight a file in Nautilus and press Space. Boom preview mode activated.

Why It’s Handy

  • Fast previews: No waiting for apps to load.

  • Supports many file types: From PDFs and images to videos and plain text.

  • Lightweight: Doesn’t hog resources like full applications.

Extra Tips

One thing I love about GNOME Sushi is how it handles video and image files. Hover over a video, hit Space, and you get a mini player without opening VLC or any other media app. Images zoom smoothly, and PDFs scroll instantly perfect for when you’re skimming through documents.

It’s also a real workflow booster. Need to check ten files quickly? Highlight, Space, glance, close, repeat. That’s it. No bouncing between apps, no accidental edits just pure preview bliss. For anyone switching from macOS or just wanting more efficiency on Linux, GNOME Sushi is one of those small tweaks that makes daily file management feel a little more magical.

Learn More

You can check out the source code or contribute to the project on GNOME’s official GitLab repository here: https://gitlab.gnome.org/GNOME/sushi.

❌
❌