linux

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

canis_majoris, in I have started using fedora silverblue
@canis_majoris@lemmy.ca avatar

Silverblue rocks, I use it for my mission critical laptop.

For gaming it’s hard to beat Arch, still, because of how much active development is being put in by people like Steam.

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

Also note that Mullvad has a pretty technical user base and target audience, and thus their documentation is likely geared towards them. You could also consider using Mozilla VPN, which offers pretty much the same advantages (they use Mullvad’s servers), at the same price if you pay annually, and is easier to use.

Critical_Insight,

I’m already paying for Mullvad

Vincent,

Heh, that’s another reason not to switch - never mind then!

Vincent, (edited )

Oh actually, looking at the Ubuntu installation docs, that doesn’t really seem to be much easier - that’s a disappointment :/

Although if you don’t mind running one terminal command (specifically, sudo add-apt-repository ppa:mozillacorp/mozillavpn), I think after that you should just be able to use the Ubuntu App Center to install software - which usually is the way to install software in Ubuntu, and works similar to app stores on phones.

where_am_i,

it’s just a fuckin step by step guide on how to add their repo to the sources.list

What’s so technical about it? It’s how you install everything on Ubuntu.

No knowing how apt works, is equivalent to not understanding why grandma_pics.zip.exe is probably a virus. If you’re that uninformed, we can’t help you.

bbbhltz, in New Linux user here. Is this really how I'm supposed to install apps on Linux?
@bbbhltz@beehaw.org avatar

You can achieve this through graphical utilities.

Self-updating apps aren’t a big thing on Linux, so the Windows way isn’t an option…

The signing key is important for security reasons, so you definitely need to add that. After adding the repo you can just use Synaptic or whatever app store thingy Ubuntu uses.

Most of the time you shouldn’t need to fiddle with the command line and the apps you will need are available through the Software Centre and the entire process will work like on Windows.

For me, Linux was the first operating system I used that had an app store or software centre and I was pretty glad to not need to…

  • open a browser,
  • navigate to a site,
  • (hope it is the right site…)
  • download a binary executable,
  • open a file explorer,
  • launch the binary,
  • click through a list of options and agreements,
  • and finally delete the binary.
LifeCoffeeGaming, (edited ) in New Linux user here. Is this really how I'm supposed to install apps on Linux?

Hello new Linux user! So yes, your correct when installing apps on Linux sometimes you might need to do it via command line other times you’ll get a nice install file you can double click. It’s really down too the software manufacturers on how they choose to package it.

In general with Linux you’ll find there’s still a lot of command line usage compared to Windows or osx. On those platforms for most users they would barely touch a terminal except in some kind of bug fixing emergency.

Some distros come with their own app store built in (like the windows or osx app store) and allow you to install a bunch of apps via the gui.

What version of Linux did you go for out of interest? Some are much more beginner and use friendly than others.

Critical_Insight, (edited )

I’m on Ubuntu 23.10 (I think)

There indeed is an app store from where I installed few apps before. I need to check if they have Mullvad there. I do much prefer installing apps thru a GUI. While I know how to follow instructions and copy & paste these commands into terminal, it’s frustrating as I have no idea what any of these does. I might just aswell be unknowingly installing a keylogger or something.

dust_accelerator,

I have no idea what any of these does. I might just aswell be unknowingly installing a keylogger or something.

This actually applies to windows GUI installers just the same. You really don’t know what you’re installing either, although you do usually give it administrator permission to make changes to the system. In some way it’s even worse, it’s “running commands” and hiding it from you.

UnRelatedBurner,

I’d say learn the commands, but another way is to copy paste it into chatGPT, it’ll tell you what the command does.

XTL,

That is a good mindset and you should hold on to it. Of course a gui can install a keylogger for you just as easily if not more so.

Trusted install sources, usually called repositories, are the way. Chances of malware exist, but they would require some spectacular shenanigans or conspiracies to set up.

notsofunnycomment,
@notsofunnycomment@mander.xyz avatar

With a GUI you also don’t know what it does. Its the same situation, you just click a button that runs the code instead of copying and pasting the code in the terminal. (And I would say the latter is safer because it is more transparent (for those who want to figure it out)).

smileyhead, in Make Inkscape installed through Flatpak callable in the terminal as 'inkscape'?

You can do an alias for the shell you use or make a symlink to /usr/local/bin/ for the entire system.

There are importany reasons why this is not the default, but you can do it as long as you are away you have done it. Like when programs installed via package manager and flatpak starts conflicting, you’ll know why.

majestictechie, in [OC] Bibata Cursor v2.0.5 - w/Endless Personalization...

Where’s the flaming sword?

frankfurt_schoolgirl, in What are your opinions of Guix?

I think that it’s a great project, and I hope it succeeds. My sense is that there is more momentum around Nix, so for a lot of uses it just makes more sense.

Guix and Nix both have the same issue imo, which is using a loosely typed language with an odd syntax. I feel like something both strongly typed and with a more common syntax would be easier to edit and faster to evaluate.

CanadaPlus, (edited )

So, I actually learned about Guix via GNU Shepard. It sounds like NixOS just uses systemd, which I don’t love. Not in a dramatic way, and I’m currently running systemd, but it does break the Unix philosophy.

A Haskell-based package manager would be pretty dope (seeing as that’s the gold standard for that sort of language). I wonder if someone’s working on it.

j4k3, in [Resolved] Why does the font on Lemmy.world look like an eyesore?
@j4k3@lemmy.world avatar
mmababes,

I’m having the same issue on other sites as well (not all but some). Does this have something to do with Frefox and MS fonts?

jelloeater85,
@jelloeater85@lemmy.world avatar

You can also try p.lemmy.world as well.

