Categories
Development Linux Ubuntu Windows

How to switch windows of the application in Ubuntu 18.04

How to switch between windows of the same application in Gnome in Ubuntu 18.04? For example, if you have two Nautilus windows open, Alt+Tab will go to the next application (say, browser) but not the second windows of Nautilus.

Categories
Development Linux Ubuntu

Ubunto 19.10 can’t install Controller Update?

Every time I restart my computer and open up “Ubuntu Software” I have a Controller update that says ThinkPad P53/P73 Embeddd Controller Update 0.1.7 -> 0.1.08. I click update and no errors appear but it seems to install quicker than would be possible (quite instantaneously) which makes me think that my machine isn’t actually updating. […]

Categories
Development Linux MySQL SQL Ubuntu

problems resetting mysql root password

I have issues resetting the root password for my mysql server on Ubuntu 19.10: I followed the instructions on https://websiteforstudents.com/resetting-mysql-root-password-on-ubuntu-16-04-17-10-and-18-04-lts/ and everything goes like the instructions say until I get to the step where I login with sudo mysql -u root. I get the following error: ERROR 2002 (HY000): Can’t connect to local MySQL server […]

Categories
Development Linux Ubuntu

sound output from headphones not detected, only input source gets detected

I have a lenovo ideapad s540 with dual boot windows 10 and ubuntu. On windows everything works fine but on Ubuntu when I plug my headphones only the mic source gets detected and works but the sound doesn’t. I tried using an audio jack splitter and plugging in only the audio jack and it still […]

Categories
Development Linux Ubuntu

Apt-get update getting stuck at 0% while connecting to repository

I installed a new Ubuntu on Hyper-V. Since I changed IP address, when I put in console apt-get update, it shows me: 0% [Connecting to de.archive.ubuntu.com (141.30.62.23)] [Connecting to security.ubuntu.com (91.189.91.24 and it’s stuck at this. I disabled IPv6 and ufw. What else can I try?

Categories
Development Drivers Linux Ubuntu

Ubuntu Audio Intel Drivers on AMD System?

After a recent update, my Logitech desktop speakers started making a periodic popping noise, as described in this post. Funnily enough, the command echo 0 | sudo tee /sys/module/snd_hda_intel/parameters/power_save does indeed fix the issue temporarily on my computer. However, I am a bit confused, as I don’t think I have any Intel hardware on my […]

Categories
Development Linux Ubuntu

How to convert my code?

As far as I see I have to use printf instead of print if the result contains decimal point for some fields. for f in mat1*; do awk ‘{for(i=2.0;i<11.0;i+=2) print $1,$2,$3,i,$(i/2+1)}’ <$f >$f.out mv $f.out $f done I tried the latest. for f in mat1*; do awk ‘{for(i=2.0;i<11.0;i+=2) printf “%s %s %*.*1f\n”, $1,$2,$3,i,$(i/2+1)}’ <$f >$f.out […]

Categories
Development Linux Ubuntu

python pip3 not installing

when i typed sudo apt install python3-pip Reading package lists… Done Building dependency tree Reading state information… Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out […]

Categories
Development Linux Ubuntu

Question about cifs, fstab and automount

I am relatively new to Linux/Ubuntu. I have looked high and low on this one and the closest articles I found are: Fstab mount smbfs share for user noauto asking for password via GUI Here is what I am trying to accomplish: trying to automount a network drive at boot time. I am currently running […]

Categories
Development Linux Ubuntu

Can’t access web servers from outside network after server connects to vpn

So I have Ubuntu 18.04 server installed with several docker’s running different Web applications for example (plex). I have port forwarding setup and I can connect to all web apps just fine on network and outside network. My problem is once I setup openvpn on the host the dockers are running on all outside access […]