|
Horse Clocks posted:I decided to check out openSUSE Tumbleweed (again) yesterday. And I must say I'm somewhat impressed with LXQt, Snapper, 1-Click installs and whatever else I'm missing. Managed to solve my problem. Ended up adding the packman-essentials repo. Running `zypper dup` (This changed the provider of all the vlc,ffmpeg and gstreamer packages to packman), and then making sure `media.ffmpeg.enabled` was True in `about :config`.
|
# ? Dec 2, 2016 10:37 |
|
|
# ? Apr 20, 2024 01:23 |
|
Is there a way to do fractional desktop scaling on Gnome with Wayland? I have a 27" 4k monitor and with X11 I can use xrandr to render to a virtual 5k desktop and then downscale it by 0.75 for macOS-style scaling which gives me a working space equivalent to 2560x1440. With Gnome running Wayland only 1x or 2x integer scaling is possible which basically means I either get microscopic text or a 1080p-sized workspace on a 27" monitor.
|
# ? Dec 2, 2016 16:20 |
|
Any suggestions for a speedtest thingamabob I can host on a server of my own? Clients would include a few mobile devices as well. Doesn't need to be pretty but should be easy for end users. I see that speedtest.net has Speedtest Mini you can host on your own site...anything else I should look at?
|
# ? Dec 2, 2016 21:37 |
|
Thermopyle posted:Any suggestions for a speedtest thingamabob I can host on a server of my own? Clients would include a few mobile devices as well. Doesn't need to be pretty but should be easy for end users. Ftp server?
|
# ? Dec 2, 2016 22:22 |
|
Thermopyle posted:Any suggestions for a speedtest thingamabob I can host on a server of my own? Clients would include a few mobile devices as well. Doesn't need to be pretty but should be easy for end users. I would say an iperf3 server. Some clients exist for both Android and iOS as well as Windows. I've never used the windows client but there's probably a way you could write a batch script it to make it easy to run. Apparently someone wants 5 bux for the iOS client though e; Ehh, actually you probably don't want to have to install anything to do the test. the speed test mini website thing might be your best bet. Methanar fucked around with this message at 22:28 on Dec 2, 2016 |
# ? Dec 2, 2016 22:24 |
|
Boris Galerkin posted:In Vim I have the habit of accidentally hitting shift when I want to use a command like 'tabedit' (ie I'll accidentally type Tabedit about half the time). Is there a way I can just force vim to recognize Tabedit = tabedit and vice versa? in vimrc code:
Achmed Jones fucked around with this message at 14:45 on Dec 3, 2016 |
# ? Dec 3, 2016 14:30 |
|
Today I hooked my headless server up to the TV to have a poke around in BIOS. It's running Ubuntu. I also booted the machine and had a 5 minute play with a wireless keyboard and mouse plugged in. I usually access it with ssh. I powered it down and put it back where it usually lives, then noticed that root had sent an email via postfix which was headed "*** SECURITY information for <hostname> ***" which detailed a command I ran whilst playing earlier. I realised that it was a result of me typing the sudo password in wrongly when sat in front of the tty terminal and I quite like the idea of receiving an email every time someone gets sudo password wrong. The problem is, I can't replicate the alert over ssh. Presumably Ubuntu handles tty auth problems with greater severity than someone dicking about in a pty (over ssh). Any ideas how I can get the alerts for ssh login (and then in the near future grow tired of the emails and end up turning it back off again)?
|
# ? Dec 3, 2016 19:06 |
|
evol262 posted:Hence usability. That's my use case for Alpine. I run stuff in containers that don't need any additional stuff.
|
# ? Dec 4, 2016 08:30 |
|
apropos man posted:Today I hooked my headless server up to the TV to have a poke around in BIOS. It's running Ubuntu. By default, sudo sends an email alert when you type the password wrong 3 times consecutively using sudo. This can be adjusted by using "Defaults" statements in the sudoers file. On the other hand, sshd logs authentication failures in /var/log/auth.log. There is also the btmp file, viewable using the "lastb" command. (If your sshd port is Internet-accessible, you really don't want to be spammed with 100 mail notifications each time some automated port-scanning worm on some other system finds it and probes it for common username/password combinations.) Having the authentication failure notice sent as email in real-time would require that the PAM module responsible for password authentication (usually pam_unix.so) had the functionality to at least run a command when an authentication failure is detected. Currently, there does not seem to be such functionality. On the other hand, there are lots of tools that can watch the system logs for you and run commands when some condition is satisfied. And it isn't too difficult to make one yourself with a bit of scripting. Here's one example that only needs a bit of filtering added to only pass sshd authentication failures: http://www.johnandcailin.com/blog/john/how-setup-real-time-email-notification-critical-syslog-events
|
# ? Dec 4, 2016 11:10 |
|
Cheers. Thanks to your post I tried getting the password wrong more than once and if I input 3 incorrect passwords when running sudo I get the email, even from an ssh connection. The pam module being allowed to run a mail command is probably enabled because I installed postfix and enabled sending emails through a Gmail account. It's not directly accessible to the Internet via port scanning, just via a second node.
|
# ? Dec 5, 2016 06:35 |
|
I have a 2TB drive. It is formatted like so:code:
code:
1) Format the 680+ GB free space as btrfs, add the empty filesystem to the btrfs filesystem like you would another disk using btrfs-progs. From google, I've read that prior to kernel 3.0, there was an problem where the available/reported disk space did not match the actual available disk space from adding the new drive/partition to a pool. I'm stuck on a 3.19 kernel, not sure if this is still an issue. 2) Open up gparted and let it do its magic to expand the last partition to include the free space preceding it. I worry that I'll have to wait out an operation moves 900+ GB of data and wears my disk drive for no reason. If this somehow will just copy the btrfs metadata to the beginning of the partition, cool, but I doubt it will. 3) Find out what happens when I try to run 'sudo btrfs filesystem resize max' though I assume that will only work if the freespace is after the source btrfs filesystem and the partition is expanded to include the free space. I hesitate because I've lost data messing around with btrfs years ago and because this disk holds data that might not have a backup. Any tips?
|
# ? Dec 5, 2016 15:22 |
|
I know there's no real definite answer but how do you guys treat FHS when it comes to database content? I'm guessing /srv is probably the best, right? I'm trying to train myself to keep things organized and trying to follow FHS. I've been throwing my database stuff in /opt/<dbname>/content/ but since I had to rebuild my lab I've been shoving it in /srv/database/<dbname> . No issue, just wondered how other people handle locating their data and whether anyone else is trying to follow FHS.
|
# ? Dec 6, 2016 14:05 |
|
Martytoof posted:I know there's no real definite answer but how do you guys treat FHS when it comes to database content? Don't put it under /tmp is the answer I guess
|
# ? Dec 6, 2016 18:06 |
|
I tend to leave stuff under the path the software defaults to because I don't give a poo poo where stuff lives. If that partition isn't big enough for whatever reason, I'll put a mountpoint there.
|
# ? Dec 6, 2016 18:09 |
|
Yeah, admittedly it's more just me trying to get into some kind of standard than it is me trying to solve a deficiency in leaving things where they belong. I guess since I've been rebuilding my lab I've tried to be more consistent about where I can find things on each of my servers.
|
# ? Dec 6, 2016 22:38 |
|
I want to know if there is a linux text editor that implements a specific feature in the way that notepad++ does on windows. In notepad++ I can have multiple tabs open and take quick notes that it automatically caches without the need for me to save to a file at all. Closing the program without saving does not give a warning that I will lose all my data, it just closes, and then brings the same data back up when the program is loaded again. Also this is different than a simple autosave, because I can have unsaved changes that I'm working on in a file, they remain unsaved, (opening the file in another program will not show my changes), instead notepad++ keeps its own copy of the WIP changes. Its like a neat sort of staging/commit thing built in that I find incredibly convenient. Also its backup interval is on the order of seconds(default 7s) rather than minutes like many other programs. So is there something for linux that I can use in the same way? I'm looking for something with a GUI interface similar to gedit ( don't say emacs or vim; do not want) peepsalot fucked around with this message at 01:29 on Dec 7, 2016 |
# ? Dec 7, 2016 01:25 |
|
peepsalot posted:I want to know if there is a linux program that implements a specific feature in the way that notepad++ does on windows. Sublime text does this and I really like it.
|
# ? Dec 7, 2016 01:29 |
|
I believe Atom does too.
|
# ? Dec 7, 2016 01:30 |
|
Methanar posted:Sublime text does this and I really like it.
|
# ? Dec 7, 2016 01:41 |
|
Is there any reason I shouldn't be using Continuous Release packages for CentOS 7?
|
# ? Dec 7, 2016 02:53 |
|
So my Arch installation is up and running, I fixed all the weird laptop driver issues, got KDE set up, and everything's fine and dandy; I'm actually using it more than Windows on the same machine. However, sometimes I've noticed that when I'm using Windows and restart to go into Arch, it just launches into a black screen and I have to force shutdown. Has this happened with anybody else dual booting?
|
# ? Dec 8, 2016 00:02 |
|
Hey! I just installed Ubuntu and I'm trying to get some of my old Windows software to work, like Adobe Photoshop, using wine. The problem is that every version of Photoshop I try to install seems to crash. I've tried CS6 and an old cd of Photoshop Elements, but no such luck! It always crashes as soon as the installer starts up. Another problem I've been having is getting the system to recognize my Wacom Intuos Draw CTL490DW Digital Drawing and Graphics Tablet. I'm led to believe that all the drivers should already be installed, and I can move the pen and such, but it doesn't seem to have any pressure sensitivity. DrSunshine fucked around with this message at 00:13 on Dec 8, 2016 |
# ? Dec 8, 2016 00:07 |
|
DrSunshine posted:Hey! I just installed Ubuntu and I'm trying to get some of my old Windows software to work, like Adobe Photoshop, using wine. The problem is that every version of Photoshop I try to install seems to crash. I've tried CS6 and an old cd of Photoshop Elements, but no such luck! It always crashes as soon as the installer starts up.
|
# ? Dec 8, 2016 00:42 |
|
everythingWasBees posted:So my Arch installation is up and running, I fixed all the weird laptop driver issues, got KDE set up, and everything's fine and dandy; I'm actually using it more than Windows on the same machine. However, sometimes I've noticed that when I'm using Windows and restart to go into Arch, it just launches into a black screen and I have to force shutdown. Has this happened with anybody else dual booting? Are you dual booting off the same hard drive? Windows has a habit of not 'releasing' a drive unless you do a cold boot, so likely arch is trying to mount the drive and windows won't let it. I'd recommend you just getting a 2nd drive for each OS, it saves a lot of aggro.
|
# ? Dec 8, 2016 01:13 |
|
everythingWasBees posted:So my Arch installation is up and running, I fixed all the weird laptop driver issues, got KDE set up, and everything's fine and dandy; I'm actually using it more than Windows on the same machine. However, sometimes I've noticed that when I'm using Windows and restart to go into Arch, it just launches into a black screen and I have to force shutdown. Has this happened with anybody else dual booting? Do you have 'quiet' as a kernel parameter? I recommend removing that and seeing what pops up on boot. I had a similar issue with dual-booting Windows, and the most likely culprit was a combination of either one or both of: 1) Windows Fast Startup 2) Dirty unmount of NTFS drive(s) Every time Windows updated itself, it would turn Fast Startup back on. It's the reason why I no longer dual-boot Windows, and just straight up use Linux for everything now. EDIT: Mega Comrade posted:Are you dual booting off the same hard drive? Windows has a habit of not 'releasing' a drive unless you do a cold boot, so likely arch is trying to mount the drive and windows won't let it. Even with a drive per OS, this still occurred to me. Windows is notoriously unreliable anyway.
|
# ? Dec 8, 2016 02:41 |
|
Windows was notoriously unreliable.
|
# ? Dec 8, 2016 05:38 |
|
evol262 posted:Windows was notoriously unreliable. That's your opinion and you're entitled to it, and me mine. Doesn't change the fact that Windows is still a piece of poo poo.
|
# ? Dec 8, 2016 06:05 |
|
In addition to disabling Windows fast startup, I'd also disable hibernation. When you use the Ubuntu installer and if you've got Windows with hibernation on another partition Ubuntu will tell you that a certain partition is currently in use/locked by another OS and ask if you want to force unlock it. Easier just to disable Windows hibernation. I don't really like OS hibernation. I've always preferred knowing that it's completely shut down.
|
# ? Dec 8, 2016 08:10 |
This is probably a stupid question, but for whatever reason I'm having trouble finding the answer: how do I change the default tab width in the terminal? I'm using zsh as my shell and konsole as my terminal emulator--I'm not sure which one controls the tab width. Googling "zsh tab width" turns up a bunch of info about zsh tab completion, and googling "konsole tab width" turns up a bunch of information about using multiple tabs in konsole.
|
|
# ? Dec 8, 2016 08:38 |
|
A few days ago, my recently constructed desktop running Arch (personal taste, I'm not recommending it to pretty much anyone else I know) had a problem where after a kernel update and then doing an orderly reboot the UEFI system partition corrupted itself, rendering the system unbootable. had to fix it with an install CD and fsck-ing the partition and reinstalling a package (Intel microcode) that provided a corrupted file on that drive. Any idea what might have caused that? I'm using systemd-boot for a bootloader, so my kernel image and initramfs live on the EFI partition. Having a FAT32 partition necessary for boot on UEFI makes me irrationally nervous (and I recognize I'm mostly being stupid) since it has basically nothing in the means of protection against crashes and other stuff.
|
# ? Dec 8, 2016 11:01 |
|
Mega Comrade posted:Are you dual booting off the same hard drive? Windows has a habit of not 'releasing' a drive unless you do a cold boot, so likely arch is trying to mount the drive and windows won't let it. Do you know if splitting a SSD between Windows 10 and Ubuntu would make the same thing happen? That is, if I don't do a cold boot to go back to Ubuntu after using Windows, might it stop Ubuntu from booting altogether? I'm about to change my computer's motherboard and CPU, so I'm gonna reinstall everything while I'm at it. I'm only going to use Windows to play some games that don't run on Linux, so I won't share any other hard drive between the two OSes or use hibernation. Getting a second SSD just for Windows isn't an option for me.
|
# ? Dec 8, 2016 12:03 |
|
gourdcaptain posted:A few days ago, my recently constructed desktop running Arch (personal taste, I'm not recommending it to pretty much anyone else I know) had a problem where after a kernel update and then doing an orderly reboot the UEFI system partition corrupted itself, rendering the system unbootable. had to fix it with an install CD and fsck-ing the partition and reinstalling a package (Intel microcode) that provided a corrupted file on that drive. Any idea what might have caused that? I'm using systemd-boot for a bootloader, so my kernel image and initramfs live on the EFI partition. Intel microcode updates can nowadays be prepended into the initramfs files in order to enable the new microcode as early in the boot process as possible. There's a specific kernel configuration option for that: CONFIG_MICROCODE_INTEL_EARLY. When this functionality is used, the initramfs file will be a concatenation of several .cpio archives, each of which may or may not be compressed individually. For example, with Debian 8 using the early microcode update feature, I could extract the initramfs like this: code:
If your kernel update did not include that configuration option and the microcode update package just assumed it did (or misdetected it because it looked at the wrong kernel), you might have got an initramfs file that was not suitable for booting with the kernel you wound up actually using. Linux's FAT32 routines are pretty well tested by now, so I don't know anything specific that might have caused that. I would be inclined to suspect that the FAT32 implementation in the UEFI firmware might even be somewhat less robust than the kernel one, and you might have hit some corner case the firmware could not handle.
|
# ? Dec 8, 2016 12:38 |
|
Kassad posted:Do you know if splitting a SSD between Windows 10 and Ubuntu would make the same thing happen? That is, if I don't do a cold boot to go back to Ubuntu after using Windows, might it stop Ubuntu from booting altogether? I'm about to change my computer's motherboard and CPU, so I'm gonna reinstall everything while I'm at it. I'm only going to use Windows to play some games that don't run on Linux, so I won't share any other hard drive between the two OSes or use hibernation. Getting a second SSD just for Windows isn't an option for me. Yeah same thing will likely happen. There are suggested ways to solve it such as turning off windows quick boot and the like but none if them worked for me personally.
|
# ? Dec 8, 2016 12:53 |
|
VikingofRock posted:This is probably a stupid question, but for whatever reason I'm having trouble finding the answer: how do I change the default tab width in the terminal? I'm using zsh as my shell and konsole as my terminal emulator--I'm not sure which one controls the tab width. Googling "zsh tab width" turns up a bunch of info about zsh tab completion, and googling "konsole tab width" turns up a bunch of information about using multiple tabs in konsole. Check if you have a "tabs" command. On my ubuntu machine i can do 'tabs -N' to set tab stops to every N characters. if it exists, man tabs was fairly readable.
|
# ? Dec 8, 2016 13:31 |
|
Mega Comrade posted:Yeah same thing will likely happen. There are suggested ways to solve it such as turning off windows quick boot and the like but none if them worked for me personally. You might want to add a "nofail" mount option in /etc/fstab for any NTFS filesystems. With that option, if Windows has been hibernated or prepared for fast startup or whatever, the system will just skip the NTFS filesystem(s) instead of stopping the boot process if it finds a NTFS filesystem it should mount but cannot. I've been using a SSD split between Linux and Windows (first 7 and now 10) for years like this with no trouble.
|
# ? Dec 8, 2016 14:01 |
|
Mega Comrade posted:Yeah same thing will likely happen. There are suggested ways to solve it such as turning off windows quick boot and the like but none if them worked for me personally. Figures, thanks. telcoM posted:You might want to add a "nofail" mount option in /etc/fstab for any NTFS filesystems. I'm leaning towards setting the Windows partition not to mount at all (won't be anything on it I'd want to access while in Ubuntu, anyway) but it probably wouldn't hurt to add this option as well.
|
# ? Dec 8, 2016 14:57 |
|
telcoM posted:Intel microcode updates can nowadays be prepended into the initramfs files in order to enable the new microcode as early in the boot process as possible. There's a specific kernel configuration option for that: CONFIG_MICROCODE_INTEL_EARLY. When this functionality is used, the initramfs file will be a concatenation of several .cpio archives, each of which may or may not be compressed individually. For example, with Debian 8 using the early microcode update feature, I could extract the initramfs like this: It was an error that it couldn't find the files and fsck did find massive errors, so who knows. The intel-ucode file is a separate initramfs on Arch you have loaded before the regular one (been doing that for years) and it's working with early updates in the stock kernel after I fixed the partition. Probably never going to get an answer on this one beyond "freak occurrence". (Might also have to do with being on an NVMe drive, either the BIOS or Linux might be a bit flakier with that.)
|
# ? Dec 8, 2016 18:09 |
|
Odette posted:That's your opinion and you're entitled to it, and me mine. lol, am I on Slashdot in 2002
|
# ? Dec 8, 2016 18:13 |
|
Thermopyle posted:lol, am I on Slashdot in 2002 I didn't see anyone call it "Micro$haft windurrrs" here so I think you're giving /. too much credit. I'm running across ridiculous IO latency that I can't track down. 2+ second stalls on SSD. Very visible in things like tab completion - it just hangs for a while when it should be basically instant. BTRFS on 4.8.9. It's not consistent, even if I drop the caches and try to reproduce. I'd say "SSD is failing" but it SMARTs fine and random access benchmarks return the same performance it's always had. Are there any analyzers for blktrace so I can leave a log running and try to run through it after I see a stall? I'm looking for something causing an IO storm that would explain what I'm seeing. 840 EVO 250GB code:
|
# ? Dec 8, 2016 23:43 |
|
|
# ? Apr 20, 2024 01:23 |
|
Have you thought about sar or iotop?
|
# ? Dec 8, 2016 23:45 |