linux

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

pinchcramp, (edited ) in Mozilla Firefox 120 Is Now Available for Download, Here's What's New
@pinchcramp@lemmy.dbzer0.com avatar

Firefox now supports a setting (in Preferences → Privacy & Security) to enable Global Privacy Control. With this opt-in feature, Firefox informs the websites that the user doesn’t want their data to be shared or sold.

This sounds like Do Not Track revisited. The only difference that I can find (only skimmed the website) is, that there seems to be some legal support for this in the state of California.

Now you can exercise your legal privacy rights in one step via Global Privacy Control (GPC), required under the California Consumer Protection Act (CCPA).

I wonder:

  1. How does this differ from DNT?
  2. Does this this have any real chance to take off? From what I’ve heard, DNT has been rather counterproductive as it can be used to fingerprint users.
cypherpunks, (edited ) in would it be illegal to download Ubuntu on a Chromebook?
@cypherpunks@lemmy.ml avatar
bizdelnick, in find, grep, sed, and awk

My 5 cents:

  1. When piping output of find to xargs, always use -print0 option of find and -0 option of xargs. This allows processing files with any allowed characters in names (spaces, new lines etc.). (However I prefer -exec.)
  2. There’s an i command to insert a line in sed, it is better to use it instead of s/^/…n/. It makes code more readable (if we can talk about readability of sed code, huh).
  3. If you want to split a delimiter separated line and print some field, you need cut. Keep awk for more complicated tasks.
OmnislashIsACloudApp,

agree with one and two and younger me would have agreed with your third point but I think I don’t anymore.

yes cut is the simpler and mostly functional tool you need for those tasks.

but it is just so common to need a slight tweak or to want to substitute something or to want to do a specific regex match or weird multi character delimiter or something and you can do it all easily in awk instead of having to pipe three extra times to do everything with the simplest tool.

rho50, in would it be illegal to download Ubuntu on a Chromebook?

Crostini is an official feature built by Google that allows you to run Linux on a tightly integrated hypervisor inside Chrome OS. You keep a lot of Chrome OS’ security benefits while getting a Linux machine to play with.

That said, no, it’s not illegal to install a different operating system on your Chromebook hardware. They are just PCs, under the hood. You might lose some hardware security features though, e.g. the capabilities provided by integration of the Titan silicon.

If you had a job at Google, corporate IT would definitely not be happy if you wiped the company-managed OS and installed an unmanaged Linux distro :)

torvusbogpod, in would it be illegal to download Ubuntu on a Chromebook?

Uh, you don’t have to work at Google on order to do that. Most Chromebooks can be unlocked to work with Linux with a little bit of work. And you wouldn’t be at risk of going to jail for that. Worst that could happen is you void your warranty. But it’s not a “real crime” or anything like that.

sir_reginald, in Will Linux on Itanium be saved? Absolutely not
@sir_reginald@lemmy.world avatar

It seems like NetBSD is working to support Itanium. wiki.netbsd.org/ports/ia64/

TonyToniToneOfficial, in How do I get rid of excessive password prompts, with the least amount of lost security?
@TonyToniToneOfficial@lemmy.ml avatar

Subbed because I’d like to know, too

netchami, in EndeavourOS Ditches Xfce for KDE Plasma with the Galileo Release

A wise decision.

yum13241, in EndeavourOS Ditches Xfce for KDE Plasma with the Galileo Release

I’m in favor. KDE’s workflow is more familiar to everyone.

bitwolf, in Linux 6.7 Features Include Bcachefs, Stable Meteor Lake Graphics, NVIDIA GSP & More Next-Gen Hardware - Phoronix

Nice to see Nvidia getting caught up finally. I switched but I have friends I have told to wait on Linux bc they use Nvidia

adam_b,

It’s also nice they still support older cards like 1000 series, don’t know how well these work on Wayland ?

gabmus, in Can someone ELI5 why some apps need to support X11/wayland?

The application needs to speak a protocol to be able to use it. If you use a X wm your apps need to be able to talk X’s protocol to work, if you use a Wayland compositor your apps need to be able to talk Wayland’s protocol (or run on Xwayland, which is basically an X server that runs inside Wayland).

The wm/compositor abstractions only work if your apps know how to use them via the correct protocol

nossaquesapao,

I thought that wms worked as full abstraction layers. It helped to reduce my confusion, thanks.

aperson,

They are themselves abstraction layers for the apps that are made for them. Software has many levels of abstraction from what you see on the screen all the way down to hardware.

baseless_discourse, (edited )

Typically the abstraction to draw elemnts inside a app window is in the application framework, like GTK, Qt, Electron (chromium), etc.

This is also why apps built with the same framework typically have the same problem on wayland (looking at you, electron).

The abstractions you are thinking of is not in the window manager, which only controls things outside of the main app window, like tiling, border, window top bar, etc.

nossaquesapao,

Yes, part of my confusion was simply mixing up the job of the app frameworks/gui toolkits for the wm. It was weird to me that some apps like firefox had to provide wayland support by themselves and couldn’t simply rely on abstraction layers from whathever they’re coded in. However, I looked for some info, and found out that firefox renders some widgets on its own, and now it makes sense that they need to provide wayland support.

phx,

If you’ve ever had your WM crash, then you may lose the decorations on your windows, the ability to minimize/maximize them or move them around, but the windows themselves still stick around. Restarting the WM brings that all back as well

bitwolf,

That is how portals work in Wayland.

For X there was only one protocol, so they all wrote for x.
This also allowed some hacky things to be done that are questionable from a security standpoint afaik.

manokox400, in help me port this simple extension to GNOME 45

What’s the use case of this extension? It might be too confusing for the users.

dysprosium,

to scroll on the top panel to change volume, is the use case of course. I put the github link for reference.

I think only problem lies with the last line. Importing Volume is done differently now.

RenardDesMers,
@RenardDesMers@lemmy.ml avatar

Do I miss something? I already can do that in the latest fedora natively.

dysprosium,

that’s neat. Can it also do this, natively? extensions.gnome.org/…/panelhideswindow/

RenardDesMers,
@RenardDesMers@lemmy.ml avatar

Ah I see now way you wanted the first extension. Natively you have to scroll on the right part of the panel around the volume icon to change the volume. Not in the middle of the panel

dysprosium,

yeah okay so that’s the same on GNOME on every distro. The icon is too small so it takes too long to get the mouse just right just to change the volume a bit.

RenardDesMers,
@RenardDesMers@lemmy.ml avatar

You don’t have to be exactly on the icon iirc, just on the right most component of the panel.

RenardDesMers,
@RenardDesMers@lemmy.ml avatar

No, the extension is needed for this

Mambert, in What do you think about this?

One important thing you need to know about distros: they’re all the same under the hood.

You can have any desktop you want on any distro. But some customizations are redone in some distros. In terms of programs you want to run, they pretty much all work on any distro. If a distro is “better for gaming” it usually just means the programs are pre-installed.

People talk about arch and Debian as the best because they have the least customizations, allowing you to install and customize as you wish.

Linux users are mostly tinkerers, they like their customizations their way. I’m in that boat. The less I have to remove to get my customization working, the better. Just give me a black screen and a white blinking cursor, I know how to do the rest from there.

alt,

One important thing you need to know about distros: they’re all the same under the hood.

This is true for the traditional model in which the package manager is the main differentiator between distros. Therefore Arch, Debian, Fedora, openSUSE etc and their derivatives (which make up about 90% of the distros found on DistroWatch) are indeed mostly the same.

But the likes of Gentoo and NixOS etc don’t quite fit the bill. Granted, a new user should only very rarely (if ever) start their Linux journeys on any of these advanced distros.

Mambert,

Yeah, you look at how there are a handful of package managers, and hundreds of distros, they’re pretty much all the “same”

But yes gentoo and NixOS do things the most differently. But even on those you can game on them.

I mostly want to discourage distro hopping with the belief that they’re missing out on a program or desktop, only to end up on windows because they’re tired of reinstalling everything.

alt,

I mostly want to discourage distro hopping with the belief that they’re missing out on a program or desktop, only to end up on windows because they’re tired of reinstalling everything.

Thank you for being thoughtful! I just wanted to add some nuance with my previous comment.

zingo, (edited )

Just give me a black screen and a white blinking cursor, I know how to do the rest from there.

That’s exactly what happens on opensuse when I log into to Wayland. Kwin also crashes 100 % of the time. I’m using a 1050ti.

So my default is always x11.

Can you shed a little light how to fix the Wayland issue.

Thank you.

Edit. I misread your post. Its not the command line but the GUI. Also its a black screen with a mouse cursor followed by a kwin crash.

Mambert,

I’ve never used Wayland, x11 is fine for me.

I have also had issues with Wayland, but I have heard issues with Nvidia cards and Wayland.

rtxn, in Recommend me a graphical text editor that can deal with multiple workspaces (or lets you specify instance)

If you open Emacs in daemon+client mode (run emacs --daemon once, then emacsclient to open the window), buffers that you open in one client will be available on all other clients, even concurrently. Judging from a quick test (on hyprland), it also seems to open the file in the client located on the focused screen, but does not automatically open a new client if there is one already running on any screen.

bbbhltz, in Recommend me a graphical text editor that can deal with multiple workspaces (or lets you specify instance)
@bbbhltz@beehaw.org avatar

I guess you could give a few a try.

I use Xed and Geany and they seem to work as expected.

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