Skip to content

u/Luptoom

In this archive from May 2020 to Aug 2025

2
posts
21
comments
1
media
231
score

Also have a win10 for gaming.

Recently the secondary hdd broke. I had installed some programs to it.

Now I can`t reinstall certain programs because the msi installer throws an error because the program still counts as installed. Trying to remove it results in the system trying to launch the uninstaller from the non existing hdd.

Btw the installer errors I first got are as bad as you'd expect from windows.

1 points

The hibernation thing is badly solved in most distros, as a fedora user I agree. But it can, depending on your laptop model work without hibernation. I had to dig really deep to find out how to configure it corectly for my machine.

As it turnes out my laptop supports deep-sleep, but fedora just used s3 sleep, which drained like 5% of battery every hour. Found out that you can enable deep-sleep but that requires you to update your grub config. Once configured its like 5% a day maybe, which is fine for me.

1 points

I had to use Powershell for work recently and it wasn't great.

There are great concepts there for sure, but it really lacks some functionalities which are common on UNIX systems.

Cmdlets are neat, but they are named in a verb-noun way, which results in long names to type like Get-Help which is painfull imo.

As I brought up get-help, you need to update it on first usage to get decent help pages... It errored on some of them when I ran the update on a fresh install of win10. It has no usable pager built in. Only ones who dont support scrolling back up and have no search, which makes reading help on the terminal a really bad experience. Oh and it won't display the desciption of command flags and options without specifing -detail or -full which makes you type even more.

Had to use some system internals which even on the command line hat windows typical bad error messages. Had one cmdlet which required a file path to be given which I had an error in, guess what, the error wasn't about the wrong file path.

1 points

As a developer I had problems with Ubuntu in the past.

Even tough everyone writes instructions for Ubuntu, I found that it does things in some ways which are really hard to work around if problems occur. One example is the policy to ship most of the stuff as snap package rather than a normal apt package.

I settled with Fedora because of the clean uncluttered feel and the good stability (sometimes stuff breaks on major updates, but its rare).

1 points

Solved it...

fyi: It actually was the btrfs partition which was causing the trouble here. I rememgered I had a Ubuntu on a usbdrive for incidents like these and dug around. After removing the entry from fstab the system boots fine again.

Maybe the drive got damaged while shifting the PC around. I will check it and probably have to buy a new one.

Interestingly one of the drives in my homeservers raid failed only a few days ago, only coincidence or causality?

Edit: The drive actually doesn't show up at all. But connectors seem fine and drive spins. Will investigate further tomorrow, need to get some sleep.

1 points

In addition to the others, resin is really messy if its not handled carefully. And thats definitively going to happen in a school enviroment.

Something like a Bambulab X1 or a Prusa are the type of printers you are looking for.

3 points

Jep, but you can get it to work in many cases.
And that's pretty awesome if you ask me, as most of the Games were never written to be run on Linux in the first place.

If more Games were Published with native Linux support, the situation might be different. Games with Linux support run pretty good as far as I experienced. Probably things will change for the good in the future, since GPU support got way better and NVIDIA and AMD actively supporting Linux.

The same goes for many other Applications where the Companies won't build Linux versions. (Mostly due to not wanting to build open source and not wanting the extra effort for a minority of users)

2 points

The modern desktop environments eat up a lot of ram, that's the main problem on such machines. When you are comfortable with that, I suggest using a lightweight window manager like sway. If using Ubuntu without the standard desktop environment is a good idea, I don't know, but it might be worth giving it a try ¯\_(ツ)_/¯

PS. Use a SSD on that laptop, it gives such slow machines a real boost compared to regular HDDs

5 points

If I understood your question right, yes that's possible when some criteria are met. Most important is that you are using the same CPU architecture on both machines, but I assume that's the case. Other than that as far as I know, there should be very little problems when switching the hardware.

1 points

First of all, most of your questions don't have a simple straight forward answer.

Things you want to do are absolutely possible, but there isn't a universal answer and most things depend on your usecase, personal preferences and knowledge.

Regarding hacking: There is a special Linux distribution, named Kali, which comes with almost any tool a hacker can imagine. But to really have success hacking you probably won't be off learning only hacking. There are plenty tutorials online which teach you standard techniques but you will need a in depth understanding of operating systems and software to do more than "script kiddy" things.

1 points

Adding up to the other tips, you may want to learn some general basics about computer internals.This knowlege helps me a lot to figure out what problems had to be solved to create a operating system. Otherwise I often found myself understanding what some software-component does but not why.

The knowledge required doesn't need to be really in depht, more like know the components and how the general communication between them works.

2 points

Experienced same on Fedora. Can't say anything Arch specific.

On Fedora they removed hibernation and you'd have to manually patch it in if wanted. Also suspend is only set to s2idle by default (rather then deep sleep) which consumes way to much energy when the laptop won't go to hibernate after some time. I really don't understand these decisions.

20 points

That's definitely a thing you want to do in bash, as simple that there isn't even need to write a script.

Also I would somehow test or verify if it works the expected way before fiddling with your system.

2 points

There should be a command to list all installed packages (something like apt list --installed). When you pipe that list in a file (maybe some formatting has to be done, the apt command may also have something for that), you can later reinstall all these with apt install < yourprogramms.txt .

Since I'm only working infrequently with Ubuntu, this method may not work exactly the way described above.

2 points

I have a similar problem on my Laptop with Fedora installed.

When pressing the "suspend" key on my keyboard I see the expected behavior (doing "suspend" as configured in logind.conf).But when closing the Lid, the screen only flickers but stays on and nothing happens.

I configured logind.conf to HandleLidSwitch=suspend and I also get a entry in my jounal when opening/closing the lid (e.g. systemd-logind[1084]: Lid closed.). But beside that I dont see anything in the logs.

I also fiddled with various settings in logind.conf and sleep.conf and also tried to exclude problems coming from gnome-shell e.g. , but nothing helped till now.

Edit:
Seems that this was caused from a script which gnome-tweaks had in its autostart for the lid options gnome-tweaks has, and that was falsely activated.

Furthermore the LidSwitchIgnoreInhibited=yes option in logind.conf didn't change anything regarding the gnome-tweaks inhibitor.

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.