linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

idefix, in Flatpak standing the test of time: modern Flatpak apps running on Ubuntu 16.04 ESM, a 7-year-old distro

Having a rock-solid Debian stable as a desktop with up-to-date softwares when it matters. It sounded impossible a few years ago but that might be achievable now with Flatpak. That’s awesome.

hellfire103, in [Question] Which shell prompt do you use and why?
@hellfire103@sopuli.xyz avatar

I use Zsh with the Oh My Zsh! framework, and I use a different theme depending on which subuserland I’m in, by customising ~/.zshrc. For example, I use the gentoo theme on Debian and its derivatives, agnoster on NixOS, darkblood on Arch, strug for Mageia, apple on my macOS device, aussiegeek on FreeBSD, and gallifrey on OpenBSD. Different themes helps me remember which package manager to use and which distro-specific commands will work.

I’ll send some screenshots in a bit, when I boot up my PC.

I like Zsh because of its tab completion and command history. I also quite like its plugins.

Before anyone asks, I have tried Fish before, and I prefer Zsh. I have tried configuring Bash before, and I prefer Zsh. I have played with Ksh and Tcsh on BSD, and I prefer Zsh. I used PowerShell a long time ago, and I prefer Zsh.

wgs, in [Question] Which shell prompt do you use and why?
@wgs@lemmy.sdf.org avatar

I’m on the boring side…

https://lemmy.sdf.org/pictrs/image/8c7134f6-39df-43d2-a6d4-9b4fb8a4ba5c.png


<span style="color:#323232;">PS1="% "
</span>

I like it though, it gives me more room for commands !

ClemaX, in With Firefox on X11, any page can pastejack you anytime

Maybe Firefox needs to add a new “Clipboard access” permission that can be granted on a site-per-site basis. When disabled, simple highlight and copy could still be enabled if hidden text cannot be added in between normal text.

The same permission model could be used system wide, but I do not think that such a feature exists on the X server or Wayland. Maybe using a wrapper that runs before the Desktop Environment?

chicken, in With Firefox on X11, any page can pastejack you anytime

this is not a real security issue

This could be a huge security issue for anyone doing cryptocurrency stuff

Whatnot, in Help me choose a distro, please!

I’m a beginner Linux user, without background in informatics, but after trying many distro, Ubuntu, Ark, Manjaro… the easiest to maintain and work as needed is Debian for me.

lemmyvore, in With Firefox on X11, any page can pastejack you anytime

There’s one tiny little problem with the hijack scenario – people only ever paste from the primary selection immediately after selecting something themselves (and thus overwriting whatever was in there). That’s precisely because the primary selection is so easy to overwrite (basically when you select anything), so you want to select and then immediately paste so you don’t lose it.

So in reality this scenario in which a random page injects something in the primary selection and the user pastes it sometime later in a terminal, of all things, probably has like a million to one chance of occuring.

PS: Also, just for trivia, any user who’s been around the console for a while will hit Ctrl+C out of reflex when confronted with unexpected output, not Enter.

muhyb, in Help me choose a distro, please!

You described EndeavourOS if you ask me. It’s Arch but preconfigured, so ready to use after install while being as configurable as Arch if you want to go further. Has AUR so you won’t have problems finding a program.

jsdz, in With Firefox on X11, any page can pastejack you anytime

I tried to submit it to addons.mozilla.org but they didn’t accept it.

It sort of looks as if they did accept it. If they were hesitant, perhaps it has something to do with the description suggesting that it’s a broken and pointless temporary kludge, as well as calling Firefox “removed”, and the ridiculously irrelevant screenshot.

I didn’t realise it was that easy to build a simple firefox extension like that. Maybe I’ll modify it to disable the whole clipboard api and some other stuff.

AI_toothbrush, in "Linux Desktop: A Collective Delusion" - an unhinged rant

Basically all this is bs. The truth is: switching os’ is always hard but if you grow up with one(like me who started with linux and didnt try windows until the age of 15) and only use that one ecosystem its easier. Also according to my grandma(her laptop was really slow so we tried linux on it) manjaro is easier to use than windows…

avidamoeba, in With Firefox on X11, any page can pastejack you anytime
@avidamoeba@lemmy.ca avatar

Are Chromium browsers affected by this too?

Bitrot, in What has VALVE (Steam) done for LINUX and KDE?
@Bitrot@lemmy.sdf.org avatar

Certainly more than the Romans have done for us.

netchami, in [Question] Which shell prompt do you use and why?

I’ve been using zsh for some time, but I finally switched to fish. I also checked out Nushell, it lacks some features, but it’s really interesting. On zsh I was using Powerlevel10k, on Fish I used oh-my-fish with the shellder theme before I switched to Starship. I’m very happy with this setup. My prompt looks like this: https://sh.itjust.works/pictrs/image/9e0ef0c1-d121-44c1-be99-4d03b19af6bb.webp

My Terminal Emulator of choice is kitty, the font is Monocraft.

redcalcium, in I bought a Surface Pro 4 - Update

Two hours to power on? Did I read this right? What happen during this long power up sequence? Is it stuck on POST, bootloader or kernel load?

glizzyguzzler, in I bought a Surface Pro 4 - Update
@glizzyguzzler@lemmy.blahaj.zone avatar

Ditch it, the Surface Pro 4’s are cursed via shit manufacturing.

Its screen will fail sooner or later flickergate.com . I had one, it started flickering after the “extended” warranty. The display is useless now. Nothing fixes it. At first the flicker stopped if something on the screen moved, so I used this github.com/…/Surface-Pro-Screen-Flicker-Solver to mitigate it. But within a day or two it was worse. I tried a reduced refresh rate, but that did not help by then. It quickly got worse when in use, within minutes after a week of the flickering starting. A used one is just pre-accelerated to its demise.

Replacing the screen - even opening the device - is egregiously dangerous because the screen often cracks when taking it apart. Microsoft abs sucks for making a device that can’t last when it clearly should. (Not to say anything about your specific problems! It sounds like the battery needs to be replaced, but it can run without a battery as far as I know so not sure why it can’t power up with it heavily depleted)

Edit: if you’re going to remove the sceeen, replace the battery and replace the screen with a surface pro 5 screen. They sell them. The batteries get fucked quick cause the heat sink cooks them, so it’s prob the battery causing your problems (mine had shit battery life at its end too)

Here is a blurb from Reddit describing what to get (ifixit apparently sells a surface pro 5 screen as well if you want one degree better than direct China): My advice, if you have a Surface Pro 4 with an Samsung Panel is to replace for an LG Screen from Surface Pro 5/6. You need to buy this LCD cable too for that conversion: M1010537-003

You can check in the device manager which LCD panel you have on your Surface

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #