Recent Questions - Unix & Linux Stack Exchange |
- pcie_bus_perf : Understanding the capping of MRRS
- Raspberry Pi doesn't recognize HP PSC 750xi Scanner
- Is have a file-based friendly fuse tool?
- Trigger keyboard shortcut from bash alias/function
- iptables port forwarding from external ppp0 to internal server
- How to customise the appearance of notify-send?
- where are Linux Motherboard driver's from?
- Some Emojis not appearing on browser and some applications in Endeavour OS
- FreeBSD 13.0 Release package support
- Does zsh have any equivalent to BASH_ENV?
- Extrating timestamps from filename to split mp3s
- How to avoid audio recording fade in?
- How does "cat << EOF | grep" work in bash?
- Apt fails with "The repository does not have a Release File"
- Is it possible to permanently disable the gnome-keyring passphrase?
- how to grab text after newline and concat each line to make a new one in a text file no clean of spaces, tabs
- How to restore (normalize) HDD spinoff timeout in LXLE?
- My OBS Video recording is choppy
- Why do i get “Permission denied” errors from using Weston/Wayland
- arch linux hdmi not detected
- Curl FTPS error:1408F10B:SSL routines:ssl3_get_record:wrong version number
- Wifi issue after sleep
- CentOS does not recognize compiled boost library
- apt-get Failing for all packages
- Print check/cross mark in shell script
- Apache Multiple Domains and Multiple SSL to same IP and folder
- Minimal installation of Oracle Java 8 on Debian - headless, with no GUI
- Match exact string using grep
- Is there any way to know the size of L1, L2, L3 cache and RAM in Linux?
- Drivers for HP ScanJet 2400 on Linux
pcie_bus_perf : Understanding the capping of MRRS Posted: 01 Jan 2022 05:05 AM PST Quoting the linux kernel documentation for boot parameters :
I fail to understand why the MRRS should not be larger than the MPS "for best performance". I mean if a device can do MPS=X and MRRS=4.X then read requests could, in numbers, be less hence the bus less busy compared to a MMRS=X situation, even if the satisfaction of the request needs to be split in 4. BTW, I know the concept of "fair sharing" and understand the impact of large MRRS on that sharing but I never understood fair sharing synonymous to best performance. |
Raspberry Pi doesn't recognize HP PSC 750xi Scanner Posted: 01 Jan 2022 04:51 AM PST I posted this to raspberrypi.stackexchange yesterday with no responses and only 4 views, so I'm reposting and expanding the original post here to reach a wider/different audience. I have an old Pi-3 running Stretch. I have what I have a separate laptop running Ubuntu 20. When I plug the USB device into that laptop, I can use hplip's Clearly, as the Ubuntu test proves, I also have an HP 6978 Network printer/scanner that the Ubuntu system sees on the network and can manipulate with the My understanding is that these scanners are supported through use of the But there appear to be more fundamental issues. The full It's that very first line I'm concerned about. I'm thinking this is a possible So, I'm thinking half the packages are using I cannot find any missing packages or dependencies on the Pi. I have tried removing and re-installing Anyone have any ideas? |
Is have a file-based friendly fuse tool? Posted: 01 Jan 2022 04:20 AM PST I'm looking for a file-based, size-scalable and mountable fuse.
It may be that my search keywords are inappropriate, Is have some/more better tool or function to do this usecase? |
Trigger keyboard shortcut from bash alias/function Posted: 01 Jan 2022 03:45 AM PST Here's the thing: I'm running Windows 10 and I'm using Windows Terminal (WT). In WT there is a shortcut for splitting the pane (SHIFT+ALT+MINUS/PLUS). The issue is that the new pane is on my root directory. I would like to write an alias in my profile.ps1 that navigates to a particular directory, splits the pane, and navigates the new pane to the same directory. I have gotten the navigation part working with: But is it possible to call a keyboard shortcut from within this type of function? Something to the tune of: Obviously, this doesn't work. But is there a way to achieve something like this? I hope that made sense... haha. Thanks! |
iptables port forwarding from external ppp0 to internal server Posted: 01 Jan 2022 03:54 AM PST Actually the same question to this one. But I didn't get answer there either. My scenario is: a Linux box with two NICs acting as a router, running iptables rules for masquerading, firewall, ... etc. I'd like to forward certain port to internal servers which only have LAN IPs. The router server uses ppp0 as external interface and 192.168.212.50 as internal IP. I'd like to forward port 2000 from external (connecting to hostname:2000) to internal 192.168.212.51:8088. The sysctl net/ipv4/ip_forward has been set to 1 since it has masquerade set. Now when I try port forwarding from external ip (hostname:2000) it is always timed out. In the log I could see the packets being dropped. The iptables rules is here: https://pastebin.com/au9QDhQf
Any help will be very appreciated. |
How to customise the appearance of notify-send? Posted: 01 Jan 2022 03:25 AM PST I am running linux mint and use the When using Cinnamon DE, they look pretty normal, and I can even add icons to my custom However, I recently started using XMonad WM, and I'm finding that not only are the regular application notifications ugly, but my custom ones which have nice icons in them also follow that same ugly style (please excuse blurry screenshot): For example, the above notification should contain an icon as per this command: Where is this configured? |
where are Linux Motherboard driver's from? Posted: 01 Jan 2022 05:00 AM PST I am a bit confused on where the drivers come from or are developed for motherboard peripherals? Ex, USB, Sound or Ethernet controllers? Basically from my understanding the x86/64 programmers reference manual doesn't detail these things. How did the developer of the driver know how to interface with the device at a register level? |
Some Emojis not appearing on browser and some applications in Endeavour OS Posted: 31 Dec 2021 11:26 PM PST I just shifted to arch from ubuntu budgie. and I am getting some issues loading/displaying emojis on some websites and applications. I have provided some screenshots of the issue. The Os I am using is Endeavour OS with KDE Plasma Desktop and my browser is Brave (stable).
|
FreeBSD 13.0 Release package support Posted: 31 Dec 2021 09:44 PM PST I downloaded and installed FreeBSD 13.0 on a old IBM IntelliStation M Pro I have as a spare. My intention was to use it as a file server replacing an old machine running 4.0. I got it up and running except for X11. This machine has an Nvidia GeForce4 Mx440 08x card codenamed NV18. I believe an appropriate driver can be found in /usr/ports/X11/nvidia-driver-390-390.144 but, it seems packages are not available for release 13.0 yet. It seems quite involved to re-compile it from a ports collection as the system source tree needs to be installed.
|
Does zsh have any equivalent to BASH_ENV? Posted: 01 Jan 2022 02:56 AM PST I would like to be able to use something like the BASH_ENV variable in From
Does |
Extrating timestamps from filename to split mp3s Posted: 01 Jan 2022 03:24 AM PST I have a bunch of mp3 files in a folder. They are recorded from cassette tape, and the individual tracks need to be separated out. This is one one the filenames: You can see it has timestamps within the filename, indicating the start of each track. The first track is not timestamped since it always starts at 00:00. And the last track should always go to the end of the mp3. Somehow, I want to extract these timestamps in order to create separate files. If the file above were split correctly the output would be: I know how to loop thru files, and how to cut a file with ffmpeg, but I don't know how to extract the timestamps and track names from the filename. I'm using zsh, and here is my current code: |
How to avoid audio recording fade in? Posted: 01 Jan 2022 05:30 AM PST Audios recorded from the microphone start with a pop and a fade in. I tried 2 mics from two hardware inputs. I found this solution that describes my problem but Fedora 35 has no
What would be the Fedora 35 equivalent? Indeed if I start recording immediately after another recording there is no fade in but the pop persists. I found the
Would it be Plasma adding the delay? |
How does "cat << EOF | grep" work in bash? Posted: 01 Jan 2022 04:18 AM PST In this answer to How does "cat << EOF" work in bash? on Stack Overflow, I get the first two points. But I don't get the third point Pass multi-line string to a pipe in Bash
Since It have 3 word, 2 pipe character. Then I am not sure how to intrepret it. |
Apt fails with "The repository does not have a Release File" Posted: 01 Jan 2022 03:16 AM PST I recently tried installing surfshark-vpn and openvpn3 using the following guides. https://surfshark.com/blog/how-to-set-up-a-vpn-on-linux https://openvpn.net/cloud-docs/openvpn-3-client-for-linux/ (I feel like something in this guide might be the problem) But since then, I've tried searching on how I can fix this but everything I've found doesn't seem to help. The most common answers seem to be:
Does anyone have any suggestions for me? I'm considering just backing up my files and reinstalling but I'd much rather prefer to learn how to fix this. I am currently using Pop!OS v20.10 This is my Thanks |
Is it possible to permanently disable the gnome-keyring passphrase? Posted: 01 Jan 2022 05:28 AM PST Whenever I login using the fingerprint sensor instead of the login password, a popup is displayed from This is quite annoying, because it steals the focus, and doesn't let you do anything else until the password is entered. It won't even let you change the keyboard language, so if you had it in a different language than the password before the reboot, you are screwed. I wasn't even able to take a screenshot of the popup, which is why the quality of the picture is so low - it was from my mobile. A partial solution to this problem is to set the keyring password to an empty string, by opening the But is not a very good solution, because the keyring password keeps being reset, and you have to repeat the same process all over again. I am not sure if this happens on some reboots, or when there has been an update. So my question is twofold:
EditThis question is related, but the answer doesn't offer a workaround: Why is my "no password" setting on my login keyring frequently reset? |
Posted: 01 Jan 2022 01:16 AM PST I have a text like this: I'm trying to grab each line that start with number, then concat second line, and finally third line. example text: as you may notices Second line has 3 lines instead of 2 lines. So make it harder to grab. Because of the also, I have been trying to make it with new concats:
I'm trying to make a script, so I give as an ARGUMENT a not clean FILE and then grab the table and select each number with their respective data. Sometimes data has 4 lines, sometimes 3 lines. So copy/paste don't work for ME. |
How to restore (normalize) HDD spinoff timeout in LXLE? Posted: 31 Dec 2021 10:46 PM PST After the last update on my system, the timeout setting for turning off the hard disk was broken. This problem manifests itself as a constant shutdown and spinning of the HDD motor at intervals of about 10-20 seconds. The hard drive itself is still alive, but with such treatment it will not live long. I made sure the drive is working, connect my laptop to the charger. Once I did that, the problem with shutting down the disk was gone. It seems the disk didn't turn off at all, but that's not certain. However, as soon as I finished charging, the problem returned immediately. Moreover, this problem does not appear on the account login screen. The drive starts to turn off only after logging into my account. I only have one user, so I didn't check what happens if I log into another profile. However, in any case, it is desirable for me to restore my profile. Core version: 4.15.0-163-generic I still do not understand why this is happening with the HDD. I have tried:
None of this worked. Interestingly, even if I boot with an older kernel version, the HDD shutdown problem persists. At the same time, the Wi-FI adapter, the display driver does not work (the background image is simply stretched), but the problem with the constant shutdown of the disk remains. What is the problem that caused the HDD to instantly (without any timeout) turn off when it is idle? How can I fix this problem? |
My OBS Video recording is choppy Posted: 01 Jan 2022 05:17 AM PST I use OBS only for screen recording. But when I stop recording, I found My video is choppy. My System information: You can see a screen recording of my computer: https://www.youtube.com/watch?v=F9HcUYbnkS8 How can I fix it, can anyone tell me please? |
Why do i get “Permission denied” errors from using Weston/Wayland Posted: 31 Dec 2021 11:19 PM PST I have built a Linux system with Buildroot (2021.05) to run on a raspberry pi 4. My graphics stack include using mesa (vc4, v3d, kmro), Wayland / Weston with a DRM back-end. Also installed kmscube, which runs perfectly with the rotating cube reporting a frame rate of 60fps The main application to be run in Weston is a wpewebkit application. So far, the application runs but without any hardware acceleration. The reported frame-rate of the embedded browser is about 5fps. When i exit from the application, i see the following messages displayed on the terminal ...... My system is setup to bypass any login prompts and start as root by editing my inittab file. When i run the If i run the command Can someone point me to why i am getting the "permission denied" errors from Weston / mesa. |
Posted: 01 Jan 2022 05:00 AM PST today I started my laptop, but my external display was not working. I ran the command As you can see, there is no hdmi. When I run this exact same command on my other computer, it shows this: my os: |
Curl FTPS error:1408F10B:SSL routines:ssl3_get_record:wrong version number Posted: 31 Dec 2021 11:01 PM PST I've looked at the related issues but none of them solved my issue. I'm trying to transfer files via ftp using curl to a server in my dmz from an FTPS server on an EC2 server running vsftpd. I am able to get the files connection FTPS from Filezilla on a windows server. I am getting the same error in every TLS version. I've tried enabling ssl3 on the vsfpd server but it didn't solve it. |
Posted: 31 Dec 2021 09:04 PM PST I am running Linux Mint 19 Tara. I cannot understand why but lately my wifi stop working after I resume it from sleep, the only way to make it work is either a reboot or
could you help me in fixing it or implementing a script with such code that would start everytime I resume the laptop? EDIT: -linux mint version -output of -output of |
CentOS does not recognize compiled boost library Posted: 01 Jan 2022 12:00 AM PST I have built and installed boost using the following steps: Then, I try to build mapnik which uses boost. I checkout mapnik and run (Build steps courtesy of keisan) Why doesn't the system find the boost library 1.67? I don't remember installing boost 1.63. I have compiled and installed 1.67, but the build system does not use it. Where does the system look for boost on the system? I deleted all libboost_* files in /usr/local/lib and /usr/lib64, but still don't know where the system looks for boost. Can someone give a tip on how to tell the system about the newly compiled software? |
apt-get Failing for all packages Posted: 01 Jan 2022 04:02 AM PST I'm running ubuntu 14.04, and I've recently started having issues with apt-get. I can't install or remove any package (error below). I tried reinstalling these packages, I tried deleting the deb files and I still get the same error. |
Print check/cross mark in shell script Posted: 01 Jan 2022 12:38 AM PST I would like to print a check mark and a cross mark in a shell script: Why isn't this working? |
Apache Multiple Domains and Multiple SSL to same IP and folder Posted: 01 Jan 2022 01:03 AM PST I am building a system and I need to use the same IP and same folder for a site with multiple domains and a seperate SSL certificate for each one. Also I do not want them to redirect or forward, because the site can handle the different domains on its own. so like I am using Ubuntu 14.04 with Apache2 I really have no idea on how the |
Minimal installation of Oracle Java 8 on Debian - headless, with no GUI Posted: 01 Jan 2022 02:07 AM PST In another question here (Minimal Java installation for Linux with no GUI) I found some information about headless installation of OpenJDK, but I would need this with Oracle Java 8.
My current system is the strongly Debian-based Raspbian Wheezy (Kernel ver. 3.18.; released 2015-05-05). This comes with a pre-installed Oracle Java 8, but it was deleted when I wiped out the GUI and desktop components (along with various other useless softwares) to make a minimal platfrom. Then I tried to re-install it using the following command: it provided me a huge list of packages to install, which, as I was able to recognize them, contained mostly fonts, icons, language files, and x11 (x-server-realted) libraries, all nice damned GUI staff, what I absolutely do not need - and cried for >200 MB storage space. Finally to my question: is there any way to install an Oracle Java Runtime Environment without these GUI conponents? Maybe I should manually sort out unwanted packages - but how could I know which ones are really need for Java to run on console, or may it cause instability if I miss packages which are in the dependancy list, but functionally would not need to Java? The list of required packages (maybe they will help): fontconfig fontconfig-config hicolor-icon-theme libatk1.0-0 libatk1.0-data libcairo2 libdatrie1 libfontconfig1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgraphite2-2.0.0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libharfbuzz0a libjasper1 libjpeg8 libpango-1.0-0 libpango1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpangox-1.0-0 libpangoxft-1.0-0 libpixman-1-0 libthai-data libthai0 libtiff4 libx11-6 libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6 oracle-java8-jdk ttf-dejavu-core x11-common |
Posted: 01 Jan 2022 03:32 AM PST I have a text file: and I want to match exactly I get this result: but I only need this: I know there's a |
Is there any way to know the size of L1, L2, L3 cache and RAM in Linux? Posted: 01 Jan 2022 12:34 AM PST Is there any way to know the size of L1, L2, L3 caches and RAM in Linux? |
Drivers for HP ScanJet 2400 on Linux Posted: 31 Dec 2021 10:05 PM PST I'm trying to install my scanner "HP ScanJet 2400". I followed the recipe from here: http://www.elcot.in/linuxdrivers_download.php, However, it was not possible at all to detect it, when working in CentOS, Fermi & OSuSE OS. Doess anyone have any suggestions on how to get this scanner working? |
You are subscribed to email updates from Recent Questions - Unix & Linux Stack Exchange. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment