linux

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

Genghis, (edited ) in Security advise collection - what do you recommend?

The desktop security model is insecure in general. Phone OSes are much more secure.

Reasonable desktop OS to use is Qubes, Fedora, MacOS, ChromeOS, or Windows pro/enterprise (hardened)

Phones are much more secure especially the Pixel 8/pro with MTE immensely reducing remote exploitation. GrapheneOS is the only distro that enables MTE by default and recently implemented it in their Vanadium browser.

Secure phones (secure elements are important): IPhones and Pixels (GrapheneOS or stock)

Also yes, Chromium is much more secure on Linux than Gecko based browsers because of its great internal sandboxing and site isolation. Firefox on Windows is catching up though, but still bad on desktop Linux and android.

This all doesn’t matter if you’re running an EoL device. Make sure your receiving official security and firmware updates.

that’s about it

Pantherina,

The thing is I use Noscript so I guess having random malicious Javascript executed is pretty rare. And Firefox + Arkenfox is so much more private than damn Chromium, even though I keep a Flatpak of Chromium around.

I understand that the hardened Fedora Ublue version from qoijjj isn’t that far off, maybe removing flatpaks is a bit weird and makes little sense.

I am pretty sure I wont use Chromium, as Firefox is just working better for me? Everything makes sense, and for sure I wont give Google any Data.

yianiris,
@yianiris@kafeneio.social avatar

The base assumption here is you trust corporations such as IBM, Google, MS, and only consider security threats from minor individual actors.

There is no secure way to run any gecko/chrome based app if you don't trust google.

@Genghis @Pantherina

canadaduane, in Is there such a thing as split-screen grep?
@canadaduane@lemmy.ca avatar

ChatGPT suggests the following:

  1. Run tmux
  2. rsync -naP --exclude-from=rsync-homedir-local.txt /home/$USER/ $BACKUPDIR/ | tee /tmp/rsync_output.txt
  3. Ctrl+B % # splits screen vertically
  4. Ctrl+B right-arrow-key # moves to right split
  5. tail -f /tmp/rsync_output.txt | grep denied

Not quite a one-liner, but I can see how tmux is a big help here.

mkwarman,

I know this isn’t an answer you’re looking for, but I’ll at least say that I find tmux to be infinitely useful and highly recommend checking it out

s38b35M5,
@s38b35M5@lemmy.world avatar

Tmux is also good for long operations, as tmux is running as a server and you can close the terminal while tmux chugs away. Others can also connect to the tmux session through ssh and share screens.

wuphysics87,

Don’t feed the beast.

thanksforallthefish, in New Linux user here. Is this really how I'm supposed to install apps on Linux?

While lvxferre’s instructions are the ideal, there’s a simpler option

Download the mullvad.deb file.

Doubleclick on it from your file manager and it should automatically instsll

Every time you start mullvad it will check if the version is current and prompt you (with a link to click on) to upgrade if it’s not.

Note that works on mint, should work on ubuntu unless they’ve disabled dpkg

where_am_i,

No, don’t. Bad advise. Use repos that are provided.

library_napper,
@library_napper@monyet.cc avatar

You might want to say why or you’ll get downvoted. Spoiler: its not safe and this is how you get malicious software on your computer

where_am_i, in New Linux user here. Is this really how I'm supposed to install apps on Linux?

This is a troll, clearly. Purge this guy.

jackpot,
@jackpot@lemmy.ml avatar

?

skillful_garbage, in New Linux user here. Is this really how I'm supposed to install apps on Linux?

Download the .deb from their downloads page and run it, just like you would either a .exe on Windows. Their instructions list that as an option further down on the page. Should be higher up imo

library_napper,
@library_napper@monyet.cc avatar

They probably lowered it became mullvad is a security company and downlaoing .deb files from the Internet ia a vector for attack

bjoern_tantau, in Is there such a thing as split-screen grep?
@bjoern_tantau@swg-empire.de avatar

I usually solve this kind of problem by piping to less or a logfile and then just searching in there. You can get it to refresh new content by pressing the End key twice. Or maybe less just needs the -f flag or something similar. I’m too lazy to look it up.

savedbythezsh, (edited )

less can enter a grep-like mode by hitting /

Edit: it’s & for the grep mode, / is search.

caseyweederman,

More info: / only searches from cursor to end of file. ? searches from cursor to start of file.

savedbythezsh,

Oops yeah I just edited my comment, put the wrong symbol!

Atemu, (edited )
@Atemu@lemmy.ml avatar

That’s not at all grep-like. Grep is a line filter, not a character sequence highlighter.

savedbythezsh,

Oops sorry it’s &! / is find

chitak166, in What is the point of dbus?

I’m a firm believer that the vast majority of things we needed for software were implemented by the 2000s.

Usually, people who don’t understand what they’re doing will overcomplicate things to cover-up their misunderstandings. I think choosing a technology before you have a use-case is one of these examples.

vsis,
@vsis@feddit.cl avatar

Those who don’t understand Unix are condemned to reinvent it, poorly. ~HS

kariboka,

Hichard Stallman?

djtech, in I've started building a TUI for Lemmy

For rendering high quality images in the terminal, check out the Kitty graphical protocol. I don’t know if they are any python libraries to use, but I think that they are. P.S. This seems to work well stackoverflow.com/…/how-to-display-graphical-imag…

callyral,
@callyral@pawb.social avatar

does this protocol work for other terminals? such as alacritty, foot, urxvt, or even st (with appropriate patch ofc)?

djtech,

A quick research tells me that there aren’t patches for other emulators, but the protocol seems well described, so making those patches is possible. I could also take a look at Alacritty source code and deicide if I could make this project work.

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

I went with chafa as it’s terminal agnostic and supports various modes.

Then again, I’m not really sure a tui frontend needs high quality image rendering. Earlier I even considered going completely 1bit braille or just ASCII just so that the image doesn’t take all of the focus at the expense of the post body.

As mentioned by another commenter, I believe opening the full image in an external viewer is a much better solution, not to mention easier to implement.

jodanlime,
@jodanlime@midwest.social avatar

You could also look into using sixel. It’s kinda like the kitty protocol but older and terminal agnostic.

en.m.wikipedia.org/wiki/Sixel

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

Thanks, I’ve only heard of sixel, but never really read into it. Sounds promising.

kariboka,

A suggestion is do it like neofetch and let the user choose. Amazing work.

skullgiver, in Is Ubuntu deserving the hate?
@skullgiver@popplesburger.hilciferous.nl avatar

You don’t have to use Snap (except for LXC, I think?). It’s not enabled by default, but you can enable Flatpak and everything will work fine. Flatpak has Firefox and Chrome and all the other applications thst Canonical foolishly moved from their apt repos to their Snap repos.

There are some frustrating things about Snaps (loading all of them at boot time rather than at runtime, for quicker app start but slower boot, for example, and that stupid snap folder that can’t be moved) but honestly I don’t really see what the fuss is about as an end user. Nobody sets up a purely Snap based system anyway.

The problem with Snap is an ideological one. If you don’t care who runs your software store and if you don’t care about having the ability to add more software stores then the default, you’ll be fine with Snap. If you’re ideologically driven towards Linux, you’ll probably dislike the way Snap is set up.

Like it or not, Ubuntu is still one of the best supported distros out there. If you want drivers from any manufacturer, you get to pick between drivers tested for Ubuntu or Fedora. Every other distro repackages those drivers using their own scripts and compatibility layers because nobody over at Intel is going to spend company time specifically getting Garuda to work when its customers don’t sell hardware with it preinstalled.

Software like Discord and VS Code having the “.deb, maybe .rpm, or you figure it out yourself” approach of official distribution is pretty standard, I’d say, for better or for worse. It also helps that a lot of entry level Linux questions and answers online are about Ubuntu. Askubuntu may not be as vast and up to date as the Arch wiki, but at least the askubuntu people aren’t going to tell you off for not knowing advanced Linux stuff.

There are upsides and downsides to any Linux distro. You’re not “supposed” to think anything, try it out, keep an open mind, and pick what works for you.

Loucypher,

Thank you for the through answer, really put things in perspective

bizdelnick, in New Linux user here. Is this really how I'm supposed to install apps on Linux?

Yes, it is. You can achieve the same usung GUI of course, but this would be more difficult to describe because there are multiple GUIs and they change with new distro versions.

