

I don’t understand the appeal of foldable screen smart phones. Seems like nothing more than a gimmick to me.
I don’t understand the appeal of foldable screen smart phones. Seems like nothing more than a gimmick to me.
If you open /usr/share/plasma/plasmoids/org.kde.plasma.icon/main.qml
and search for line
there’s a section called PlasmaExtras.ShadowedLabel
which seems to correspond with icon text and there’s a line maximumLineCount: 2
you could try reducing that to 1 and it might fix your issue.
It looks like KDE Plasma is based on QT6 and the icons I believe are a QT6 Label so you can also add some styling to it yourself. Here’s the documentation for it: https://doc.qt.io/qt-6/qml-qtquick-controls-label-members.html
There is a property called lineHeight
so you could just add that to the PlasmaExtras.ShadowedLabel
and see if that fixes it.
You should go for a distro that matches what you want out of your system. You want stable? Find some strong LTS distro like Ubuntu. You want ULTRA STABLE? Go for an immutable distro. Do you want to use your system for gaming? Go for a distro with wide gaming support, built-in drivers with options for proprietary drivers.
It’s less about what base distro you’re using and more about what you like about that particular flavor of distro.
For example, I use my PC for gaming mostly, but also coding. I switched from Pop! (Ubuntu based) to Garuda (Arch based) and I love it because it’s really good for gaming, comes with Mangohud, Gamemode, Steam, Heroic, controller drivers, graphics drivers, etc, all optionally pre-installed. I also really like KDE apps because they’re performant and slick so I got the Plasma version.
Anyway, yeah, focus less on “this distro is Arch based” and more on what each distro can provide you as far as your personal tastes.
This tip is super useful to me because not everyone is using a PC. On a PC sure, I would use the Home and End keys all the time. Now I’m using a laptop as my main computer and the Home and End keys are in a weird position that even to this day, 4ish years of laptop use, I still have to actually look at the keys to find them.
My favorite tips are:
You can filter the output of a command. Most commands return parameters like (output, error)
so you can filter them by number like 1>/dev/null
will filter the output and only show the errors, and 2>/dev/null
will filter the errors and only show the output. Also if you want a command to run silently but it doesn’t have it’s own built-in quiet mode you can add &>/dev/null
which will filter everything.
Bash (and other shell’s I assume) can be fully customized. In addition to the .bashrc file in your home directory, there are also a few common files that bash will look for like .bash_aliases, .bash_commands, .bash_profile
or you can create your own and just add to the end of the .bashrc file ./YOUR_CUSTOM_BASH_FILE_NAME
Inside that file you can add any custom commands you want to run for every bash shell like aliases and what not.
I personally often use a simple update command like so alias up='sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y'
which just makes running updates, upgrades, and clean-up so much easier. Just type up
and enter your password. I have previously added in things like &>/dev/null
to quiet the commands and echo Fetching updates...
to make some commands quieter but still give some simple feedback.
There’s also the basics of moving around a terminal command as others have pointed out. The easiest and the one I use the most is if you hold CTRL+LEFT_ARROW the cursor will move entire words instead of one character at a time. Very helpful if you need to change something in the middle of a command.
Current Linux market share worldwide for desktops is at ~4%. There’s also ~2% ChromeOS which is Linux based so I don’t know why it’s listed separately. As well as ~6% other which is probably Linux with privacy settings turned on.
If we go back 5 years in Linux desktop usage, the high end is including the “Other” category.
2019: ~2% to ~9% 2020: ~2.5% to ~5% 2021: ~3.5% to ~11.5% 2022: ~4.5% to ~10.5% 2023: ~6.5% to ~10% 2024: ~6% to ~12%
There is definitely a growing trend, the user base has grown somewhere between 33% and 300% depending on whether you include the “Other” category, which I personally think is a pretty safe assumption since for most PC users if it’s not Windows or Os X, it’s Linux.
Here’s where I got the data from: https://gs.statcounter.com/os-market-share/desktop/worldwide
One place I worked at recently was still using Node version 8. Running npm install
would give me a mini heart attack… Like 400+ critical vulnerabilities, it was several thousand vulnerabilities all around.
I do find that everything related to Python is especially badly documented and/or maintained. Maybe I’m just not looking the in right place though? I don’t generally use Python as my primary language.
Usually API docs are tucked away inside a “developer dashboard” or whatever they decided to call it. So I think you can assume at least moderate API and web development knowlege and programming skills.
You should read up on what’s called “rubber ducky” debugging
Here’s a link to a comic that summarizes the idea succinctly: https://www.smbc-comics.com/comic/the-rubber-duck-method Wikipedia article here: https://en.wikipedia.org/wiki/Rubber_duck_debugging
In those kinds of situations you need to remember to try to break the problem down into simpler sections to identify where the problem lies. One of the first steps would be to run SELECT * FROM mainWorkSpace WHERE user_id = @user_id
and see if that returns anything.
LTS just means Long Term Support in case you weren’t aware. It means no new development is happening, but security exploits will be patched as soon as they arise.
If you just want stability, LTS is the way to go. If you want all the cutting edge bells and whistles and are okay with potentially some instability (but probably not much) then use the latest version.
If your device isn’t connected to the internet during general use then I wouldn’t worry too much about updating anything. Security fixes aren’t important if there’s no way to connect to your device.
I don’t really get the appeal of strongly typed languages. Can’t you just use try/catch blocks, and/or use functional programming and return early if the data structure of whatever you’re working with isn’t what you expected?
I guess it can help older code easier to maintain because the expected data structure is right there, but you could also just include it in a comment above the function.
I personally find TS slows down initial production of a project and raises so many unnecessary errors.
Is there some huge benefit that I’m missing? Because I don’t really get the appeal. I mean, I do on some level, but I don’t really understand why so many people are absolutely obsessed with TS.
Inertia is the tendency of objects in motion to stay in motion, and objects at rest to stay at rest, unless a force causes its speed or direction to change.
from Wikipedia
So they’re kind of just saying that once it picks up enough rotational speed.
I’m not super familiar with VLC but I asked a chatbot, does this help at all?
1. Open your video with VLC.
2. Navigate to the scene that you want to capture. You can use VLC’s frame-by-frame feature to access a specific frame in your video.
3. Capture the screenshot by pressing Shift+S (Windows and Linux) or Command+Alt+S (Mac).
4. Alternatively, from VLC’s menu bar, select Video > Take Snapshot.
If you’d like to use advanced controls to capture the screenshot, then from VLC’s menu bar, select View > Advanced Controls to enable those controls. Then, in VLC’s bottom-left corner, click the camera icon to take a snapshot1.
Your screenshot is now captured and saved in a folder on your computer. The default location for the screenshots is as follows:
1. Windows: C:\\Users\\username\\Pictures
2. Mac: Desktop/
3. Linux: ~/Pictures
If you’d like to change where VLC stores your screenshots, or you’d like to change the file format, then select Tools > Preferences from VLC’s menu bar. On the “Simple Preferences” window that opens, select the “Video” tab. To change the default screenshot directory, then in the “Video Snapshots” section, click “Browse” next to “Directory.” Then, choose the new folder that you want to set as the default for your screenshots. If you’d like to use a different image format (the default is PNG) for your snapshots, then click the “Format” drop-down menu and choose a new format. Your options include PNG, JPG, and TIFF. After you’ve made the changes, at the bottom of the “Simple Preferences” window, click “Save” to save your changes.
You can count up to 1023 in base 2 using your fingers to represent 0s and 1s.
You can download specific DLCs but I’m not entirely sure they’ll be useable. It’s worth a try. Here’s how you do it:
So for example, the Pearl Jam Song Pack could be downloaded using
download_depot 205190 222139
Rocksmith’s DLC SteamDB page: https://steamdb.info/app/205190/dlc/
If this DLC has been disabled as you said, this might not work, or you might need to make sure that Steam doesn’t try to update the game (which would disable the DLC again). You can do that by browsing to ~/.steam/steam/steamapps/ (assuming you’re on Linux, or just wherever your “steamapps” folder is on your PC) and find the file called
appmanifest_205190.acf
and set it to read only. That should prevent Steam from modifying any changes you’ve made to the game. Just remember to set it back to writable if you want to update the game again.The game might not recognize the DLC as I said, but you should be able to access the files anyway if that’s all you wanted. They’ll be in
../steamapps/downloading
at least until the download is complete, then it should try to apply the DLC to the game, which might cause the files to get deleted. I’m not entirely sure about that.