If audio output device set to Dummy Device reset audio as follows:
pulseaudio --kill; sleep 2s; sudo alsa force-reload ; pulseaudio --start
Restart audio application(s), e.g. Spotify
This works with Ubuntu 18.04 and may work for other versions too
Linux variant primarily used on Desktops and Laptops.
If audio output device set to Dummy Device reset audio as follows:
pulseaudio --kill; sleep 2s; sudo alsa force-reload ; pulseaudio --start
Restart audio application(s), e.g. Spotify
This works with Ubuntu 18.04 and may work for other versions too
To fix do the following
sudo apt install xul-ext-lightning
Ref: StackExchange
ls /media
sudo mkdir /media/windows
mount -t ntfs-3g -o ro /dev/sda3 /media/windows
If you need to completely remove VirtualBox, e.g. because a new version install fails preventing future installations then from the Console run commands below:
List VirtualBox installations
sudo dpkg -l | grep virtualbox
Example below
sudo dpkg -l | grep virtualbox rc virtualbox-4.3 4.3.30-101610~Ubuntu~raring amd64 Oracle VM VirtualBox iW virtualbox-5.0 5.0.28-111378~Ubuntu~trusty amd64 Oracle VM VirtualBox
Purge these installations in sequence replacing 4.3 and 5.0 with your versions and answering ‘Y” to questions
sudo apt-get purge virtualbox-4.3 virtualbox-qt
sudo apt-get purge virtualbox-5.0 virtualbox-qt
After reboot you should be able to reinstall VirtualBox without errors
Install Subversion (SVN) as follows:
sudo apt-get install subversion
This command exports the GitHub PROJECT folder and subfolders and to DEST
svn export https://github.com/USER/PROJECT/trunk/PATH DEST
Suffix the PROJECT folder with /trunk and append the folder /PATH you wish to download. If the DEST folder does not exist it is automatically created.
For example the following command copies Tutsplus 30-days-to-jquery/lessons folder to lessons folder on the local drive:
svn export https://github.com/tutsplus/30-days-to-jquery/trunk/lessons lessons
In Linux/Ubuntu to create an ISO from a CD/DVD is simplicity itself using the DD command
Use lsbk to determine the CD device name
lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.8T 0 disk ├─sda1 8:1 0 50G 0 part / ├─sda2 8:2 0 10G 0 part [SWAP] ├─sda3 8:3 0 1.6T 0 part /home └─sda4 8:4 0 50G 0 part sdb 8:16 0 1.8T 0 disk ├─sdb1 8:17 0 100G 0 part ├─sdb2 8:18 0 20G 0 part ├─sdb3 8:19 0 250G 0 part ├─sdb4 8:20 0 1K 0 part ├─sdb5 8:21 0 50G 0 part ├─sdb6 8:22 0 1000G 0 part /media/NTFS_DATA └─sdb7 8:23 0 443G 0 part sr0 11:0 1 25.6M 0 rom /media/mike/NEW loop1 7:1 0 25.6M 1 loop /media/iso
Create ISO file with DD
dd if=/dev/sr0 of=/home/mike/Downloads/test.iso
Create Mount Point
sudo mkdir /media/iso
Mount ISO file
sudo mount -o loop /home/mike/Downloads/test.iso /media/iso
Unmount ISO File
sudo umount /media/iso
Remove Mount Point
sudo rmdir /media/iso
BASH (Bourne Again SHell) is the default command line shell used in Ubuntu and Kubuntu and many other Linux distributions. BASH allows you view and manipulate the command line history.
The following examples are from Kubuntu Konsole
List History
user@hostname:~$ history 1 sudo restart 2 sudo restart --help 3 reboot 4 sudo reboot . .. ... 709 history user@hostname:~$
List last 10 lines of history
user@hostname:~$ history 10 700 dmesg | less | grep error 701 sudo nano /etc/modprobe.d/alsa-base.conf 702 history 703 ls 704 cd Annex 705 cd Annex 1 706 cd Music 707 cd ..
Follow the steps below to disable mouse middle or wheel click button:
From Terminal run xinput to discover the mouse device name
xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Microsoft Microsoft® Classic IntelliMouse® id=10 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Power Button id=7 [slave keyboard (3)] ↳ Belkin Corporation Flip CC id=8 [slave keyboard (3)] ↳ LITE-ON Technology USB NetVista Full Width Keyboard.
This cure is applicable to Linux based systems such as Kubuntu and Ubuntu.
Stop those annoying pop-ups intruding into your workspace by simply running Spotify Music player in a second desktop window and leave it maximised as follows: