Tips/tricks for beginners

Hey folks, I just got Bazzite OS KDE up and running on my PC. Being a Linux newbie, I'd love some tips, tricks, and app suggestions if you have any. 😅 Switching from Windows has been a bit of a maze with all the distros out there, so any pointers would be awesome!

The amount of tutorials out there is overwhelming. Hopefully 🙏 you guys point me in the right direction.

Edit: That is a lot of great information. I really appreciate you guys taking your time to share your experience/advice.

eveninghere ,

You don't have to, but if you do stuff on terminal and copy and paste the directory paths from terminal to various GUI apps, that'd be the most productive use of Linux imho.

Also cli programs are way more stable than gui apps. UX additionally improves with zsh to the level where most FOSS GUI apps can't match (because they usually lack a UX team).

some_guy ,

As someone else mentioned, learn the Bash shell (Bourne Again Shell; I just said the equivalent of Automated Teller Machine Machine).

blakeus12 ,
@blakeus12@hexbear.net avatar

learn how to use the command line. spend a week or so getting used to doing file operations like moving, copying, extracting, etc on the CLI to get a feel for it.

lemmyreader ,

To get some more Linux good vibes watch and listen to the BDFL /j

PipedLinkBot Bot ,
@PipedLinkBot@feddit.rocks avatar

Here is an alternative Piped link(s):

https://piped.video/watch?v=k0RYQVkQmWU

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

Maybe check out this thread: https://lemdro.id/post/8480193

I also recommend subscribing to The Linux Experiment, LearnLinuxTV and DistroTube on YouTube. Mental Outlaw also has some good Linux videos. You can also check out The Linux Cast. Chris Titus Tech also has some Linux videos, but you have to go a few years back for beginner-friendly guides. Zaney also makes great Linux videos, but it's mostly advanced stuff.

PipedLinkBot Bot ,
@PipedLinkBot@feddit.rocks avatar

Here is an alternative Piped link(s):

DistroTube

Mental Outlaw

The Linux Cast

Chris Titus Tech

Zaney

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

land OP ,
@land@lemmy.ml avatar

Thank you (: Mental Outlaw is one of my favourite YouTubers. He’s the reason I learned about FOSS, Digital privacy. Then, I discovered useful websites such as Privacy Guides.

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

It was actually the other way around for me. First I learned about Linux, started watching DistroTube, then got YouTube recommendations for Mental Outlaw videos, got more advanced in Linux and then learned about digital privacy and security.

Cpt_ManlyPink , (edited )

I am longtime Linux user ( but I don't consider myself an expert ).

Here are some considerations and knowledge bits I have accumulated:

  • If you're using terminal - especially when you copy commands from internet try to look up command and flags you're about to execute. Be VERY thoughtful when running any command with recursive flag ( usually -r or -R, depends on the command ). There are multiple commands, when misused without understanding, can ruin the system. For example running rm -rf <directory> ( deletes all files and directories that are in <directory> ) and providing incorrect directory, like OS root directory, can ruin everything. There are many stories how Linux beginners brick their OS ( it's almost like rite of passage ). While it's not strictly required to use Linux, I strongly suggest to try to learn the terminal commands, but be mindful of what you execute. Few other commands to respect: mv - moves files/directories, chmod - changes directory/file permissions, chown - changes directory/file owner.
  • If you put sudo in front of the command, it means it will be executed as an administrator, giving that command additional power. It's required in many cases, but when paired with point above, it can potentially do more damage.
  • In some cases you may be required to use vi or vim to edit files, learn the commands to write, exit the application ( :q to quit ). There are many memes about Linux beginners trying to exit vi/vim
  • If anyone suggests to give file 777 permissions, like sudo chmod 777 somefile.sh ( which means, every OS user can do everything with specific file ), usually it's quick and hacky workaround. While not in every case possible, you should always strive to find least permissions needed whenever possible
  • In most Linux distributions, there is pre-installed terminal application Zenity ( can check with zenity --version ). It allows you to make simple window applications without programming, and gives ability to pass input information to other commands. Personally I use it to quickly store bookmarks I find. With keyboard hotkey I show zenity window with 2 text inputs ( url, title), and input texts are stored in database. Can read about Zenity here: https://help.gnome.org/users/zenity/stable/. There are color pickers, calendars, tables and so on. For super-simple example, following line will create simple info window with 4 buttons ( 1 default for info window, and 3 extra buttons )
zenity --info --extra-button=TEXT --extra-button=TEXT2 --extra-button=TEXT3 --width 50 --height 50
  • As other people have mentioned, you can always run man cp ( or cp --help ) where cp ir command you would like to learn more about, see all flags and required arguments ( in this case cp is command for copying files and directories )
  • Some useful commands
    • find - well... finds files/directories ( example find -name ~/Desktop "*.txt" , finds all files with txt extension on desktop )
    • grep - find text in files
    • tail - show last lines of long file ( mainly used for log files )
    • head - show first lines
    • wget - allows you to download files when provided with URL
    • curl - make HTTP requests to sites, retrieve HTTP responses
    • watch - repeat command with time intervals ( example watch -n 1 ls -la ~/Desktop, will list Desktop files repeatedly with 1 second interval. watch command can be useful when you want to watch for some changes in file lists, file contents and many other cases
  • QDirStat - Very cool application, I use it regularly ( https://github.com/shundhammer/qdirstat ). When provided with directory, after it's done analyzing, it will show chart of what files takes up the space and if you wish can locate/delete them from the application window ( bigger rectangle means bigger file ). Super-useful when trying to understand what takes up the storage.
Andromxda , (edited )
@Andromxda@lemmy.dbzer0.com avatar

This comment is awesome! Just want to add some things.

There are some better alternatives for the commands you listed. For example fd for find and ripgrep for grep.

There's a command line alternative for QDirStat called ncdu (https://dev.yorhel.nl/ncdu), as well as a (in my opinion) better graphical application called Filelight.

pukeko ,

First, I don't disagree with that, but I'm always conflicted. Like, eza is better than ls. Atuin is magic history search. btop/fish/helix etc. etc. etc. But for just getting started I almost want to discourage finding alternative tools. But I also don't lol.

Also, I am 99.9% certain this exchange is how most distros get started. "We can do a more sensible set of defaults!"

rotopenguin ,
@rotopenguin@infosec.pub avatar

sl is the single best utility, hands down

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

I just think that these new, fancy applications are more user-friendly, because they are often easier to use, are faster and often have things like colored output. Sure, the GNU coreutils are old and reliable, and can be found on almost every system, making them great for scripts, but for normal, interactive CLI usage I prefer the modern alternatives.

AnUnusualRelic , (edited )
@AnUnusualRelic@lemmy.world avatar

There are always exotic alternative commands, but those were the standards.

Always learn the standard commands.

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

But find is sloooow. fd is so much faster, because it's written in Rust and optimized for performance.

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

But you can always count on find being there on any unix system. Fancy exotic commands may have nicer speeds or options, but they'll only be there on your machine. And one day you'll be on another, and you'll be lost.

gomp ,
@gomp@lemmy.ml avatar

vi or vim [...] :q to quit

you are depriving OP of an experience there... getting stuck in vi is a rite of passage nobody should be denied (but, alas, a lot of distros carry nano nowadays)

Cpt_ManlyPink ,

Sorry, you're right
Only after you "rm -rf" root directory at least once and try to exit vi/vim, you have truly learned Linux

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

My tip is not technical, I would say that you need to be honest with yourself and figure out what do you need, want and prefer because it is easy to get lost in the vast sea of options.
Take the time to ask what app/configuration would suit your need and feel free to ask for advice in something specific. Most often that not you will find someone that is like you and will share his experience saving you time, in any case there is a lot of learning involved. If you are the kind of person who read manuals and troubleshoots on their own it going to be easier. Otherwise be sure to pick a distro(if you are changing any time soon) that holds your hand.
Do not take opinions to hard, if it works for you.... it works for you.
That said here is my take:

  • If you do not plan to use the terminal at all then the most important decision you will take is your Desktop Environment. KDE will make you feel at home since you come from Windows.
  • I suggest learning you distro's package manager commands very well since you will be getting tons of new apps testing them and what not.
  • There are universal packages called Flatpaks that should work on any distro, they are the easiest apps to install but I would suggest you use the corresponding package manager for optimized ighter packages for your distro.
  • Music Players that people like.
  • Look for a backup tool like Timeshift to revert from a bad update or a mistake you have done.
  • Obsidian is one of the best note taking apps there and Logseq its it FOSS counterpart.
  • Try to look for apps that are Wayland compatible because every major DE is switching from Xorg to Wayland, this way the switch will be easier.
  • Do not run any command you found from a random website.

Well, good luck in your journey!

wuphysics87 ,

Was going to (quasi) meme post man bash, but this was much better advice

CrazyLikeGollum ,

This is some good advice. I'd add two caveats though:
- For learning the distro's package manager, while I'd say it's definitely good to learn it (and do so early on), I'd also say beginners should probably stay away from the command line version of it unless it's absolutely needed.
- For running commands from random websites rather than a blanket prohibition, I'd say don't do it unless you can confidently say you understand what the command will do and are willing to take the risk that you're wrong.

why ,

For cli stuff I really like the tldr program (Site. It will give you a list of common use cases for a given program.

land OP ,
@land@lemmy.ml avatar

I have been struggling big time when it comes to cli commands. 😂 I needed this.

nik282000 ,
@nik282000@lemmy.ca avatar

Taken from 'Don't Break Debian'

Take notes

It's easy to forget the steps you took to do something on your computer, especially several months later when you're trying to upgrade. Sometimes when you try several different ways of solving a problem, it's easy to forget which method was successful the next day!

It's a very good idea to take notes about the software you've installed and configuration changes you've made. When editing configuration files, it's also a very good idea to include comments in the file explaining the reason for the changes and the date they were made.

Taking good notes will save your as so many times. Good notes are as important as good backups.

https://wiki.debian.org/DontBreakDebian#Take_notes

NoisyFlake ,

While this is good advice in general, it doesn't apply as much in OPs use case since he's using an immutable distro.

Ramin_HAL9001 , (edited )

I wrote a few articles on my blog for people in your situation, who are mostly only familiar with Windows and/or Mac and want to learn Linux more in depth.

"Advice for people who want to learn linux" -- This article is kind of an overview of the Linux learning process. The point of this article is to teach you what it is you need to learn about so that you set your own curriculum. Once you understand what a few of the basic things are, you can look up your own tutorials on how to learn each thing.

"How to pick a Linux distro" -- This article is for people who are overwhelmed by the number of choices for Linux distro. The bottom line is: don't over-think it, just pick a mainstream distro like Mint, Ubuntu, or Fedora. There is like a 99.99% chance that each of these will just work as soon as you install it, no weird issues with audio, graphics, WiFi, BlueTooth, security updates, or anything else. Also, a lot of the "choices" you see among all those distros are only skin deep -- differences in the default theming (i.e. the default "desktop environment", a concept explained in the "advice" article above). But really they are all using the same basic software packages so there very little substantive difference between any of them except in their app stores, and the mechanism they each use install software.

If you have any questions, feel free to ask me here. I can clarify here, and also update my blog posts if you think anything is confusing.

land OP ,
@land@lemmy.ml avatar

Thank you I will definitely check it out.

governorkeagan ,

I switched to Linux in October of last year and found “The Linux Experiment” to be really helpful in keeping up-to-date with things happening in the community without feeling overwhelmed

land OP ,
@land@lemmy.ml avatar

Cheers. I do watch his videos + TechHut and The Linux Cast.

Barbarian ,
@Barbarian@sh.itjust.works avatar

If you want something useful, maybe some more info on what you use your computer for? Advice for a glorified web terminal would be "Click the Firefox icon". Advice for learning bash would be a massive rabbithole.

App suggestions are also very dependent on what you use your computer for.

land OP , (edited )
@land@lemmy.ml avatar

Initially, I heard about Bazzite OS here on Lemmy; I was tempted to try it out. As someone who loves FOSS, I always wanted to move to Linux. However, I do gaming occasionally, holding me back until I discovered Bazzite OS.

  • Work: I need to learn Linux to be a penetration tester.
  • Customisation: I Love customisation, only Windows (I still have it installed on my other drive; it’s fully customised with zero bloatware). Currently following this tutorial to customise my OS. However, I can’t find anything similar to Latte-Dock. I have tried Plank and Cairo Dock. They’re buggy.
  • Apps: I’m looking for alternatives to ShareX, Fan controller, Flow launcher any other helpful tool similar to them. I have been exploring for the last 2/3 days, but I couldn’t find any app that comes even closer to ShareX (I mainly use video recording, OCR, Image capture and GIF maker features), I’m currently trying FlameShot.
PipedLinkBot Bot ,
@PipedLinkBot@feddit.rocks avatar

Here is an alternative Piped link(s):

this tutorial

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

ElusiveClarity ,

Cooler control is great if you need to control the pump and fans of a CPU cooler. I’m not sure if it can do case fans like fan control but I just set them in the bios anyways.

Barbarian , (edited )
@Barbarian@sh.itjust.works avatar

So on the gaming front, pretty much any mainstream Linux distro would work for that. Proton is pretty damn stable and great on any distro that supports Steam. If you like Bazzite though, you do you.

For pen testing, must-have skills are nmap, bash, sqlmap, wireshark and the burp suite. If you know how to use all those, you've got basic coverage of most common attack vectors (password cracking is also covered by bash, there's 101 different password cracking algorithms in various CLI spps).

I'm a lazy ass who doesn't care much about customization, hopefully someone else can help you with that :))

A quick Google shows that someone got sharex working on Linux: https://github.com/ShareX/ShareX/issues/6531

Might take some effort and learning bash and WINE + winetricks to get that running, but hey, you're gonna need to do that anyways for the pentest stuff :)

helenslunch , (edited )

Bazzite is great but gaming is also great on any distro.

Alternatively there are lots of gaming focused distros. Garuda, Chimera, Nobara, etc.

The difference between them will mostly be the "out of box experience", what software comes pre-installed, and what package manager is used.

I recommended Debian or Ubuntu based distros if you plan to use anything else, as if the dev releases software outside of Flatpak, it's usually a .deb file.

Make sure you have GearLever for appimages.

swooosh ,

You can always use distrobox. There's no need to run a distro because you need an app that's only available there.

helenslunch ,

There's no need to run a distro because you need an app that's only available there.

None except that you have to figure how the fuck to use distrobox.

swooosh ,
  1. Create a distrobox with distrobox enter
  2. sudo dnf install htop
  3. distrobox-export --bin \usr\bin\htop
  4. sudo dnf install anyguiapp
  5. distrobox-export --app \usr\bin\anyguiapp

after that you can use htop or anyguiapp like a normal command on your computer

Images to use: https://github.com/toolbx-images/images

helenslunch ,

I'm not looking for tutorials. I was making the point that you don't need to learn to use it. You just double click the file and you're done.

swooosh ,

I should've guessed when you recommended ubuntu. Sorry for that.

helenslunch ,

I didn't recommend Ubuntu. I recommended Ubuntu-based distros.

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

There's a pretty good tutorial for it: https://www.youtube.com/watch?v=eiDt4O6UPRw

PipedLinkBot Bot ,
@PipedLinkBot@feddit.rocks avatar

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=eiDt4O6UPRw

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

helenslunch ,

Yeah, the point is I don't want to watch the tutorial. Even if I did, it'd probably all be gibberish to me.

On Debian I just click the file and Bob's your Uncle.

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

I can’t find anything similar to Latte-Dock

Why do you need something similar to Latte Dock? Why can't you just use Latte dock?

Apps: I’m looking for alternatives to ShareX, Fan controller, Flow launcher any other helpful tool similar to them.

FlameShot is a great alternative for ShareX, I don't really know about Fan controller, but KDE has a built-in replacement for Flow launcher called KRunner. By default, you should be able to launch it with Alt + Space. If not, check the Keyboard shortcut page in the system settings.

land OP ,
@land@lemmy.ml avatar

From what I have read, Latte-Dock is no longer being maintained.

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

It's not longer maintained by the original developer, but apparently the KDE project picked it up and it should still work, just like it did before

lemmyreader ,
land OP ,
@land@lemmy.ml avatar

I couldn’t get it working even after installing so went the plamsa kde panel route
https://lemmy.ml/pictrs/image/3d20494a-8931-4a1c-94e0-11d17a30c644.jpeg

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

I also the normal Plasma panel, don't have any issues with it. They added quite a few Latte Dock features to the normal panel. Your desktop looks great btw!

land OP ,
@land@lemmy.ml avatar

I feel like third-party docks are not correctly implemented. A plasma panel is what you should be using. Thanks (: That was my first-ever try, by the way. I can’t make the background transparent despite selecting the transparent option.

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

I can’t make the background transparent despite selecting the transparent option.

This might happen because of your theme, what Plasma theme do you use? Try the default Breeze theme to see if it fixes the issue.

linuxPIPEpower ,

Use the website alternativeto.com to locate Linux versions of windows or Mac programs. Also if you find something on Linux but its not quite right, can find listed similar apps.

It has quite extensive coverage of GUI apps. Less so CLI. Certain niche areas are more comprehensive than others.

KISSmyOSFeddit ,

Work: I need to learn Linux to be a penetration tester.

First, learn nmap. That'll get you 80% of the way.
Also Google "Linux server hardening", read through some tutorials and understand why each step is important and what it protects against.

deathmetal27 ,

I doubt there are general tips and tricks given the vast nature of the Linux ecosystem.

Perhaps you should phrase your questions as "How do I do X?" to get more specific help.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • random
  • All magazines