Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

General Q&A about Linux and Unix-like operating systems

71%
+3 −0
Recursively remove files with the same name as the ones that end in `.part`

I want to remove all files with the ".part" extension in the current directory and its subdirectories, including files with the same name but different extension. Is this correct? find . -name '*...

1 answer  ·  posted 3mo ago by ShadowsRanger‭  ·  last activity 2mo ago by Quasímodo‭

66%
+2 −0
How to append commands to startx from console

MWE startx &amp;&amp; xrandr-invert-colors Problem It seems that anything after startx does not get issued in the resulting X session. I'd like to make a bash function that sets up my monito...

2 answers  ·  posted 4mo ago by young_souvlaki‭  ·  last activity 4mo ago by celtschk‭

66%
+2 −0
Copy to clipboard from terminal with Vim bindings

How do I copy to clipboard from terminal with yy, assuming it's configured to use Vim bindings? I am using zsh with bindkey -v.

0 answers  ·  posted 20d ago by young_souvlaki‭

60%
+1 −0
How to decrease image size from commandline

Problem I'd like to be able to decrease images, particularly jpg and png's, either to a percentage of the original file, or a specified size in bytes. MWE decrease --size=900KB -o image_small....

1 answer  ·  posted 2mo ago by young_souvlaki‭  ·  edited 2mo ago by young_souvlaki‭

60%
+1 −0
Who creates subdirs under `/run`?

A system daemon needs to create several files under /run/program-name/ (and possibly other subdirs of that). They are the PID file, and at least one Unix socket file (but maybe more). The FHS spe...

1 answer  ·  posted 8mo ago by alx‭  ·  edited 8mo ago by alx‭

60%
+1 −0
`nmcli` missing laptop wireless device after everything work right

My device is Thinkpad E40 with openSUSE Leap 15.4. I've use this device under this OS weeks ago and didn't happen this problem. After normally running, wlan0 device not show in nmcli and my wirele...

0 answers  ·  posted 4mo ago by Dead_Bush_Sanpai‭  ·  edited 4mo ago by Dead_Bush_Sanpai‭

60%
+1 −0
how to manipulate Gnome's "Top Bar"/"Activities Bar"/"Top Panel" using GDK

I am using Linux and Gnome. Using GDK, I would like to programmatically manipulate the Top Bar (i.e., the bar at the top of the screen with "Activities", the time, etc.). Here is a picture of it: ...

1 answer  ·  posted 3mo ago by Trevor‭  ·  last activity 3mo ago by r~~‭

60%
+1 −0
How to refresh lvm-backed virtual disk in libvirt

How can I grow a libvirtd VM's LVM-backed virtual disk online, without rebooting the vm. My host has an LVM VG for VMs. Each VM disk is an LV to the host. It's easy to grow the VG by adding a PV...

1 answer  ·  posted 1mo ago by re89j‭  ·  last activity 1mo ago by re89j‭

66%
+2 −0
How to make vi-mode bindings in terminal copy to clipboard

If I want to yank my last command I can UP yy, but this does not copy to the system clipboard. How do I configure my terminal to copy to the system clipboard so I can paste into other programs? ...

1 answer  ·  posted 9mo ago by young_souvlaki‭  ·  last activity 8mo ago by InfiniteDissent‭

66%
+2 −0
<!nocheck> meaning in Build-Depends

Trying to understand what exactly &lt;!nocheck&gt; does next to a package in build-depends (for example, Perl). Debian Wiki says: Terms can be negated by using an exclamation mark as a prefix ...

0 answers  ·  posted 16d ago by nteodosio‭

80%
+6 −0
How do I deal with a "pending update to "snap-store" snap, close the app to avoid disruption" notification in Ubuntu 22.04?

For several days now, I've been getting a notification telling me that there's a pending update to the "snap-store", and to close the app to avoid disruption. I first got this notification while...

1 answer  ·  posted 6mo ago by Mithical‭  ·  last activity 6mo ago by Quasímodo‭

71%
+3 −0
Treat underscores as word boundaries in terminal using vim mode

Question How do you specify underscores as Vim word boundaries when using vim mode in either bash or zsh? MWE w on this_word should place the cursor on the underscore. A second w should place th...

1 answer  ·  posted 2mo ago by young_souvlaki‭  ·  last activity 1mo ago by young_souvlaki‭

60%
+1 −0
Vim bindings not working in terminal python interpretter

