linux

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

PseudoSpock, in S3 Sleep on AMD always freezing the Desktop
@PseudoSpock@lemmy.dbzer0.com avatar

Microsoft has pushed OEM’s to stop supporting S3 in bios, instead wanting hybrid sleep. Microsoft wants this because hybrid sleep allows waking for sending telemetry to Microsoft all the dang time, like cell phones do. I curse the day they did this.

Pantherina,

Wtf this really sucks.

a_fancy_kiwi, (edited ) in Using Linux for the first time

Since it’s your first time, my first suggestion is to try Xubuntu (Ubuntu with XFCE desktop) or Kubuntu (Ubuntu with KDE desktop and generally more popular than Xubuntu). Both distributions are lighter on resources and they have an Ubuntu base which means there’s a ton of documentation online so if you run into problems, you will have plenty of resources.

Alpine is small for sure but it is more niche and it doesn’t use systemd which most major distributions use which means if you happen to run into weird issues, your pool of resources will be smaller. Don’t get me wrong, Alpine is great but I wouldn’t recommend it for new users. I don’t know anything about Puppy Linux; maybe it’s fine?

If your machine can’t run Xubuntu or Kubuntu, then worry about trying more niche distros like Alpine or Puppy.

If you run into issues, feel free to ask questions. The community is generally nice but you’ll want to try fixing it yourself first and then including what you tried in your post to get a better reception.

Embrace the terminal. It’s daunting at first but it’s such a powerful tool. Don’t use sudo with every command. Don’t paste random command in the terminal without doing a little research to understand what they do. Again, ask if you need help, you won’t learn everything overnight.

Good luck!

Edit: Linux Mint is also probably a good choice. Never used it myself but I’ve heard good things.

thisNotMyName,

I struggled with Kubuntu as newbie (coming from Windows) - Mint was easier for me and I sticked with it (Cinnamon in my case, but my laptop is more powerful)

a_fancy_kiwi,

I appreciate what KDE is doing with their DE, I’m glad it exists but it’s not for me either. I only suggest it because it’s surprisingly light on resources for the amount of customization options you get.

stepanzak, in KDE Plasma - Is it possible to show the user running a GUI in its window title ?

I have no idea, but couldn’t this be an XY problem or how it’s called? I mean, do you really need to use apps as different users? Maybe you do, I don’t know, but sometimes it’s good to think about whether the problem you are trying to solve isn’t just a result of another peoblem.

interceder270, (edited ) in The cost of maintaining Xorg

I guess Wayland isn’t as feature-rich as X because people from RHEL don’t want to put in the work to maintain it.

Not surprising, really. It just follows the modern trend of removing features so incompetent programmers have an easier job.

danielfgom,
@danielfgom@lemmy.world avatar

You are the boss! 💪

neshura, in KDE Plasma - Is it possible to show the user running a GUI in its window title ?
@neshura@bookwormstory.social avatar

Not sure if possible but have you checked whether the running user is an application property? If so you could maybe manage it via application or window rules.

Can’t check rn because I’m away from my PC but it’s worth a shot checking imo.

bizdelnick, in Checking dependencies for manual build and install of software

First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing install.sh script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.

Then, answering your question: to build against libraries you need to install corresponding -devel packages. In Fedora their names can differ from the library name (e. g. not libglvnd-devel, but glvnd-devel, you need to search them yourself). For wayland-scanner you need wayland-devel as you can find here or with command dnf provides ‘*/wayland-scanner’.

meekah,
@meekah@lemmy.world avatar

As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.

Thanks for the tips regarding manual installation! I did not know about -devel packages or about the dnf provides command. They will probably prove to be very useful!

lemmyvore, (edited )

If you’re going to install from source at least change the compile config options so the prefix defaults to /opt/program-name.

You can further integrate with the system by adding the /opt/program/bin/ and sbin/ dirs to the PATH variable, and add lib/ to /etc/ld.so.conf but it should not be needed normally — only if other programs need to compile against this one.

You can also simplify integration by making common dirs for example /opt/.bin and /opt/.lib, adding only those to PATH and ld, and symlinking binaries and libraries from all /opt programs to them.

meekah,
@meekah@lemmy.world avatar

those are nice tips, thank you!

MigratingtoLemmy, in Automatic backups of inode tables and partition info for easier data recovery

Fantastic. I’m following!

luthis, (edited ) in Automatic backups of inode tables and partition info for easier data recovery

The script takes the drives as arguments:


<span style="color:#323232;">$ pwd
</span><span style="color:#323232;">/usr/lib/systemd/system
</span><span style="color:#323232;">$ cat drive_backup.service 
</span><span style="color:#323232;">[Unit]
</span><span style="color:#323232;">Description=backup fdisk + e2image
</span><span style="color:#323232;">Wants=drive_backup.timer
</span><span style="color:#323232;">
</span><span style="color:#323232;">[Service]
</span><span style="color:#323232;">Type=oneshot
</span><span style="color:#323232;">ExecStart=/usr/bin/backup_meta_data.sh /dev/sdc1 /dev/sdb1
</span><span style="color:#323232;">
</span><span style="color:#323232;">[Install]
</span><span style="color:#323232;">WantedBy=multi-user.target
</span>

Set to run at 3:40am every day, but probably could be once weekly really.


<span style="color:#323232;">$ cat drive_backup.timer 
</span><span style="color:#323232;">[Unit]
</span><span style="color:#323232;">Description=timer to run drive backup
</span><span style="color:#323232;">Requires=drive_backup.service
</span><span style="color:#323232;">
</span><span style="color:#323232;">[Timer]
</span><span style="color:#323232;">Unit=drive_backup.service
</span><span style="color:#323232;">OnCalendar=*-*-* 03:40:00
</span><span style="color:#323232;">
</span><span style="color:#323232;">[Install]
</span><span style="color:#323232;">WantedBy=timers.target
</span>

Should be fairly self-explanatory.


<span style="color:#323232;">$ cat /usr/bin/backup_meta_data.sh
</span><span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;">working_dir=/home/st/drive_recovery/working
</span><span style="color:#323232;">backup_dir=/home/st/drive_recovery
</span><span style="color:#323232;">backup_date=$(date +%Y%m%d-%H%M)
</span><span style="color:#323232;">
</span><span style="color:#323232;">mkdir -p $working_dir
</span><span style="color:#323232;">
</span><span style="color:#323232;">sudo fdisk -x > $working_dir/$backup_date.fdisk
</span><span style="color:#323232;">
</span><span style="color:#323232;">for var in "$@"
</span><span style="color:#323232;">do
</span><span style="color:#323232;">	clean=$(echo $var | sed 's;/;-;g')
</span><span style="color:#323232;">	sudo e2image $var $working_dir/$backup_date.$clean
</span><span style="color:#323232;">done
</span><span style="color:#323232;">
</span><span style="color:#323232;">sudo 7z a $backup_dir/$backup_date.archive $working_dir/"$backup_date"*
</span><span style="color:#323232;">sudo rm $working_dir/"$backup_date"*
</span>
CrabAndBroom, in What dock do you use in Wayland?

I haven’t found anything I like as much as Latte Dock yet, but it refuses to work on my system these days and it doesn’t seem like anyone wants to fork it and fix it up so I’m just back to the built-in KDE docks & panels these days TBH.

downhomechunk, in Ipod problems
@downhomechunk@midwest.social avatar

Just curious why the ipod? Is it for retro chic? Are you trying to load songs you purchased or “backups”? I play my backups with vlc on my phone to save data.

Ipods have a proprietary handshake that must happen between the device and the computer trying to manage it. The open source community was able to reverse engineer it on the older models but not the later ones.

Zealousideal_Fox900,

Nostlagia. I also just wanna see it run again.

downhomechunk,
@downhomechunk@midwest.social avatar

I totally get that! Everyone here is suggesting complicated virtualization options. Maybe they know something I don’t. But if it were me, I’d try setting up plain old WINE and seeing if I can install an old version of iTunes from here:

