Recent Questions - Unix & Linux Stack Exchange |
- Cannot set Wine prefix to location of steam game's prefix on Pop!_OS 20.04. Why?
- Why is the command called which and not where?
- Executable doesn't run on boot-up when changed to write the logs to a file
- "find" command doesn't work
- If I remove `ssh` from public zone and retain only rich rules in trusted one, will I be able to reach my server?
- Windows GRUB entry keeps disappearing
- Android emulator crashing ubuntu when interacting with panel
- GNOME/gdm disable reveal password button
- Can wget be configured like torrent using -c flag (Downloading parts of file from different server simulteniously)
- Raspberry Pi OS for PC not booting up
- AMD Epyc 7452 having CPU base clock as max clock speed & not boosting to boost clock?
- Is it possible to customize grub using grub-customizer in Fedora?
- nvida drivers disapeared during night (poweroff/poweron) DKMS cannot be rebuild
- Unable to interrupt thge installation progress/ stuck at configuring ddclient
- GNOME limited refresh rate with dual monitors
- Procmail: Send ticket numbers to an address named "ticket@domain"?
- Displaying icons for directories in zsh prompt
- Restore ipset rule on reboot
- Pip breaks when switch to Python3.7.9 using update-alternatives on Debian
- How to add 12spaces to the next line after the string match in shell?
- Most Stable/efficient method for OpenStack Deployment using Debain
- Lowering/Disabling touchpad acceleration in GNOME 40 (Wayland)
- jq - assert exactly 1 element reutrned
- How to check an encrypted (Veracrypt) external (USB) disk that has a BTRFS file system?
- Failed to set locale. Fix your system
- What are these `/tmp/_MEIxxx` directories?
- gpg --passphrase-file doesn't work as root?
- Permanently disable the laptop's keyboard, keeping it disabled when turning computer on
- Easiest way to chown the contents of a directory?
- virt-manager copy paste functionality to the vm
Cannot set Wine prefix to location of steam game's prefix on Pop!_OS 20.04. Why? Posted: 30 Sep 2021 10:47 AM PDT So, I'm a regular player of the game Geometry Dash. Which (as some of you fellow GD players reading this know) doesn't have a Linux version, but it can be run with Proton. Now, there's a very popular hacked client in the GD community called Mega Hack, which (yes) does have hacks for cheating like no-clip or speedhack (v6 only). But it also has some useful non-cheating hacks like Practice Music Hack (which plays the level's music in practice mode instead of OcularNebula - Stay Inside Me) and much more. I've found a thread on the MegaHack GitHub repo saying, you can get megahack to work by changing the wine prefix but... it doesn't seem to work for me. The command I tried is: and the result was that it didn't work and the console spat out output way too long to put into this thread so here's a pastebin link. How can I possibly fix this? I really want to get MegaHack running. |
Why is the command called which and not where? Posted: 30 Sep 2021 10:38 AM PDT Logically, you would want to search for the location of the executables, hence "where" are they, but not which. |
Executable doesn't run on boot-up when changed to write the logs to a file Posted: 30 Sep 2021 10:43 AM PDT I am running an executable on boot-up, and the executable prints logs via So to see the logs, I changed the application such that it writes to a file instead but the executable doesn't seem to run on boot-up after this change, even though the service that's supposed to run this executable is running. Writing to a file works perfectly fine when run manually and not on boot-up.
Did a sample test - when there's a loop, and the executable is pushed, on boot-up it runs but as soon as the loop is commented out, the executable no longer runs. |
Posted: 30 Sep 2021 10:40 AM PDT I tried to use this command but it doesn't work in any way: I found similar questions answered about 10 years ago. I don't know if syntax changed. I need help. |
Posted: 30 Sep 2021 10:16 AM PDT I have the following (multiple empty entries are omitted): If I do Will I be able to reach my server then? I am confused by the fact, that Also I don't see |
Windows GRUB entry keeps disappearing Posted: 30 Sep 2021 10:06 AM PDT I have a system with dual boot:
Every now and then the Windows entry disappears. Then I run I can't understand why does it keep disappearing. I've added Any idea what else should I configure? |
Android emulator crashing ubuntu when interacting with panel Posted: 30 Sep 2021 10:03 AM PDT I am using ubuntu 20.04. I recently installed android studio, and the emulator seems to be buggy at best. Specifically when I interact with the side panel of the AVD instance, it crashes. Inspecting and crashes the application. Android studio yields following error: Most suggestions with the error seems to revolve around old/updated drivers for graphics, however my machine does not have any graphics card and I have chosen to use software to emulate graphics. I am not sure what to make of the error. |
GNOME/gdm disable reveal password button Posted: 30 Sep 2021 10:03 AM PDT On the gdm login screen and on the GNOME lockscreen in the password entry box there is this little password reveal button at the right side. Since this is a toggle some classmates were able to trick me into showing a good portion of my password by just pressing this button while I was away and watching me typing my password in. Now is there any way to remove this button or show the password only while it is pressed? I've found really NOTHING on this topic on the internet except this askubuntu article asking for exactly the opposite what I want. |
Posted: 30 Sep 2021 09:42 AM PDT
|
Raspberry Pi OS for PC not booting up Posted: 30 Sep 2021 09:03 AM PDT I downloaded Raspberry Pi OS for desktop (2021-01-11-raspios-buster-i386.iso, Debian Buster with Raspberry Pi Desktop from here, Kernel version: 4.19, Release date: January 11th 2021). My computer is an HP 15-db1000AU notebook with 64 bit AMD Ryzen 3 2.6 GHz with Radeon Vega Graphics, 4GB RAM. I made a bootable USB using Rufus 3.15, using all default settings provided when the iso was loaded. I tried booting from the USB, both with persistence and without persistence. In both cases there is some text in the beginning, then the computer boots up to the raspberry pi logo, then goes into a blank screen with a blinking cursor and nothing else happens. If I forcefully turn off the laptop by pressing the power button, there is text saying something like could not mount/unmount removable media and the computer suddenly turns off. How should I troubleshoot this? Is this a live OS? Is there any way to try out this OS without actually installing it on a hard drive? |
AMD Epyc 7452 having CPU base clock as max clock speed & not boosting to boost clock? Posted: 30 Sep 2021 09:01 AM PDT I have an AMD Epyc 7452 CPU on an ASRock Rack ROMED6U-2L2T board running Proxmox 7 a linux system and running This CPU however is, according to its data sheet, able to boost to 3.35ghz, which I think I have never seen it do. In the Bios I can only set the Core Performance Boost to 'Auto' or 'Disabled' (it is set to 'Auto') and looks like this: Is there anything I can do to get the CPU to boost to its (advertised) max clock speed and/or where could the culprit be.. is it the bios that's causing this or is it a missing configuration somewhere in Proxmox / linux? |
Is it possible to customize grub using grub-customizer in Fedora? Posted: 30 Sep 2021 08:46 AM PDT I recently switched from Ubuntu to Fedora, and I installed
Few topics are opened on Fedora's forums but they keep circling to other topics. Some resources I've tried looking at: https://ask.fedoraproject.org/t/grub-customizer-fedora-entry-not-visible/12526 https://www.reddit.com/r/Fedora/comments/epqg4j/how_can_i_install_grub_customizer_on_fedora_31/ https://www.reddit.com/r/linux4noobs/comments/gvumqx/no_options_of_fedora_in_grub_customizer_help_to/ https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/kernel-module-driver-configuration/Working_with_the_GRUB_2_Boot_Loader/ After some reading, I came to know that from Fedora 30 and above, there has been changes in BLS(no idea what that is). So I want to know if it is possible use grub-customizer to customize grub? |
nvida drivers disapeared during night (poweroff/poweron) DKMS cannot be rebuild Posted: 30 Sep 2021 08:55 AM PDT my setup
crash context I use Debian testing for some really needed reasons I need to use a High-resolution & secondary screen each day with 1920x1080. Made an
all was right at that point, so I finished my work a few hours & power off the system. here is the issue Power on at morning & got only 1st screen working, 2cd one remains dark. Resolutions is stuck on 1024*768 Errors seem to indicate an issue on DKMS. Then I investigated around that. But without results. But I just cannot reboot until all procedures supposed to have been solved for anyone on many many many forums & google pages returns all without any exceptions finish by an update of the initram & kernel with deleting current ones and then rebooting , I just cannot reboot any more as far as all procedures deletes initram & kernel & new ones cannot be build. here we go on each try whatever I do before *(clean, purge,
I 've just worked on that since about 10AM it is about 17:30PM I just don't know how to solve that now ho, just a thing to avoid useless answers I Cannot REINSTALL sytem any Idea how to force build on ignore errors or anything similar or force build even on errors ? |
Unable to interrupt thge installation progress/ stuck at configuring ddclient Posted: 30 Sep 2021 08:39 AM PDT |
GNOME limited refresh rate with dual monitors Posted: 30 Sep 2021 08:37 AM PDT I recently installed Pop_OS! on a new disk in my computer, coming from Arch (which I can still boot to). There are a few kinks I need to work out and one in particular seems to severely limit my monitor refresh rate. I have:
While the GNOME display settings allows me to set the refresh rate to 240 on my primary monitor, the actual DE is clearly still limited to 60, presumably due to the other monitor. If I disable the other monitor in settings, I get a smooth 240 Hz rate on my primary monitor, in regards to the DE animations and games. Otherwise, only the mouse cursor moves at a higher rate, and everything else slumps to 60. Is this fixable or is this some limitation in GNOME? In Arch, I used Cinnamon. I was able to use 240 Hz on my primary monitor and 60 on the secondary (but only after disabling V-sync in the DE settings). If I run |
Procmail: Send ticket numbers to an address named "ticket@domain"? Posted: 30 Sep 2021 09:26 AM PDT I am looking to do the following:
Where bold is my current obstacle. Here is a proof of concept. At this point, the user still has to send the ticket to Some context: There is one address created, What I want to do: Prevent auto-completion errors (a user will enter The Big Question: Can I use Procmail to filter emails from |
Displaying icons for directories in zsh prompt Posted: 30 Sep 2021 09:13 AM PDT This is, roughly, my left prompt for zsh: Instead of displaying I want to display where How can this script read the user's current directory and determine what icon to display (or not display) to the terminal? |
Posted: 30 Sep 2021 09:04 AM PDT What is the easiest, most vanila way to restore a saved ipset rule in centos7, without needing to install any extra packages or plugins? Background... I have googled this but I seem to be going around in circles (articles telling people to google it, articles with steps which don't apply to my distro, articles with steps which simply don't work (example I have recently created a list using ipset for whitelisting a group of IPs. I added the list into my firewall rules ( Come to days after I find that the firewall is not running. On investigation it has failed to start, with the error that my rule doesn't exist. So I now know that ipset rules aren't persistent on reboot I need to reload them. As I said I have tried to find out how to do this via google, but all of the page 1 results just don't really work for me for various reasons. One particular guide suggests editing the ifcfg-eth0 file and adding a Basically is there a simple way to restore an ipset set from a file in centos7 so that it exists before the iptables service tries to use it? Edit: I will try this tomorrow - https://www.thegeekdiary.com/centos-rhel-7-how-to-make-custom-script-to-run-automatically-during-boot/ |
Pip breaks when switch to Python3.7.9 using update-alternatives on Debian Posted: 30 Sep 2021 08:39 AM PDT I am on Debian 11 which comes with python3.9. But I don't need it, I need python3.7. So, I installed pythonn3.7.9 and updated the alternatives. The problem is that when I switch the python version to 3.7.9, I can't install anything using pip. I get the following error in But when I switch back to Python3.9 then Pip works. I don't know how to fix this. I looked it up on Google, but couldn't find an issue where anyone faced a similar problem. |
How to add 12spaces to the next line after the string match in shell? Posted: 30 Sep 2021 09:25 AM PDT I have a file called Instead of typing literally 12 spaces, anything like |
Most Stable/efficient method for OpenStack Deployment using Debain Posted: 30 Sep 2021 08:54 AM PDT I was wondering witch method to use for deploy openstack I read guides of openstack but there is no focusing on Debian. so what it's most stable method to deploy openstack on Debian? Thanks |
Lowering/Disabling touchpad acceleration in GNOME 40 (Wayland) Posted: 30 Sep 2021 10:53 AM PDT I have set the touchpad speed slider to ~50% in Mouse & Touchpad Settings. I find this good enough most of the time but if I move my finger a bit too fast, the pointer flies to the edge/corner. If I set the touchpad speed too low, the small movements require multiple swipes. I want to lower the acceleration to match it with the "precision touchpad" of Windows, which is perfect (or disable acceleration if acceleration can't be lowered).
From I tried but the result stays the same. OS Name: Fedora 34 (Workstation Edition) |
jq - assert exactly 1 element reutrned Posted: 30 Sep 2021 10:18 AM PDT I use the following jq snippet to extract a key out of an array of values: How can I assert that only 1 element was returned? If more than 1 element found in resulting array I want a non 0 status code returned / otherwise resulting JSON array containing 1 element. |
How to check an encrypted (Veracrypt) external (USB) disk that has a BTRFS file system? Posted: 30 Sep 2021 08:53 AM PDT I want to test if physical errors of the disk, of it that is not possible, file system errors of the disk. The disk is a typical USB external drive. The disk (not by partition-level, but the whole disk itself) is encrypted using VeraCrypt. The partition I stored the files is using Btrfs. What is the way? Here are the things I have tried on my own: First, the web search result said Then, I tried to use the "Check filesystem" context menu on the volume of the VeraCrypt. But it showed an "fsck" window saying "If you wish to check the consistency of a BTRFS filesystem or repair a damaged filesystem, see btrfs(8) subcommand 'check'" and exited. I opened a Terminal and tried to execute PS: Thanks to the accepted answer, I got the correct device name. I am adding the following for future people who encounter the same problem. The comment I used was |
Failed to set locale. Fix your system Posted: 30 Sep 2021 09:11 AM PDT A 32-bit server with openSUSE Tumbleweed: While logging in, I received this warning:
To fix the above error, I run these commands to modify the system language and time, but I get errors: Also: I couldn't figure out the cause. Does anyone have a suggestion? UpdateLocale output: Another output: UpdateAdding these lines to New observation
|
What are these `/tmp/_MEIxxx` directories? Posted: 30 Sep 2021 08:41 AM PDT I am seeing a bunch of directories with the same files in my Running Then the directory contents which shows the same files being repeated: |
gpg --passphrase-file doesn't work as root? Posted: 30 Sep 2021 09:05 AM PDT I'm trying to encrypt our backups using GnuPG as a pipe (reading from stdin and writing to stdout). The passphrase is read from a file. An example command: When I run this as a regular user, it works fine. But if I run it as root, I get: How can I get I cannot use |
Permanently disable the laptop's keyboard, keeping it disabled when turning computer on Posted: 30 Sep 2021 10:02 AM PDT My notebook's keyboard suddenly went all paranormal activity like weird. Two keys, minus and asterisk from the num pad were being pressed and held at random moment when typing something somewhere. I then removed the button and the small rubber that makes the contact with the board. Few days later, the return started to suffer the same thing. Everything I selected with one click was being deleted and, when in a text editor software or anything that have an input field, all being erased, just like holding the I learned about I want to permanently disable the keyboard, be it when turning the computer on and off, and never use it again. I didn't find anything on BIOS or a way to do it with |
Easiest way to chown the contents of a directory? Posted: 30 Sep 2021 10:39 AM PDT I often use Isn't there an easier way to recursively chown all files and directories in a directory but not the directory itself? It should include hidden files and work no matter how many files there are. |
virt-manager copy paste functionality to the vm Posted: 30 Sep 2021 08:27 AM PDT Anyone know how to get Virtual Manager to install copy-paste functionality to the Virtual Machine? Can't find anything on Google. |
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