WaLLy3K, (edited ) in Is anyone using awk?

awk is pretty damn solid. When I was completely rewriting the gravity.sh script from Pi-hole about six years back, it was easily the fastest for parsing and uniquely sorting content from files with a couple million lines. It made things much more usable on Raspberry Pi Zero hardware, since changing to another language like Python was out of the question.

turkalino, in how do i efficiently attach audio to an image
@turkalino@lemmy.yachts avatar

Are you sure your rendering settings are correct? It sounds like the video isn’t being encoded at all. Video encoding works by storing a frame in full quality every couple seconds or so. For the rest of the frames, only their differences from the previous full-quality frame are stored. But from what you describe, it sounds like the latter sentence isn’t happening

jackpot,
@jackpot@lemmy.ml avatar

oh i didnt think this is how it worked, i ended up using ffmpeg to make a one frame a second video but it still looks blurry??

tourist, (edited ) in Terminal Utility Mega list!
@tourist@lemmy.world avatar

I have some neat toys and some utilities that other newbies might enjoy.

edit: gmornin

Let me know if there are better alternatives or if anything listed here is malware
Sorry if tool already listed, adhd hitting hard today

“Screensavers”
Aesthetically pleasing to have open on a second monitor.

  • cmatrix: That character scrolling effect from the matrix
  • cbonsai: Little ASCII art bonsai tree that can be animated with the -l flag
  • cacademo A bunch of ASCII animations. Apparently installed by default in many distros? Had no idea
- spotify-tui Spotify CLI frontend

ASCII fun
Fun to make your shell scripts and .zshrc/.bashrc files obnoxiously zany.

  • toilet/figlet ASCII text art.
  • jp2a Turn image files into ASCII art
  • cowsay generates ASCII art pictures of a cow with a message
- neofetch Spits out a cool system info summary with the distro logo in ASCII art

File inspection
Useful if you want to quickly look at a source file without opening a text editor

  • src-hilite-lesspipe.sh Syntax highlight files. I think its pre-installed on GNU systems
  • ccat Colourful cat. Also syntax highlighter
- glow Markdown file renderer

Prompt help
Very useful if you learned to type the wrong way.

- thefuck corrects your previous prompt that you fucked up

Obvious ones, often preinstalled:

  • curl/wget: grab files from the internet
  • nmap: lets you audit your network. See if you have anyone leeching off your wifi.
  • ssh: Remotely access your machines. Can be dangerous if you don’t read the manual.
  • git: Version control, mainly for source code, but also very useful to locally keep track of any kinds of file changes you make.
  • gnupg: needed to set up keys for ssh and git i think. cant remember
rizoid, in Bluetooth problems on my Surface Go 1 running Fedora 39
@rizoid@lemmy.dbzer0.com avatar

I’m not familiar with any differences the surface go might have from other surfaces I have used but the surface kernel has always fixed every issue I have had with them. I currently use a surface laptop 4 and I can’t even use Bluetooth without the surface kernel. As far as breaking the install goes, the instructions for installation and switching are truly as simple as copy and pasting 5 or 6 terminal commands. I really would recommend the surface kernel before any other fixes.

Dariusmiles2123,

Okay thanks for the answer. I guess I’ll try it and come back here if it doesn’t work.

Just a question, is the surface kernel auto updating?

rizoid,
@rizoid@lemmy.dbzer0.com avatar

It should update whenever you run a dnf update in the terminal

Dariusmiles2123,

Sorry to annoy you but it means it’s not gonna update when I update the distro via the graphical interface?

rizoid,
@rizoid@lemmy.dbzer0.com avatar

Not to my knowledge but every desktop environment has a different software diwnloader. For me it doesnt update through Discover on KDE.

Dariusmiles2123, (edited )

Thanks a lot. I’ve now installed the surface kernel. Sadly it still takes a long time for my mouse to be recognized.

That’s not necessarly a problem if it got rid of the disconnection problem at least.

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

Link returns “This site can’t be reachedThe webpage at files.catbox.moe/8g7agm.mp4 might be temporarily down or it may have moved permanently to a new web address.”.

Do you have a github or codeberg link?

Maybe we should add it to awesome-lemmy?.

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

Link returns “This site can’t be reachedThe webpage at files.catbox.moe/8g7agm.mp4 might be temporarily down or it may have moved permanently to a new web address.”.

It seems to be working for me.

Do you have a github or codeberg link?

I didn’t think anyone would have interest in it so i haven’t uploaded it. After new year’s I could clean it up a bit and host it on github.

Maybe we should add it to awesome-lemmy?.

I think it may be e a bit too early for that. At the current state it supports dynamic fetching of the feed in the background (quite buggy), paginating and displaying long posts and displaying top level comments only. At the current state it’s quite enough for me to enjoy a few (more like a few dozen) posts, but definitely not anywhere close to “awesome”.

wuphysics87, in Is anyone using awk?

I use sed a lot

bizdelnick, (edited ) in Is anyone using awk?

Yes, but for a very specific case. I used to write highly portable scripts that could be executed in different environments (various linux distros, including minimal containers, freebsd and even solaris 10). I couldn’t use bash, perl, python and even gawk. Only POSIX shell (I always tested my scripts with dash and ksh93, for solaris 10 compatibility - with its jsh), portable awk (tested with original-awk, gawk and mawk) and portable sed (better forget it if you need to support solaris).

Before that I didn’t understand why should I need awk if I know perl. And awk really sucks. Once I had to replace a perl one-liner with an awk script of ~30 lines for portability.

P.S. I never use awk just for print $1 as many do. It’s an overkill.

bionicjoey,

P.S. I never use awk just for print $1 as many do. It’s an overkill.

cut is better for this use-case IMO. Awk is good for when cut won’t cut it.

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