www.oldversion.com/windows/itunes/

You could pick an xp era iTunes and set wine compatibility to xp, or 7 or whatever was contemporary for the ipod generation you have.

Unrelated: my phone insists on autocorrecting ipod to iPad. I feel old now.

dr_jekell,
@dr_jekell@lemmy.world avatar

Using a VM is being suggested as it is:

  • Relatively easy to set up.
  • Gives the user a full Windows OS which simplifies software installation.
  • Allows for snapshot backups to be taken of the install meaning if something breaks you just roll back to a previous snapshot.
  • The VM can have the internet disabled meaning no auto updates to the software or OS.
  • Easy to remove the VM and virtualization software at a later date if required.
  • The VM (or another) can be used to run other Windows only software.
downhomechunk,
@downhomechunk@midwest.social avatar

I’m not dissing the VM approach. I’m just saying I’d try WINE first. I already have it i stalled for steam.

pastermil, in 13" or smaller Linux laptop - best replacement for aging chromebook?

How about a Thinkpad X230?

bobslaede,

Recently got a used X270 for my kid, for school. It came with windows 11, but I put Ubuntu Budgie on it.
It cost me about 220 USD in my currency. Very nice computer.

pastermil,

I’d usually opt for the 30 series due to being able to unlock the BIOS with coreboot, but the 80 series and all that came before should be good.

dario, in FOUND file in device by hex content using wxHexEditor

Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version.

luthis,

Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor

dario, (edited )

<span style="color:#323232;">Language=English
</span><span style="color:#323232;">UpdateCheck=1
</span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09
</span><span style="color:#323232;">ColourHexForeground=#DEDDDA
</span><span style="color:#323232;">ColourHexBackground=#000000
</span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846
</span><span style="color:#323232;">ColourHexSelectionForeground=#000000
</span><span style="color:#323232;">ColourHexSelectionBackground=#613583
</span><span style="color:#323232;">UseCustomHexFormat=0
</span><span style="color:#323232;">CustomHexFormat=xx 
</span><span style="color:#323232;">UseBytesPerLineLimit=1
</span><span style="color:#323232;">BytesPerLineLimit=16
</span><span style="color:#323232;">CharacterEncodingFamily=DOS
</span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US
</span><span style="color:#323232;">FontSize=10
</span><span style="color:#323232;">AutoShowTagPanel=1
</span><span style="color:#323232;">ScreenX=26
</span><span style="color:#323232;">ScreenY=23
</span><span style="color:#323232;">ScreenW=618
</span><span style="color:#323232;">ScreenH=716
</span><span style="color:#323232;">ScreenFullScreen=0
</span><span style="color:#323232;">FakeBlockLines=0
</span><span style="color:#323232;">FakeBlockSize=8k
</span><span style="color:#323232;">SingleInstance=0
</span><span style="color:#323232;">ZebraStriping=1
</span><span style="color:#323232;">SelectedChecksumFunctions=32648
</span><span style="color:#323232;">CompareOptions=0
</span><span style="color:#323232;">CompareOptionStopAfter=0
</span><span style="color:#323232;">CompareOptionMergeSection=0
</span>
dewritoninja, in The Unity Desktop Environment an Underrated Masterpiece

Last time I used unity full time was 3 years ago on an old hp, couldn’t run gnome for some reason and I was very noo in Linux at the time so I installed Ubuntu 16 and upgraded it to 18. The aesthetic was very windows 7. It was alright but I prefer gnome

thekerker, in 13" or smaller Linux laptop - best replacement for aging chromebook?
@thekerker@lemmy.world avatar

Take a look at Minifree Ltd. For less than USD $500, you can get a decent ThinkPad with Libreboot and your choice of Linux distro (KDE Debian is installed by default).

LoveSausage, (edited ) in Why didn't anyone remind me the dual booting exists?
@LoveSausage@lemmygrad.ml avatar

I had an old windows AME install on a separate drive I forgot about. Updated grub in peppermint (Debian) voila all of the sudden my windows was added , no fuss at all. Simple nowadays

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