Even though comments are very helpful, often it’s even enough to name variables and methods/functions really good. At least do that. You don’t want i, j and value. Believe me. You want rowCount, colCount and deliveryOption instead. You just may not know it now, but you will, when it has to be changed in a few months.
Alt text: Michael Scott Handshake meme. Managers text: “My company Congratulating me on avoiding a phishing test email”. Michael Scott text: “Me, terminally behind on answering email.”
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.
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...
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.
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.
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!!
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.
Is conky still a thing? I used it for that when I used an exclusively passive cooled PC a few years ago. You were able to easily create bar graphs in a config file and even include output of commands.
I know that Thunder can filter the posts but only limited. It only hides the currently loaded ones and only on button press. You need to do it over and over. Is there an app that does it automatically?
I’m pretty sure it’s because less people use it. They make fun of Gentoo taking longer to compile stuff on install/update, but that’s pretty fast nowadays. What really takes up time is making all the choices. I remember hours of selecting obscure kernel options and choosing use flags “what is ncurses? Do i need ncurses? What is sdl? Do i need sdl? …” I mostly use Ubuntu now, because I got no more time for that.
I recently worked on a system that had the TERM variable botched and filtered and no nano, just vim. It was all hell. The escape sequences in vim wouldn’t work. I ended up suspendig it with ctrl+z, killing it, then editing the config with fucking ed and sed. That hoster sucks.
Heya folks, some people online told me I was doing partitions wrong, but I’ve been doing it this way for years. Since I’ve been doing it for years, I could be doing it in an outdated way, so I thought I should ask....
Except for EFI/swap, partitions nowadays only make sense if you want to force a hard cap on a directory, e.g. /tmp, /var/mail or /var/spool to make sure one function of a system doesn’t break the others when it goes out of hand, but there’s also quotas for that. It always sucks if you have to resize, so it’s probably best to have as few as possible.
ifn't (programming.dev)
I use a WM btw (lemmy.world)
When you forget to set a boundary conditions in your logic (programming.dev)
915 days a year 😂...
Revisiting code I wrote last year (lemmy.world)
New email from test@scam.com (lemmy.blahaj.zone)
Alt text: Michael Scott Handshake meme. Managers text: “My company Congratulating me on avoiding a phishing test email”. Michael Scott text: “Me, terminally behind on answering email.”
deleted_by_author
How can I migrate my existing /home/ directory to another drive?
This was I can wipe the drive it’s on and install a new OS without losing anything in /home/
"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...
Firefox 121 Now Available With Wayland Enabled By Default (www.phoronix.com)
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!!
Manjaro OS
So I’ve been iso live testing Manjaro KDE Plasma lately and it looks very polished....
Q-TIP: CONFIDENCE (lemmy.world)
deleted_by_author
Best CPU and GPU monitoring app
Hey, whats the best CPU and GPU monitoring app for linux. For temperature, cpu and gpu utilization.
lemmy app that hides posts I've read/ voted on?
I know that Thunder can filter the posts but only limited. It only hides the currently loaded ones and only on button press. You need to do it over and over. Is there an app that does it automatically?
Please wear a mask (lemmy.world)
Just install EndeavorOS lol (feddit.de)
stolen from linux memes at Deltachat
Work, work (lemmy.world)
deleted_by_author
Text editor war (lemmy.ml)
Low quality meme
Data: It is... it is groovy. (startrek.website)
They're not even hiding it (lemmy.zip)
Also, fuck Clarence Thomas
One single partition for Linux versus using a partition table?
Heya folks, some people online told me I was doing partitions wrong, but I’ve been doing it this way for years. Since I’ve been doing it for years, I could be doing it in an outdated way, so I thought I should ask....
Germans (sh.itjust.works)
Image of a ‘Daily Mail’ news headline, which reads:...
reverse Indy (discuss.tchncs.de)