This is more convenient than “downloading and intalling” a file because you don’t have to track updates manually, the package manager will do this for you. You have to read something about what package manager is and how does it work. It is the main concept of all linux distros except LFS.

bizdelnick,

This wiki article contains the information you need. It can seem too long, but I highly recommend to read it.

intensely_human,

I have never regretted time spent reading documentation.

lemmyvore, (edited ) in Is there such a thing as split-screen grep?

Run rsync, pipe to tee, and redirect the output to a named pipe (mkfifo). Open a second terminal and direct the named pipe into a grep command. Arrange the terminals in whatever way you want.


<span style="color:#323232;">mkfifo mypipe
</span><span style="color:#323232;">rsync | tee mypipe
</span><span style="color:#323232;">grep "denied" < mypipe
</span>
canadaduane,
@canadaduane@lemmy.ca avatar

Elegant and flexible, thank you!

fhek, in My Linux Journey

Endeavour is arch, the arch wiki still applies.

Any issues I have with my eos install I refer to the arch wiki. And occasionally eos forums.

fortniteplaya,

That is true in the same way that Ubuntu is Debian. I prefer the base version where I can choose what’s necessary for me for resource management and troubleshooting purposes. I forget what it was, but there were a few issues where Endeavouros was not working properly and the Arch wiki solutions did not work for it, could have been my error as well at the time.

kzhe,

No it’s not. Endeavor literally is just Arch but purple and with an installer. Ubuntu makes many changes.

fortniteplaya,

Fair enough, I most likely broke the system due to not understanding it when using Endeavour. From my understanding now, someone can choose to not install de specific programs and additional endeavouros apps.

hoya, in Can anyone share their experience with Asahi as a Daily Driver?

I use it for moths now, it’s great. What do you want to know?

IzyaKatzmann,

when I use a windows laptop, I don’t really take over my Mac habits (e.g. CMD-OPT-ESC, or using 4 finger pinch or 3 finger swipe up or down), however when using a MacBook even when remoting in to a windows computer I automatically use what I am used to on my MacBook.

do you find that you have some frustration with the user experience and interfacing with asahi linux on your MacBook? i.e. you use the gestures lets say that you would use and they don’t work, or rather, you could make it work but it’s too much trouble.

if it’s a painless kind of switch over, then I think I would be willing to learn or relearn or customize the desktop environment to my liking even if it took a bit of time. however if it’s bug-laden and ‘appears’ to be too much like macOS on the onset, it would probably be more trouble than it’s worth at the moment to use as a daily driver (dual booting in this case would make it even more confusing to demarcate for me).

so yeah that’s a lot to ask you for what your thoughts & experiences were…

hoya, (edited )

Oh, I should have mentioned I never used macOS. The laptop went straight to Linux, so I can’t comment on the habbits.

Now, Fedora Asahi is stable and perfectly fine as a daily driver as long as you don’t need the the microphone and thunderbolt.

Installation is super easy. Just decide between KDE and GNOME.

Edit: you could also install Fedora in a virtual machine to try things out beforehand.

IzyaKatzmann,

ah fair enough, thanks for the response!

narc0tic_bird, in Can anyone share their experience with Asahi as a Daily Driver?

If you find that macOS and the software for it lead to good productivity, I’d advise against ditching it solely for having to allow unsigned applications to run. It’s a few clicks once per app.

I didn’t use Asahi myself. I’d imagine it works for quite a few people, but I personally wouldn’t use it as a daily driver, because the community support is much smaller compared to popular distributions. I’d get a non-Apple computer for using Linux. You could just try it out though, obviously.

scytale,

I was gonna say the same. It’s going for the nuclear option for a relatively small problem (unsigned apps warning). Why run something that emulates an OS when you already have the legit one that’s proven to work well with your productivity. Also, the best OS that runs on mac hardware is macOS. It’s definitely worth trying on a non-apple computer for sure.

IzyaKatzmann,

that’s fair, i’ll definitely have to see what the changes to my workflow are

wuphysics87, in New Linux user here. Is this really how I'm supposed to install apps on Linux?

Not at my computer, but you might check if there is a snap or flatpak

Darkpepito_tux,
@Darkpepito_tux@lemmy.world avatar

(flatpak only :p )

where_am_i,

snap yourself in half

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