MWE Add bindkey -v to your ~/.zshrc. Invoke python interpreter: python. Type something into the prompt without hitting ENT: this = "this" + "that". Press ESC and try any vim bindings successi...

1 answer  ·  posted 2mo ago by young_souvlaki‭  ·  last activity 2mo ago by Quasímodo‭

50%
+0 −0
Dynamic IP & lease loss - "callback" mechanism?

I'm playing with NAT, and have a script now that, at startup of my little Linux machine, creates some DNAT rules, which take one incoming special port, and forward that to another interface with a ...

0 answers  ·  posted 11mo ago by CanisSomnolentus‭  ·  edited 11mo ago by CanisSomnolentus‭

81%
+7 −0
What partition type should be used for cross-platform FAT partitions?

Question What partition type should I use for FAT partitions such that Linux and Windows systems both recognize the drive? Notes I am partitioning the drive with fdisk and making the filesystem ...

1 answer  ·  posted 6mo ago by young_souvlaki‭  ·  last activity 5mo ago by Ullallulloo‭

66%
+2 −0
Bind brightness/volume and other special Fn keys in a tty

I am running Debian stretch on a Lenovo laptop with only a window manager (i.e. no desktop). Out of the box, this configuration of Debian ignores the keys with special Fn functions, such as volum...

1 answer  ·  posted 10mo ago by Quasímodo‭  ·  last activity 10mo ago by Quasímodo‭

71%
+3 −0
How to persist keyboard repeat rate and delay for external devices

Problem I want to set a global keyboard rate for both the X session and the console that persists for external keyboards, across plug-ins and removals. To my understanding, Xorg and console sett...

0 answers  ·  posted 1mo ago by young_souvlaki‭  ·  edited 1mo ago by Quasímodo‭

60%
+1 −0
Running `bashcompinit` in zsh to enable use of bash completion specifications gives "command not found"

I'd like to use the answers in this post while using zsh: compgen -c # will list all the commands you could run. compgen -a # will list all the aliases you could run. compgen -b # will list a...

0 answers  ·  posted 8mo ago by young_souvlaki‭  ·  edited 8mo ago by Canina‭

zsh
81%
+7 −0
What does a minimal /etc/hosts need to contain?

I run an environment that, until recently, did all local name resolution by putting names in /etc/hosts. I'm in the process of replacing that with local DNS. The DNS part works fine, and now I'm tr...

1 answer  ·  posted 11mo ago by ajv‭  ·  last activity 10mo ago by dsr‭

60%
+1 −0
How to reduce DPI of external monitor using xrandr

Have I have the DPI on my laptop set in .Xresources with Xft.dpi: 192. I am outputting to the external monitor with: xrandr --output HDMI-2 --auto --rotate left --right-of eDP-1 Want I want ...

0 answers  ·  posted 7mo ago by young_souvlaki‭

75%
+4 −0
Retrieve changes that closed a Debian bug

If a Debian bug number is referenced in the changelog of an uploaded package, it is automatically closed with a generic message: We believe that the bug you reported is fixed in the latest versi...

1 answer  ·  posted 6mo ago by Quasímodo‭  ·  last activity 5mo ago by bgstack15‭

42%
+1 −2
sensors to histogram

I would want to... ... turn my sensors output into a live histogram. How to? Any available script already written? (✿◠‿◠)

1 answer  ·  posted 1y ago by .                                                .‭  ·  edited 1y ago by .                                                .‭

75%
+4 −0
How to convert PDF to docx

How can I convert PDF to docx using the terminal or a Linux app? The output docx must be formatted with editable text. Some alternative solutions I've seen online using soffice and abiword output...

2 answers  ·  posted 3mo ago by young_souvlaki‭  ·  last activity 2mo ago by samcarter‭

71%
+3 −0
Adding Python 3.11 to `$PATH`

Hi, I'm new here. So basically I builded Python 3.11 (https://python.org/) from source (from GitHub python/cpython branch "3.11"). So, here what I did : (obviously first I downloaded the repo as...

1 answer  ·  posted 5mo ago by HGStyle‭  ·  last activity 5mo ago by Canina‭

71%
+3 −0
how to determine from the command line whether a DVD is encrypted

I am currently ripping a bunch of DVDs. Some are encrypted, and some are not. My method for ripping a DVD depends on whether or not it is encrypted, so I am looking for a command-line method to det...

0 answers  ·  posted 11mo ago by Trevor‭  ·  edited 6mo ago by Canina‭

