lurch

@lurch@sh.itjust.works

he/him

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

lurch, (edited )

If you have a root account that allows logging in in text mode (no X no Wayland, no GUI), you would do that instead. These instructions are for that case. The home of root is /root , so it would not be affected.

Mount the new drive in an emty dir, if it isn’t already.

Make sure the other drives file system supports everything /home does.

Set the exact same permissions as /home/ in the new drives top level directory.

Add a line to fstab defining the other drive to be mounted automatically as /home .

Move the contents of /home over to the other drive.

Umount the other drive.

Enter just: mount /home

This should work without errors and if you peek inside, you should see user dirs and it should show up if you enter just: mount

No reboot necessary, you could just log out, switch to the GUI login and log in as regular user. After your next boot you will find out if you edited your fstab correctly to auto mount it. If not just log in as root in text mode again and fix it.

"Combokeys" instead of hotkeys. [Feature/new command suggestion]

Title. Basically, “if a street fighter gamer and a linux tryhard had a baby” where a combination of keys is issued to run a command/script rather than a single or a simultaneous stroke of two or more. i.e left, down, left, right arrow keys, R_CTRL to run Firefox. Right, right, Up, right arrow keys, delete to power off the...

lurch, (edited )

hyprland has this, but you have to configure it. It’s called Submaps. Some other tiling window managers/compositors (notion for example) have it too, but not to that extent. (notion can be enhanced by Lua scripting, tho.)

The idea is, after the first key of the sequence the meaning of a set of keys change. You could configure those to change the meanings again etc until you finally reach whatever depth you wanted and it performs an action.

However, be warned that hyprland is currently developed by very elitist people who like to support onky a very small set of distributions (primarily Arch btw) and have not much interest in other peoples Ubuntu shenanigens and the likes. It is extremely hard to install in Ubuntu and similar, requiring you to do minor edits to build scripts and source code in multiple languages and finding required library versions from build errors that do not mention them.

lurch, (edited )

For a user: In Wayland programs are supposed to draw their own title bar. Java aplications and old applications must use a backwards compatibility layer that can cause flicker and bad font rendering. The terminology is different (compositor = window manager). Some niche new programs may only run on Wayland. Wayland hasn’t been adopted by BSD (AFAIK).

For a programners: Wayland has more modern, tidy code, but not all toolkits support it natively and few are easy. If you code exclusively for Wayland, a lot of users won’t use your program at the moment.

lurch,

but he did

lurch,

He should have mentioned the other room looks like the “this is fine” meme. Rookie mistake smh

lurch, (edited )

In Linux terminals, you probably could have pressed Alt+F2 or Ctrl+Alt+F2 (F2 could be other F-keys) and log in on a second terminal to recover (by reading the manual or killing it). Also, if bash already had job control back then Ctrl+Z would have suspended vi/vim to the background.

I’m writing this, so people try it and maybe remember it, if they get stuck in some program. Doesn’t have to be vi. Maybe you just launched a long dd command and don’t want to end it, but want to look something up. These hints may help then.

lurch,

Lemmy really needs something like topics, categories or tags you can opt-in or -out of. There are just too many communities to subscribe one by one and if I browse everything theres so much super boring niche stuff, like some Go library releasing version 0.02-beta. I mean that’s nice for those 5 Go programmers waiting for that, i guess, but they are probably subscribed to it anyway.

lurch,

Probably some DRM shit. This basically reads like “don’t use the software specified here if you want to rip it, because we can only prevent it on these”

lurch,

I know a few people who would erase themselves like that without a second thought 🤣 😥

lurch,

Oof, better move to a country where it’s free (yeah, those exist)

lurch,

Ayy, it’s the old “you need money to save money” problem.

web/low memory alternatives to Krita and GIMP please

recently I bought a Chromebook, I love it so much, it has Linux container enabled and I downloaded Firefox, GIMP, and Krita, but my Chromebook is only 64GB, so that can be a lot!!! So what web apps or low storage alternatives can I use?? I know Photopea, but what about drawing? Thank you!!

lurch,

Idk what “container” means in this case, but gimp is only like 80 MB + some dependencies you probably already have installed. Do you mean RAM or HD memory? In any case it should be much less than 64 GB.

lurch,

There will always be some haters. Haters are emotionally motivated to engage while most other ppl dgaf. So it’s normal you’ll see a bit more of them.

lurch,

I’m actually doing this a lot at work. No negative consequences, so far. Even got good reviews and annual raises.

lurch,

I…couldn’t pass the captcha with multiple browser

Nice try bot 😜

lurch, (edited )

The best way used to be XPRA. You can also tunnel it thru SSH, but not necessary in a trusted LAN. XPRA is like a per application display proxy that keeps an app running even if the connection is interrupted and enables reconnects as well as transfers of Xclient windows to other Xservers, i.e. you can transfer the remote window from your notebook to your workstation Xserver whithout having to restart the app.

lurch,

I put a piece of garlic from the supermarket into the soil of a flower pot on my balcony to try and deter aphids. It grew 30cm long leafes and I think it will make it thru the winter. I hope it won’t use up all the good stuff in the soil and kill the actual flowers.

lurch,

As long as you do not use root privileges (indicated by sudo or that password promt pkexec) you cannot destroy the system in a way that can’t be fixed by deleting a few files in the users home directory.

Broke a partition. Is there any way of saving it?

While I was switching distros, I accidentally broke a partition. I’m almost certain that all the data is there, but it doesn’t have a filesystem (I used ext4). Is there anything I can do to fix it, similar to changing the file extension without changing the contents. PS: It’s a data partition. I was trying to resize it,...

lurch, (edited )

before you change anything it would be good to use dd and save the whole drive to a bigger drive or maybe compress it with gzip while using dd to save it to a slightly smaller one. That takes a very long time, but gives you the ability to start over with your recovery. Only do that if it’s worth to wait several hours.

photorec can also recover some files by looking at the raw data still there, if all else fails.

lurch,

I’m not familiar with your package manager, but some have logs detailing what exactly they did in chronological order.

lurch, (edited )

https://sh.itjust.works/pictrs/image/3cf2931f-1b37-466f-9397-2760b12f4983.png

dezgo.com/txt2img Prompt: janeway, 19th century communist propaganda poster, looking up, rolling up sleeve

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #