|
The Milkman posted:Is there any (simple) way to globally rebind things to the Mac way? Like, Super+C for copy, keeping Ctrl-C for the unixy stuff, etc? I was using Fedora for a little stretch and I had forgotten how awkward all that was (and how much Mac usage has warped my muscle memory) What desktop environment are you talking about? In KDE there definitely is. You can change any and every shortcut and define new ones that can either be a command, a D-BUS call or just a simply send-key to window.
|
# ? Apr 12, 2018 14:29 |
|
|
# ? Apr 30, 2024 10:33 |
|
Volguus posted:What desktop environment are you talking about? In KDE there definitely is. You can change any and every shortcut and define new ones that can either be a command, a D-BUS call or just a simply send-key to window. Yeah, KDE
|
# ? Apr 12, 2018 17:33 |
|
The Milkman posted:Yeah, KDE In system settings, you have the Shortcuts section where you can create, update and delete shortcuts to your heart's content.
|
# ? Apr 12, 2018 21:43 |
|
Don't see anything obvious here, either. I suspect we're not gonna find an answer on SA unless you want to give someone SSH access to the system, which I doubt
|
# ? Apr 13, 2018 14:20 |
|
MJP posted:
“Directory” needs a path following it. Without AllowOverride set on those directories Apache won’t look for a .htaccess file, which is mapping your requests to a dispatcher, usually index.php.
|
# ? Apr 13, 2018 16:01 |
|
I have a super dump question, I'm almost embarrassed to ask this, but I just can't figure it out. So I'm taking the RHCSA again (renewing it after three years) and I'm studying up. Part of what I like to study is to learn the man pages for all the commands I know I have to do, so I can remember where the different notes are for the tasks. One of them is messing with autofs. Now, when I do: man autofs I get this page: AUTOFS(8) System Manager's Manual However, I want AUTOFS(5) File Formats Manual I can get this by: man /usr/share/man/man5/autofs.5.gz But I'm wondering if there's a way to specific the different document in the command.
|
# ? Apr 14, 2018 02:42 |
|
Look up the -s option, the numbers are "sections" and -s lets you specify which section to search for the man page. Each section is a fairly specific category, like second 2 is system calls and section 3 is library functions.
|
# ? Apr 14, 2018 02:47 |
|
xzzy posted:Look up the -s option, the numbers are "sections" and -s lets you specify which section to search for the man page. Thanks! I see I can also do man -a and it gives me all the sections.
|
# ? Apr 14, 2018 02:59 |
|
xzzy posted:Look up the -s option, the numbers are "sections" and -s lets you specify which section to search for the man page. -s is for changing the section search order, but if you already know what section the page is in (as in this case) just doing man 5 autofs is sufficient. Also, man man.
|
# ? Apr 14, 2018 02:59 |
|
It'd be at least 20 years since I looked at the man page for man. I started using -s as a rookie and it worked so I never questioned what it was actually doing.
|
# ? Apr 14, 2018 04:28 |
|
Make sure you can dream autofs. I almost failed my rhcsa because I didn’t know it well enough.
|
# ? Apr 14, 2018 14:28 |
|
LochNessMonster posted:Make sure you can dream autofs. I almost failed my rhcsa because I didn’t know it well enough. Yeah, I took it three years ago (passed) and autofs was the one thing I think I didn't do right. I have to renew, unfortunately, I studied like crazy in December for a test in Jan, but they suddenly cancelled the test a week before, I guess lack of attendance. I have it now early may, so I have to get back into it. I'm not sure how much I can discuss the test, since they make you sign an NDA, however my company now has a Linux Academy sub, and it's really spot on with the test. EDIT: also for the past two years my company has been using RHEL7, which wasn't the case before so I have a lot more experience with it.
|
# ? Apr 14, 2018 17:45 |
|
I've never done the rhcsa, what's their deal with autofs? We use it at our place in limited cases, users hate it because their files aren't INSTANTLY AVAILABLE and we dislike it because managing the maps is zero fun. See way fewer problems adding entries to fstab with puppet, so I can't imagine a reason why redhat would test it so heavily.
|
# ? Apr 14, 2018 17:58 |
|
Honestly, I wouldn't be surprised to see it dropped with the certs for RHEL8. But the primary use (and what's tested) is transparent homedirs for LDAP users
|
# ? Apr 14, 2018 18:15 |
|
xzzy posted:I've never done the rhcsa, what's their deal with autofs? I dunno, I use RHEL7 for everything, but I've never once messed with Autofs besides the test. However, I have a system that users don't log into, so there's no ready for the homedirs to move around. I think there's also a case for it to be able to mount/umount directories with out root permissions, but I don't know too much about it.
|
# ? Apr 14, 2018 18:46 |
|
I took the RHCSA a couple months back and barely passed since I thought autofs and LDAP were in the RHCE portion of the book and didn't bother studying them at all. Very glad I was able to remember almost all the rest accurately. We use autofs at my job (networking vendor) pretty extensively, it seems like the main filesharing mechanism used by our development teams and a lot of the consulting engineers use it too as they get into more complex projects with teams spread across multiple sites. I'll confess that I haven't messed with any alternatives more advanced than "set up an NFS share/FTP server and tell everyone to mount it themselves" but it seems pretty trouble-free from a user perspective once you get used to the idea that your files aren't necessarily local and might take a moment to appear.
|
# ? Apr 14, 2018 18:57 |
|
Jerk McJerkface posted:I dunno, I use RHEL7 for everything, but I've never once messed with Autofs besides the test. Same. I didn’t quite get the hang of it in my labs, thought the ipa server was acting up. I decided to not pay too much attention to it after messing with it for 3 full days and not getting it too work. I would not advise anyone to do the same.
|
# ? Apr 14, 2018 18:58 |
|
The main justification for autofs in the bad old days is being able to bring up a system that uses nfs but doesn't need it to boot.. like home directories. There's also some logic that if an nfs server goes to poo poo it doesn't lock clients up because those clients will have unmounted unused mounts. You could also update mounts via nis to allow adding and removing nfs servers without having to update fstabs everywhere. In practice it's not that elegant. The on-demand mounting generally works, but some poorly written software will fail on an fopen because a file doesn't exist yet. Or users keep a mount mounted 100% of the time so if the server croaks, the client locks up anyways. The nis part is pretty handy though (but puppet has made it irrelevant).
|
# ? Apr 14, 2018 18:59 |
|
Yeah. I use autofs for just a single case at home: mounting a cifs share to my laptop when I enter/list that directory. It means that my cifs share is available round the house and my laptop doesn't stall during boot if it's not connected to home WiFi. It's easy enough to set up for my use case, but I can imagine in a production environment that it could be a pain. We admin RHEL6 boxes at work and are planning to go to 7 eventually but I don't think the boss is planning to use autofs in any capacity.
|
# ? Apr 15, 2018 20:55 |
|
poo poo, the 40 year old network i administered used autofs for homedirs. that poo poo either works flawlessly or is a nightmare of tracing nfs and ldap to figure out what failed. the nightmare part was added when someone tied it to ad Kerberos auth instead of basic ldap.
|
# ? Apr 15, 2018 21:41 |
|
RFC2324 posted:the nightmare part was added when someone tied it to ad Kerberos auth instead of basic ldap. I feel bad for the guy who had to roll out nfs4 with kerberos auth that would work on both linux and windows workstations. I think I watched his hair go grey overnight.
|
# ? Apr 15, 2018 22:01 |
|
xzzy posted:I feel bad for the guy who had to roll out nfs4 with kerberos auth that would work on both linux and windows workstations. it was the branch of the company in Germany. it always made sense to me.
|
# ? Apr 15, 2018 22:07 |
evol262 posted:Don't see anything obvious here, either. In the end we just blew away phpipam and redid it. The migration gave the same error the first time as the initial question, but I just re-tried the migration and it succeeded without issue. So we're good, but thank you so much for the help. I at least learned a lot while doing all this.
|
|
# ? Apr 16, 2018 20:30 |
|
What's the hive mind's consensus for baby's first Linux? Dual boot windows 7 on an ancient laptop only intermittently online if any of that makes a difference.
|
# ? Apr 16, 2018 22:48 |
|
I'm playing around with building dashboards on a Raspberry Pi. I'm using a stripped-down raspbian-lite install with LXDE manually installed. So far I've managed to get a Chromium window to automatically open on boot with no window decorations. I can use Kiosk mode if I go fullscreen (this hides the tabs and address bar like fullscreen mode) but I want to be able to set the window size and position (think "borderless window" mode like in lots of PC games) because then I can configure window placement via a single file. "App mode" doesn't do this. Apparently Chrome used to have a Compact Mode that did exactly this, but it was taken out many years ago. Is there a way to hide the tabs and address bar in Chromium without going fullscreen, or is there another browser I could try that supports this feature more easily?
|
# ? Apr 17, 2018 00:37 |
|
DizzyBum posted:I'm playing around with building dashboards on a Raspberry Pi. I'm using a stripped-down raspbian-lite install with LXDE manually installed. Just embed Chromium. A 10 line Electron app could do this
|
# ? Apr 17, 2018 01:27 |
|
evol262 posted:Just embed Chromium. A 10 line Electron app could do this I've never heard of Electron before this; looking into it now. Have any good resources?
|
# ? Apr 17, 2018 02:40 |
|
Electron is basically "make web applications appear to be desktop applications by embedding Chromium into its own window, and give Javascript some easy UX bindings for desktop applications". You can follow the official tutorial, or this, which is basically the code from it. Replace "mainWindow.loadURL(format..." with "mainWIndow.loadURL("http://...")" and you're 90% there. Then create a frameless window of the correct size. Spotify, Slack, and a number of other applications are Electron now to ease development of a unified web/mobile/desktop experience.
|
# ? Apr 17, 2018 10:38 |
|
I never thought i'd see it, but this is a perfect example where an Electron based application actually makes sense. The only worry i'd have about it would be if the memory on the poor Pi would be enough. One additional slight change on the tech stack I'd make would be openbox/fluxbox over lxde as they are slightly bit smaller.
|
# ? Apr 17, 2018 12:39 |
|
evol262 posted:Electron is basically "make web applications appear to be desktop applications by embedding Chromium into its own window, and give Javascript some easy UX bindings for desktop applications". Volguus posted:I never thought i'd see it, but this is a perfect example where an Electron based application actually makes sense. The only worry i'd have about it would be if the memory on the poor Pi would be enough. Yeah, this is exactly what I needed. I'm gonna play around with this and see what sticks. Thanks a lot!
|
# ? Apr 17, 2018 15:19 |
|
Vaginal Vagrant posted:What's the hive mind's consensus for baby's first Linux? Dual boot windows 7 on an ancient laptop only intermittently online if any of that makes a difference. Ubuntu
|
# ? Apr 17, 2018 17:38 |
|
Vaginal Vagrant posted:What's the hive mind's consensus for baby's first Linux? Dual boot windows 7 on an ancient laptop only intermittently online if any of that makes a difference. KUbuntu if you like something that works like the start menu in Windows. Linux Mint is also well liked.
|
# ? Apr 17, 2018 19:29 |
|
If you can wait a couple weeks, the latest Ubuntu 18.04 is due for release by the end of this month. So you can play with the latest and greatest versions of software. Linux Mint is nice and that is what I run, it is based on Ubuntu so not a ton difference aside from the default window manager. However keep in mind the latest Mint is still based on Ubuntu 16.04, so its about 2yrs behind at this point. I think Mint should release their next version a couple months after Ubuntu 18.04 comes out.
|
# ? Apr 17, 2018 19:51 |
|
Vaginal Vagrant posted:What's the hive mind's consensus for baby's first Linux? Dual boot windows 7 on an ancient laptop only intermittently online if any of that makes a difference. Fedora and don't worry about it. Really. There is nothing in Ubuntu that a newbie would ever want ( have old and unstable packages, the worst combination of them all).
|
# ? Apr 17, 2018 21:18 |
|
Volguus posted:Fedora and don't worry about it. Really. There is nothing in Ubuntu that a newbie would ever want ( have old and unstable packages, the worst combination of them all). Fedora is otherwise fine, but a slight annoyance is support for Nvidia drivers and things like MP4.
|
# ? Apr 17, 2018 22:31 |
|
If my wife came up to me and said she wanted Linux on her laptop, I'd use Ubuntu. Also I'd check to make sure she wasn't being mind-controlled.
|
# ? Apr 17, 2018 22:53 |
|
Saukkis posted:Fedora is otherwise fine, but a slight annoyance is support for Nvidia drivers and things like MP4. Depends on the gpu. I run my older card on the nouveau drivers and haven’t had any issues with Steam games etc. Otherwise just add the rpmfusion repo I think and add the proprietary drivers and media players / codecs you need.
|
# ? Apr 17, 2018 23:08 |
|
I'm having trouble mounting a NFS share inside a docker container. The container's on the same machine as the server, which is a Synology NAS. I know I can mount the shares directly, but the whole idea of the container is to test the configuration of an app which is configured to mount the shares over NFS. Anyways, when I run showmount (with any argument I've tried), I getcode:
|
# ? Apr 18, 2018 01:36 |
|
Vaginal Vagrant posted:What's the hive mind's consensus for baby's first Linux? Dual boot windows 7 on an ancient laptop only intermittently online if any of that makes a difference. gentoo. it will show you everything you need to know about becoming a linux user.
|
# ? Apr 18, 2018 01:40 |
|
|
# ? Apr 30, 2024 10:33 |
|
SurgicalOntologist posted:I'm having trouble mounting a NFS share inside a docker container. The container's on the same machine as the server, which is a Synology NAS. I know I can mount the shares directly, but the whole idea of the container is to test the configuration of an app which is configured to mount the shares over NFS. Anyways, when I run showmount (with any argument I've tried), I get Is the container trying to mount an IP address, or a FQDN
|
# ? Apr 18, 2018 02:59 |