dvd
25%
+0 −4
Privacy focused Linux distro [closed]

Suggest me the most security and privacy focused Linux distro within three of them given below. Fedora Qubes OS Whonix. Please help me to choose. Thank you.

0 answers  ·  posted 2mo ago by abarajithanjudith‭  ·  closed 2mo ago by ArtOfCode‭

60%
+1 −0
Reducing Noise from yum-cron when repos are out of date

I have a few CentOS servers that I want to stay automatically up to date with yum-cron, and I want to get emails when there are problems but I do not want to get so many emails about repos being ou...

0 answers  ·  posted 1y ago by re89j‭  ·  edited 1y ago by Canina‭

57%
+2 −1
How to automatically change to the first matching directory using fuzzy search and cd?

I want the cd command to automatically change to the first directory that matches a fuzzy search, without prompting me to select between multiple options. This is what I've tried: cd() { loc...

0 answers  ·  posted 1mo ago by ShadowsRanger‭  ·  edited 1mo ago by ShadowsRanger‭

cd
66%
+2 −0
Set compose key to Shift + AltGr

I have upgraded Xubuntu from 20.04 to 22.04 and my compose key, which defaulted to Shift + AltGr, was disabled. It is no longer available in the keyboard settings GUI either. How can I set the com...

1 answer  ·  posted 6mo ago by Quasímodo‭  ·  last activity 6mo ago by Quasímodo‭

60%
+1 −0
Preserve the sources extracted by dpkg-source so as to save time

It takes a long time to build even the source package for a PPA of a huge project, and while the build isn't finished my computer is under heavy load so I can barely navigate a browser. The frustra...

1 answer  ·  posted 7mo ago by Quasímodo‭  ·  last activity 6mo ago by Quasímodo‭

75%
+4 −0
Desktop Multiplexer for Linux? (GNU Screen for GUI apps)

GNU Screen and Tmux allow you to run command-line programs on a server, and 'disconnect' from them but let them keep running remotely. This is great if your primary computer is a laptop and it has...

1 answer  ·  posted 1y ago by re89j‭  ·  edited 1y ago by re89j‭

50%
+0 −0
Simplest way to change cursor to indicate vim mode

Question What is the simplest way to change the cursor to indicate vim mode when using zsh? Notes I want it to show as a vertical line in insert mode and a block in normal mode. This is the cur...

0 answers  ·  posted 2mo ago by young_souvlaki‭  ·  edited 2mo ago by young_souvlaki‭

66%
+2 −0
Scalable fonts are not loaded into the X server database

I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed grep -r 8859-2 /usr/share/fonts/ and, to my surprise, found many matches, for example ==&gt; /us...

1 answer  ·  posted 1y ago by Quasímodo‭  ·  last activity 1y ago by Quasímodo‭

71%
+3 −0
Close all desktop notifications

I'd like to hide/dismiss/remove all the notifications that applications like Signal have created. I know I can create notifications with, for example, notify-send -t 10000 "🤖 Here goes my message"...

1 answer  ·  posted 1y ago by Matthias Braun‭  ·  last activity 1y ago by Matthias Braun‭

66%
+2 −0
When should you install windows dlls for wine with winetricks?

I noticed in winetricks that it can install windows dlls to the wine folder. It even gives an option to install almost all of them at once. When should someone install these instead of staying with...

1 answer  ·  posted 6mo ago by true_blue‭  ·  last activity 4mo ago by bgstack15‭

66%
+2 −0
Quickly increase virtual console ("TTY") font size on the fly

I just want to "zoom in/out" in the text console, is there a straightforward command to do that? I have found various sources (1, 2, 3) that either suggest permanent changes (e.g. modifying config...

1 answer  ·  posted 1y ago by Quasímodo‭  ·  last activity 1y ago by Quasímodo‭

71%
+3 −0
What does capital T mean in the output of 'ls -l'?

I had a nightly cronjob start throwing errors about "inappropriate permissions..." rsync: [generator] failed to set permissions on "/data2/home/redacted/alsoredacted/opt/dell/srvadmin/var/log/open...

2 answers  ·  posted 1y ago by re89j‭  ·  last activity 1y ago by Quasímodo‭

62%
+3 −1
How to edit file from less

MWE touch d less d # jump to editing d without leaving less Question Is there a way to edit a file from viewing it in less? Jumping straight into Vim would be preferred, but an answer for e...

1 answer  ·  posted 8mo ago by young_souvlaki‭  ·  last activity 8mo ago by celtschk‭

66%
+2 −0
I deselected a package and changed my mind. How to select it without re-emerging?

I executed emerge --deselect xournalpp , which means "I don't need the xournalpp package anymore", so it can be removed by a future --depclean action in case Portage figures xournalpp is not a ...

1 answer  ·  posted 1y ago by Quasímodo‭  ·  last activity 1y ago by Quasímodo‭

60%
+1 −0
With a V4L2-compatible webcam, how to see its video feed for the purpose of adjusting aiming?

I have ordered (but am still waiting for it to arrive) a USB-connected webcam that is supposed to be V4L2 compatible. Once it arrives, I'm obviously going to want to mount it such that it provides...

1 answer  ·  posted 1y ago by Canina‭  ·  last activity 1y ago by Quasímodo‭

66%
+2 −0
Can I make a compressed RAM drive and externally prepare a (pre-)compressed file to copy onto it?

I don't know what these things are called exactly in the Linux world. But there is the concept of a drive in RAM, to write files onto and read them like it was any disk drive. There is also the c...

0 answers  ·  posted 1y ago by CanisSomnolentus‭

83%
+8 −0
What are phased updates, and why does Ubuntu use them?

So I ran into that weird "packages being held back" problem while updating my system using apt. After some research, it appears to be the result of "phased updates". What are phased updates, any...

1 answer  ·  posted 6mo ago by ArrayBolt3‭  ·  last activity 6mo ago by ArrayBolt3‭

71%
+3 −0
Reverse shell with named pipe and netcat

This blog post describes a privilege escalation, exploiting tar's --checkpoint-action option. The privilege escalation is used to solve a TryHackMe challenge. The root user calls tar via cron whi...

0 answers  ·  posted 1y ago by Matthias Braun‭  ·  edited 1y ago by Matthias Braun‭

75%
+4 −0
How do I safely replace brew on Big Sur?

I'm still trying to solve my problem with installing Ruby on a new Mac, and some discussions are saying that I need to reinstall brew because of the change from the old chipset to the M1. (I'm jus...

2 answers  ·  posted 1y ago by Monica Cellio‭  ·  last activity 11mo ago by Monica Cellio‭

22%
+0 −5
Is it possible to write more than 1 equation in LO Math? [closed]

I was using Libre Office Math. I thought I can write multiple equations in LO Math. But, I noticed I can't write more than one equation. I was trying to write multi-line. Unfortunately, I couldn't....

1 answer  ·  posted 1y ago by deleted user  ·  last activity 1y ago by deleted user

28%
+0 −3
Why I can't update my system? (Kali Linux)

I had installed Kali Linux recently. I can't update or upgrade my system. Even, I can't install anything. Here's the error log apt update Get:1 http://kali.cs.nctu.edu.tw/kali kali-rolling InRele...

1 answer  ·  posted 1y ago by Anonymous‭  ·  last activity 1y ago by Anonymous‭

66%
+2 −0
Docking station block playing of audio on laptop

How can I manually set default audio device? I connected docking station and Lubuntu is somehow convinced that it can play audio. I want to continue using laptop speakers. Detaching docking stati...

1 answer  ·  posted 1y ago by Runaway_from_you_know_what‭  ·  last activity 1y ago by Runaway_from_you_know_what‭

40%
+2 −4
How to give password in shell script?

That's my Bash script: #!bin/sh cd qpixel sudo systemctl enable mysql mysql -u root -p rails s When it executes the line mysql -u root -p it will ask for password. To do so, I have tried...

1 answer  ·  posted 1y ago by deleted user  ·  edited 8mo ago by fedorqui‭

50%
+0 −0
How can I access Manjaro without any error? (I had installed two grub-loader)

I was using Manjaro. And, I had Windows alongside Manjaro. I have installed Debian without "removing" any OS (I had removed Prime OS). And, I was using grub-loader of Manjaro earlier (Manjaro's gru...

1 answer  ·  posted 2y ago by deleted user  ·  last activity 1y ago by deleted user

60%
+1 −0
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

I have installed mysql-server on Ubuntu 20.04 then I tried to sign into mysql-server using sudo mysql -u root but I have got Error: Can't connect to local MySQL server through socket '/var/run/mys...

2 answers  ·  posted 1y ago by Kevin M. Mansour‭  ·  last activity 1y ago by Kevin M. Mansour‭

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!

Like what we're doing? Support us! Donate