I’ve got an alias for python3, ‘py’ – it’s set up as you might expect in my .bashrc file. alias py=’python3′ complete -F _python py The issue is that complete will only work if I try to complete with the base python command python prior. Here’s an example in the terminal log below: ~/askubuntodemo: ls… Read More Issues setting up bash autocomplete for Python3 alias
I’d like to have my system automatically output to all available sound devices (preferably using a sink in Pulseaudio Volume Control). This was possible when using Pulseaudio alone. Is it possible with Pipewire? If yes, how would you achieve this? Is it possible to set this up to be available automatically? >Solution : I finally… Read More How to achieve (automated) simultaneous outputs with Pipewire?
entering sudo in a terminal session, I get the following response: >>> /etc/sudoers.d/sudoers: too many levels of includes near line 30 <<< sudo: parse error in /etc/sudoers.d/sudoers near line 30 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin When I first installed Ubuntu 20.04, I also removed the login requirement… Read More I have succeeded in messing up /etc/sudoers and /etc/sudoers.d/sudoers. I can no longer access either of these files
Vim has a non-removable status bar at the bottom. Nano has the same problem with its title bar. Surely there has to be an alternative for entering text in full-screen without any frills? I often jot down ideas in a full-screen terminal with large font size and a single line space becomes critical. For instance,… Read More Which CLI text editor does not waste screen space?
I want to install xmllint, but don’t know how. I’m running Ubuntu LTS 20.04. >Solution : The tool xmllint is part of the libxml2-utils package As superuser run:- #apt -y install libxml2-utils and the xmllint tool will become available e.g. xmllint –format your.xml
I have attached a screenshot as an example. I want to create my custom search option that executes specific scripts. >Solution : These results are provided by a Gnome Shell search provider. From Gnome Developper Documentation: A search provider is a mechanism by which an application can expose its search capabilities to GNOME Shell. When… Read More How to add custom app tasks in ubuntu activities search ? What is the specific term for that search bar?
It’s all in the title. I’ve tried installing from the guest additions CD by running the .run file on there. Though, most of the time, Xubuntu seems to be utterly incapable of mounting the CD in such a way that it shows it as anything other than an empty volume. I’ve also tried all these… Read More Unable to Get Drag & Drop to Work on Xubuntu 20.04 with VirtualBox 6.1.30
I recently installed TLP on my machine since it is recommended to stop overheating and conserve battery power, but I would like to know how to actually use it, configure it, start it, stop it, etc. >Solution : Introduction TLP is a feature-rich command line utility for Linux, saving laptop battery power without the need… Read More How to use TLP to prevent overheating and conserve battery?
I use Wsl Ubuntu 20.04 LTS. I don’t know why but all users were deleted. I created a new user. I wish I had not done passwd: tetemp:x:1000:100::/home/tetemp: and now $ adduser root adduser: Only root may add a user or group to the system. $ sudo adduser root sudo: unknown user: root sudo: unable… Read More Deleted all users in WSL
I am new to Ubuntu. I just installed it as a VM on VirtualBox. Every time the screen locks, I see the time. I am trying to suppress the display of the time. According to this page, I have to edit /usr/share/gnome-shell/theme/ubuntu.css and set font-size to 0pt. The only file under in the folder tree… Read More Suppress display of time on Ubuntu lock screen