There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

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

lemmyvore , in How to use a portable SSD for a travel OS with Linux?

What chipset does the adapter use? Check lsusb or dmesg.

Try adding a Manjaro install ISO with Ventoy, it works very well in live CD mode.

queue OP ,
@queue@lemmy.blahaj.zone avatar

Bus 004 Device 002: ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter

And I don’t know if a live CD is the best method for this, due to the how I intend this to be something I can just keep files on for a while. While I do have small persistence .dat files for Debian, Fedora, and Ubuntu, it seems like a bandaid for what would be easiest, an installed distro where I can run the package update commands for, without juggling iso files.

lemmyvore ,

That’s a good chip. As a rule of thumb, Realtek = best, Asmedia = good, JMicron = garbage. JMicron adapters run super hot and draw a lot of power, leading to low speeds and dropped connections.

The reason I suggested a Live CD with persistence is that they are better at autodetecting stuff on the host machine. You can definitely install an actual system on the SSD but it will make assumptions about things like the GPU for example – won’t expect to have to swap it at boot, you’ll have to do it manually. Or you can run your desktop environment with a pure software driver but that may get a bit annoying at times, depending on what you want to do with it.

vojel , in What's your favorite music player on Linux?
@vojel@discuss.tchncs.de avatar

Spotube

blakeus12 , in What's your favorite music player on Linux?
@blakeus12@hexbear.net avatar

I’m a DeaDBeeF fan. i used it on windows and still use it on linux

callyral , in What's your favorite music player on Linux?
@callyral@pawb.social avatar

cmus is my favorite, elisa is my second favorite.

exil0786 , in Is there any way to emulate aegis authenticator (fdroid) on an ubuntu based computer?

You can migrate all your keys to KeepassXC.

pingveno , in What's your favorite music player on Linux?

I used to use Amarok, but now I have a subscription to Youtube Music. It gives me a lot of flexibility on running it in a browser or on Android without worrying about syncing.

jcrabapple , in What's your favorite music player on Linux?
@jcrabapple@infosec.pub avatar

Plex or Plexamp with Tidal integration.

independantiste , in What's your favorite music player on Linux?
@independantiste@sh.itjust.works avatar

Amberol for its simplicity and esthetics

driveway , in What's the best way to have a .bashrc that I can use throughout systems?

You can use syncthing. Set it up and forget about it, you’ll have the same dotfiles anywhere. I have it on my phone so that changes are always synced to it if all other computers are offline.

smileyhead , in What's your favorite music player on Linux?

cmus

So fast and satisfying to navigate around

000 , in What's your favorite music player on Linux?

Plexamp all the way, easily the sexiest music player I’ve found so far. All my music is FLAC pulled from Deezer, and since I’ve got a very large list of artists tracked, it’s super easy to discover new music with the radio and sonic analysis features. It’s also got a last.fm integration, which gives me more data than Spotify would about my listening habits.

The only feature I’m really missing in it is collaborative playlists. I can share playlists out to anyone on my Plex server, but they can’t add or remove songs.

thejml , in What's the best way to have a .bashrc that I can use throughout systems?

As long as you’re not going to store sensitive data in there, I’ve just been using GitHub. I’ve got a Private Repository setup with my configs (.bashrc as well as WM configs and other dot files) and I just commit/push it up and heave an update script pull it down elsewhere. Then it’s also version controlled.

gary_host_laptop OP ,
@gary_host_laptop@lemmy.ml avatar

I think I maybe phrased it horribly, my question was more like, what do I need to learn in order to modify myself the .bashrc by myself instead of using a programme. Does it make sense?

ShaunaTheDead ,
@ShaunaTheDead@kbin.social avatar

You need to learn bash scripting. Also, there are a few default files that the .bashrc uses which can be helpful to compartmentalize the custom things you do to it so that it's easier to undo if you screw something up. To do that, just add this to the bottom of your .bashrc

if [ -f ~/.bash_custom ]; then
    . ~/.bash_custom
fi

What that will do is check if the .bash_custom file exists and then run the .bash_custom file in your home directory and apply anything in there. Also, you can call the file whatever you like, but bash does have some defaults that it will check for and run them without editing the .bashrc at all. It's kind of hard to find a list of the the files that it automatically checks for, but I know that .bash_aliases is one of them, and I think it checks .bash_commands as well, but I'm not entirely sure. Either way, you can force it to check your custom one by using the code above.

Then you can create the file and add any custom things in there that you like. For example, I like to frequently update through the terminal but running sudo apt update && sudo apt upgrade && sudo apt autoremove && flatpak upgrade was a bit tedious and I wanted a bit less feedback so I made a custom alias for my personal use.

alias update='echo "Updating packages..."; sudo apt update -y &> /dev/null; echo "Packages updated."; echo "Upgrading packages..."; sudo apt upgrade -y &> /dev/null; echo "Packages upgraded."; echo "Cleaning up packges..."; sudo apt autoremove -y &> /dev/null; echo "Packages cleaned up."; echo "Updating flatpaks..."; flatpak update -y &> /dev/null; echo "Flatpaks updated."'

Which hides most of the text from updating and just gives me feedback on what it's currently doing if I don't really care to know all of the details. So now I just run update in the terminal and plug in my password and it updates and upgrades everything in a human readable way.

There's a lot that can be done with bash scripting, like editing files, iterating over files and directories, setting environment variables. It's basically a full programming language so the limits are mostly your imagination.

deanso ,

Use chatgpt. Take the first line of your bashrc file and ask it to explain it. Than the second line etc. Won’t be always perfect but for bashrc it shouldn’t be a problem and you can learn a lot from it.

rufus , (edited ) in Is it actually dangerous to run Firefox as root?

Yes. Running anything as root is potentially dangerous. And a browser is a complex and big piece of software with many security issues that can be (potentially) triggered remotely. So it’s bad because of two reasons.

Btw a desktop environment also is a complex and big piece of software with potential issues. Running the whole desktop as root is another thing you wouldn’t do for extra security.

The proper way is to just create a user account and run the desktop and browser as a user. Open a terminal and ‘su’ or ‘sudo’ to limit root rights to the operations that actually need those permissions.

Just running everything as root certainly works. But you do away with all the extra layers of security and end up with something as secure as MS-DOS or a Windows in the 90s or early 2000s.

promitheas , in Messed up my fonts
@promitheas@iusearchlinux.fyi avatar

What is the process/commands you did to install the fonts?

smileyhead , in Where did you learn partitioning? And do you need a guide everytime you install a distro?

I recommend trying to install ArchLinux

Chewy7324 ,

I recommend unplugging all disks with important data beforehand. Piece of mind about not being able to wipe all data (and having to restore from your backup) is great. Having used fdisk or parted is a good experience to have in case it’s actually needed on some server.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines