Search results

  1. dos2unix

    This suits me to a tee

    The tee command is tool that reads from standard input and writes to both standard output and one or more files simultaneously. I find this handy when I'm outputting a file and the stdout at the same time. Consider the following command df -h | tee disk_usage.txt This outputs the results of...
  2. dos2unix

    Crontab and system sleep

    You can disable power-saver/sleep mode/hibernation all together. If you only have a command line installed, usually the system will never sleep. (Not always true) To check your system cat /sys/power/state systemctl status sleep.target systemctl status hibernate.target Ideally, these...
  3. dos2unix

    This is impossible. It makes no logical sense.

    I was looking into this, and you're right. But also, some newer drives have a "spare" space. It turns out this is used for bad sector mapping. You never see this "extra" space in fdisk or gparted. It's hidden from you, and you can't use it directly. In the "old days" when a disk got a bad...
  4. dos2unix

    Can't seem to prevent SSH from starting before tailscale initialises

    You could probably do this with a custom systemd.service file https://www.linux.org/threads/how-to-create-a-custom-systemd-service-file.47399/page-2#post-255990 Maybe create a bash shell script similar to this. #!/bin/bash while ! ip addr show tailscale0 | grep -q "inet "; do sleep 1...
  5. dos2unix

    This is impossible. It makes no logical sense.

    fdisk /dev/sdb Welcome to fdisk (util-linux 2.40.4). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. This disk is currently in use - repartitioning is probably a bad idea. It's recommended to umount all file systems, and swapoff...
  6. dos2unix

    Need Testing Feedback

  7. dos2unix

    Why only OpenGL and Vulkan in the Linux world?

    I may need a tetanus shot soon. https://www.kernel.org/doc/html/v6.12/rust/index.html https://www.phoronix.com/news/Linux-6.12-Rust Side note here: I guess this was written in rust also, but now if you get a kernel panic, Linux will print a QR code for you to scan. I've seen this happen...
  8. dos2unix

    Why only OpenGL and Vulkan in the Linux world?

    https://learnopengl.com/Getting-started/OpenGL It seems OpenGL is still just C. For some interesting reads, google "Why doesn't Linus Torvalds like C++" sometime. :)
  9. dos2unix

    Why only OpenGL and Vulkan in the Linux world?

    True, but there are some other options. DXVK this allows DirectX applications to run on Linux. WebGL is a JavaScript API, that will render3D stuff in a browser. Allegro is becoming more popular, at least for Linux gaming. Finally, this Bevy game engine looks very promising. It's written in...
  10. dos2unix

    Why only OpenGL and Vulkan in the Linux world?

    Close, no C++, only C. But many drivers are now being written in rust.
  11. dos2unix

    Linux is making my ssd really hot compared to windows, making my bios saying S.M.A.R.T status is bad when using linux long enough

    This happens frequently, sometimes it even happens on different reboots on the same distro you've been using for a long time. It generally doesn't hurt anything. Device paths change. This is why we try to use UUIDs and Labels instead of device paths in shell scripts and especially in our...
  12. dos2unix

    This is impossible. It makes no logical sense.

    I read this a few times, but I'm still not sure what you are trying to do here exactly. What is the purpose of this?
  13. dos2unix

    Cron job to open a tab in a browser

    Cron doesn't open an Xwindows session by default, you probably do. I just tested this with firefox I already had firefox open when I ran this. #!/bin/bash firefox --new-tab "https://www.linux.org" It works from cron, but only if I'm currently logged into an Xwindows session. This also...
  14. dos2unix

    Scanning your system for security problems

    Good sites to be familiar with. https://www.cvedetails.com/ https://vulners.com/search?query=bulletinFamily:unix%20order:published https://home.cern/news/news/computing/computer-security-security-rules-revised You can get automated email feeds from these sites, I did this for a while, but...
  15. dos2unix

    Need Testing Feedback

    EFI did not work for me on an Intel NUC, a Dell Latitude or KVM/QEMU. Switching to Legacy BIOS helped. I have been at this screen for over an hour, how long should this take? I selected the Plasma 6 install. It appears the VM is paused and I cannot resume it.
  16. dos2unix

    ffmpeg parameter to compress h.262 videos (TV-TS-Stream)

    https://ffmpeg.org/documentation.html To h.264 ffmpeg -i input.ts -vf "yadif,nlmeans=1.4:7:5:3:3" -c:v libx264 -preset slow -crf 18 -c:a aac output.mp4 To h.265 ffmpeg -i input.ts -vf "yadif,nlmeans=1.4:7:5:3:3" -c:v libx265 -preset slow -crf 18 -c:a aac output.mp4 You can also try...
  17. dos2unix

    Audio over USB.

    Most of my computers have audio jacks on them. You know what they look like, 3.5mm or 1/8th inch audio ports. You probably have your speakers plugged into this right now. But I do have a couple of computers that have no audio ports, at all. Many of the servers in my company datacenter have no...
  18. dos2unix

    Microphone Recording Quality Issue on Fedora Linux with OBS Studio (but not only OBS)

    That could make a difference, but what I meant was, can you use the microphone of the headset alone, without plugging the speakers in. Try to record something with only the microphone plugged in. No speakers. Use the microphone port. Then once it's recorded, plug the speakers back in, and...
  19. dos2unix

    Direct Unbound DNS-over-HTTPS (DoH) traffic through SSH tunneling

    Is there any reason you don't want to use port 1080? Maybe your digital ocean subscription is layer 7 only? tcp/ip rules are different for ports below 1024. It isn't impossible, but it's more difficult. I don't use unbound, and I've never done dns over https. It would seem like it's...
  20. dos2unix

    Solved Do I have to close down a program prior upgrade?

    This article is 3 years old now. https://fedoramagazine.org/offline-updates-and-fedora-35/
Top