• 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: July 15th, 2023

help-circle
  • chown changes the file owner. chmod changes permissions. So, if a file or directory is owned by root but a user should have access, you could make them the owner or you could keep root the owner and just allow read/write access.

    They come up more on servers where you often have multiple users with different access levels. Some users might not have sudo permission but do have full control over their home directory and whatever else they need. And web servers, for instance, will usually have a user called www-data or similar and it’s shared by all the users in the “developer” group.


  • chmod is the command to change user permissions. The numbers mean user, group, and others and the value allows read, write, execute. So, 000 means no one has permissions to get rid of the mount point. 777 means everyone has all permissions. (4 is read, 2 is write, and 1 is execute and the numbers are added. So, 644 would mean you can read/write, the group and other users have read only access.)

    You don’t have to use the numbers but eventually, almost every Linux admin does because it’s faster, a bit like a keyboard shortcut. But, for instance, you can add Execute permission with chmod +x /some/file/location.

    Here’s more details on the how to chmod and the historic reasons for the 0-7 system (spoiler: it’s 8 bits): https://www.redhat.com/sysadmin/linux-file-permissions-explained



  • I don’t have Linux on a tablet right now but my first thought was that you might want to check into what Steam Deck users are doing with “Desktop Mode.” It has a touchscreen and virtual keyboard so it’s essentially a tablet-like experience (though it has touchpads and a few buttons, obviously, and isn’t a tablet). It runs KDE by default, which I’m not as familiar with as Gnome, but it might have more users than any other GNU/Linux touchscreen product.

    Last time I had a Linux tablet, there were also some Firefox/Chrome/Gnome extensions that made it more touch-friendly. Like instead of selecting text, one finger swipe scrolled, two-fingers zoomed in, etc. like a typical tablet. Not sure if that’s still an issue. But if you do run into an issue, it might already be solved by an extension.

    Hopefully, someone has more up-to-date advice. The tablet I had (and probably still have in a drawer somewhere) was an experimental Ubuntu Touch device and there’s been huge strides since then.


  • My only problem with both designs in your images is the colors. It’s a pretty standard part of UI design (in real life and on computers) that “red means cancel” and “green means continue.” Apple using blue is no big deal and I’m 90% sure they just use a user chosen “highlight color.” (Maybe Gnome as well?) But cancel or delete or similar things should probably be red or another color that signals “Stop.”

    I’ve always thought Bootstrap, the web design library, has a good set of base colors. Red means danger. Light blue means info. Green means yes or success. Yellow means warning. Other buttons are a darker blue — basically the highlight color. (Not saying they chose the best version of those colors. Just that the general idea is consistency and what users most naturally expect.)



  • Probably because Windows is best suited for games and cookie-cutter corporate applications while basically every supercomputer, cluster, etc. runs Linux. Professors aren’t usually running games or cookie-cutter business software so why not? If your one-off, experimental research code is going to ultimately be run on a more powerful system running Linux, why write it on Windows and waste time debugging once you try to run it for real?


  • Or maybe the two countries with a larger population than the United States have significantly lower per capita income and so fewer people own desktop/laptop computers. Most of the world probably has, at most, a smartphone.

    If anything, Brazil seems like the outlier on the that map. You’d expect the U.S. to have the most computers. But Brazil and China are roughly similar in terms of income.