How To Reset Ubuntu To Default Settings

Ubuntu works very well, but sometimes unfixable issues arise. If you’re trying to use your Linux PC to get work done, the last thing you should have to worry about is fiddling with the desktop environment, tinkering, and troubleshooting. Unfortunately, there isn’t a button in Ubuntu that users can click to “reset Ubuntu to default settings like in Windows 10 or Chrome OS. Instead, users looking to completely reset Ubuntu to default settings have to jump through some serious hoops.

In this article, we’ll break down two ways to quickly reset Ubuntu to its original state; the Dconf method and the Live Disk method. The Dconf method resets a single user to default though it can be used to reset multiple users. The Live Disk method is more thorough and it will reset your entire Ubuntu installation.

Reset Ubuntu – Dconf

If your Ubuntu Linux desktop is messed up and you’re looking to get it back to the original settings, a great way to do it is to use the built-in Dconf editor. Dconf is an integral tool for all desktop environments built with GTK. Gnome, Cinnamon, XFCE4, and LXDE; they all use it.

To reset Ubunutu, open up a terminal window and run the following command. Please understand that doing a Dconf reset is serious business. It will delete everything on your Desktop environment. This means shortcuts, icons, etc. Only run this if you are absolutely sure.

Note: Dconf reset is done on a per-user basis. It won’t reset the Ubuntu desktop for everyone on the PC. To reset multiple users, run this multiple times.

dconf reset -f /

When Dconf reset finishes, restart your PC. When you log in, everything will look exactly as it did when you first installed Ubuntu. It should also be noted that this command resets settings for many different Dconf-dependent programs (music players, the file manager and etc), so you may have to re-set that up too.

Reset Kubuntu Desktop

The Dconf reset method works very well with versions of Ubuntu that make use of GTK. Kubuntu is not one of those Linux distributions. Since Kubuntu uses KDE, the above method won’t work. Instead, if you’d like to reset the KDE desktop on your Kubuntu PC, follow these instructions.

Note: much like the Dconf reset, removing the Plasma configuration works on a per-user basis. You must re-run this command on every user you want to reset the desktop on.

Open up a terminal window and delete the default Plasma configuration with the following command.

rm -rf .kde/share/config/plasma-*

Additionally, you may want to remove several Plasma files from your own user directory. These Plasma files are in ~/.config and help set the desktop for individual users. Delete them with the rm command.

cd ~/.config

rm plasma*

After removing the Plasma configuration files, things are going to start breaking. Click the KDE application icon, find the log out button and click it.

As you log back into the Kubuntu desktop, the desktop should look exactly the way it did when it was first installed.

Reset Ubuntu – Live Disk

Using the Dconf reset method works very well if all you want is to reset the way Ubuntu looks on the surface, and maybe a few GTK programs. However, if your Ubuntu installation is broken beyond repair, Dconf isn’t going to be enough.

The best way to fully reset Ubuntu to stock settings is to re-install the operating system. However, we won’t be doing a traditional re-installation where the hard drive is deleted, and you lose your files. Instead, we’ll be taking advantage of a great Ubuntu feature that allows the user to “re-install” it but keep all their files.

Going this route is a last resort, and will refresh the core components of Ubuntu. To get started, you will need to create a Ubuntu live disk. Plug in the Ubuntu live DVD/USB, and turn off your PC. Open up the BIOS and configure it so that the Ubuntu live installer loads first.

When Ubuntu loads up, click the “Install Ubuntu” button to start the installation process. On the next page, be sure to select “Download updates” and “install third-party software”, if you chose that option for the original installation.

Move through the installer till you get to the “Installation Type” page. This is the most important page of the entire installer, as it is where users set the type of Ubuntu install.

Look through the lists, and find the option that says “Reinstall Ubuntu”. Selecting this option will erase the core operating system files, but keep stuff like Music, Documents, etc on the hard drive.

Once “Reinstall” is selected, click through and finish up the rest of the Ubuntu installation.

Note: be sure to create the same username in the installer that you used before

When Ubuntu finishes the Re-installation process, a pop-up message will appear letting you know that the process is complete. Click “Restart Now” to reboot. When you log in, Ubuntu will be completely reset to the defaults.

Read How To Reset Ubuntu To Default Settings by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Play Sony PSP Games On Linux With PPSSPP

Those looking to play your favorite Sony PSP games on the Linux platform need to try out PPSSPP. It’s a Sony PSP emulator written in C++. The emulator works very well on nearly any Linux distribution. Best of all, it takes all PSP CPU code and optimizes it to work with regular computer CPUs.

Note: Addictivetips in no way encourages or condones the illegal downloading or distribution of ROM files for PPSSPP. If you want to play Sony PSP games with PPSSPP, please use your own game ROM files you’ve backed up to your PC, legally.

Install PPSSPP Emulator

Getting the latest version of the PPSSPP emulator for Linux can be challenging at times. Some Linux distributions choose to package it, and others don’t. It is possible to find installable binary packages, but not every OS has them. It is because of this, in this guide, we’ll be working with an archive binary instead.

Ubuntu/Debian

Ubuntu and Debian users should be able to run the PPSPP emulator once the correct dependency is installed. In this case, PPSSPP requires libsdl2-dev. Install it on Ubuntu or Debian with:

sudo apt install libsdl2-dev

If you’re using an older version of Debian that doesn’t use apt, replace apt with apt-get.

Arch Linux

Install PPSSPP via the Arch Linux User Repository.

To get it, grab the latest AUR package with git.

Note: be sure to install “git” before attempting this

git clone https://aur.archlinux.org/ppsspp-git.git

Using CD, enter the clone directory.

cd ppsspp

Lastly, use makepkg to build and install the program.

makepkg -si

Fedora

PPSPP works fine on Fedora in binary form, once SDL2-devel is installed. To install this package, open up a terminal and enter the following command:

sudo dnf install SDL2-devel

OpenSUSE

SUSE, like other Linux distributions in this guide, require an SDL library to run the PPSSPP emulator software. Follow these instructions to get the correct SDL files.

First, add the external game repository (Leap 42.3)

sudo zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/games/openSUSE_Leap_42.3/ opensuse-games

(Tumbleweed)

sudo zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/Emulators/openSUSE_Tumbleweed/ opensuse-emulators

Then, use the Zypper package management tool to install the software.

sudo zypper install libSDL2-devel

Other Linuxes

The program should work as-is on your PC. The only real requirement here is that you install SDL2 development libraries. Consider heading over to pkgs.org and searching for “SDL2 develop”. Pkgs.org has a long list of binaries, as well as instructions on how to install from nearly every Linux distribution (even the obscure ones).

If you can’t find it on this website, consider looking in the official manual of your OS for “SDL2”.

With all of the dependencies required to run the binary installed, all that is left is to download the program. Go here, scroll down and select “Linux.” Be sure to select “dev-working.” When the download is complete, open up a terminal window and use CD to move to the ~/Downloads directory.

cd ~/Downloads

Make a folder to unzip the file using mkdir.

mkdir ppsspp-emulator

cd ppsspp-emulator

Unzip the program.

mv "ppssppbuildbot-org.ppsspp.ppsspp-dev-working-linux-amd64.zip" ~/Downloads/ppsspp-emulator/

unzip *.zip

rm *.zip

Lastly, move the program into your /home/ folder.

mv ~/Downloads/ppsspp-emulator/ ~/

Using PPSSPP

To use the PPSSPP emulator, go to /home/username/ppsspp-emulator/ with your file manager, right-click on “PPSSPPSDL” and run it. Clicking PPSSPPSDL opens the main emulation window. In this window, you’ll need to use the arrow keys to navigate and enter to select things.

To load a PSP ROM file, press the right arrow key and move to “Games.” Selecting “Games” exposes PPSSPP to the /home/ directory. Select your username, then find the PSP ROM inside your home directory. Press enter to load up any selected ROM file.

To close a game while it’s currently playing, press ESC to open up the main settings area in-game. From there, use your keyboard (or gamepad) and select “exit”. This should quit the ROM. On the main menu, select “exit” once again to quit PPSSPP altogether.

Saving And Loading

Unlike a lot of other emulators, the save menu for PPSSPP is only accessible when ROMs are running. To save a game, press ESC on the keyboard. Pressing this key reveals the central settings area for PPSSPP, including 5 save state slots. Whenever you’d like to save, access this menu then use the up or down arrow keys to find a save slot, and enter to start the saving process.

To save multiple times, simply select different slots before saving.

Loading a save state in PPSSPP also happens in the ESC menu. At any time, press ESC on the keyboard, and use up or down arrow keys to select a saved game. Once you’ve found the saved game you want to load, press enter to load it up.

Graphics And Audio Settings

Looking to change graphics for the PPSSPP emulator? Select “Settings” on the main menu with the arrow keys and press enter to open it. Inside “Settings,” look for “Graphics” and press the enter key. Inside the graphics area, users can change the rendering mode, as well as framerate control, and even such settings as post-processing control.

To enable fullscreen mode with PPSSPP, look towards the bottom of the “Graphics” area of settings and click the check-box to enable it.

In addition to the graphics options, the PPSSPP emulator has some pretty decent audio settings as well. To access these settings, select “Audio” in the settings window. In “Audio” users can enable/disable sounds, change the volume of the emulator globally, change the audio-latency as well as sound speed hacks, etc.

Configuring A Controller

To configure a gamepad with PPSSPP, plug in a compatible joypad, open up “Settings” and select “Controls” in the menu. From there, click  “control mapping” to open up the controller binding tool. By default, PPSSPP should assign controls automatically. Chances are your gamepad will work out of the box.

With all that said, the default controls may not work for everyone. If you’d like to manage the different mappings, go through and click on the + symbol to re-assign controls.

Read How To Play Sony PSP Games On Linux With PPSSPP by Derrik Diener on AddictiveTips – Tech tips to make you smarter

6 Best KDE Plasma 5 Widgets For Your Linux Desktop

One of the best things about being a KDE Plasma 5 user is the selection of widgets they let you install. Thanks to these widgets, users can modify the default experience in favor of something that better suits their needs. People love KDE Plasma 5 widgets and they’re spoiled for choice.  This makes finding good widgets difficult for new users. Since there are so many to choose from, we’ve decided to cover some of the most recommended ones for the KDE 5 Plasma desktop.

Note: each of the KDE Plasma widgets on this list is from the KDE Store.

1. KDE Connect

KDE Connect is the best that the Plasma desktop has to offer. This widget allows the Plasma desktop to really stand out from other desktop environments on Linux. With the KDE connect widget, Plasma users can get quick access to notifications, text messages, and more.

Along with syncing notifications, the KDE Connect widget chas the ability to control the connection to a Linux PC with the phone, and even write text too. KDE Connect is a must-have widget for any KDE Plasma fan with an Android phone.

Interested in learning how to use KDE Connect? Go check out our guide on how to set it up!

2. Redshift Control

A great way to mitigate blue light on the Linux desktop is with Redshift. It’s a command-line based, open source tool that changes the color of your screen depending on the time of day. This program is very popular, especially with users who use their systems for extended periods of time. Trouble is, Redshift is a terminal app, and not everyone has time to mess with it.

Introducing Redshift Control. It’s an easy to use control tool for Redshift in the form of a Plasma 5 widget. With it, users can quickly adjust and use the Redshift blue light filter app without creating startup scripts, messing with configuration files and etc.

If you love Redshift but hate configuring it with the terminal, do check this widget out. Check out its page on the KDE Widget store to learn more!

3. Win7 Volume Mixer

One of the great things about Windows is the volume mixer and its features. Most notably, how it sorts sound output by individual applications and lets you control volume for individual apps. On Linux, the volume is managed a different way (with the Pulse sound server), and most desktop environments treat everything as one output.

It turns out that this stellar Windows feature has been brought to the KDE Plasma 5 desktop via the Win 7 Volume Mixer. Like Windows, this widget sorts volume output based on applications, devices and etc. In addition to sorting sound output better, it also adopts the Windows feature of allowing users to quickly get to sound device properties (with a simple right-click).

Anyone who loves KDE Plasma but hates the default sound applet needs to give Win7 Volume Mixer a try.

4. Event Calendar

The default Plasma 5 calendar is decent for basic usage but lacks features that most users have come to rely on. This is especially apparent if you compare the default calendar to the Gnome Shell Calendar (which has built-in Google Calendar support). If you’re looking to find a better calendar widget for your Plasma 5 panel, look no further than Event Calendar.

Event Calendar has a ton to offer and is an obvious improvement on the basic KDE widget. Notable features include built-in Google Calendar support, weather forecasts, and even a productivity timer.

Like most widgets, Event Calendar is on the KDE Store.

5. KSmoothDock

KSmoothDock is a fully-functional, modern dock and panel widget replacement for the KDE Plasma desktop environment. Visually, it’s heavily inspired by the dock design used by Apple and even uses the same “zoom” effect when hovering over programs.

Even though KSmoothDock is very Apple-like, it still remains, at its core a Linux application and mimics a lot of panel functionality. Features for the KSmoothDock include support for the KDE app menu, favorites, calendar/clock, workspaces and etc.

Overall, this widget is great to use if you love the KDE Plasma desktop but want a nice dock rather than the traditional layout. Download the widget from the KDE Store here.

6. Simple Menu

Minimalism is hip these days, especially on operating systems. In a world where we are overloaded with options, simplifying things can be a breath of fresh air. Introducing the Simple Menu widget. It’s a slimmed down, simplistic application launcher for the Plasma desktop.

Having a simplistic menu is really appealing to those that love using KDE Plasma 5, but really don’t love the overload of options within the default application menu. We can’t say that this menu is for everyone, and that’s why it’s at the bottom of the list, but if you find yourself completely ignoring the “favorites” section of the app launcher, or routinely find yourself wishing KDE had a minimalistic app menu, do consider giving this widget a go.

Read 6 Best KDE Plasma 5 Widgets For Your Linux Desktop by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Use VLC With Chromecast On Linux

VLC is distributed on most Linux distributions. Unfortunately, that version is most likely version 2.x, and not the new 3.0 version. One of the major new features added to VLC 3.0 is support for Chromecast. If you want to use VLC with Chromecast, and watch videos, you will need to upgrade to version 3.0. There are several ways to do this.

Upgrade To VLC 3.0

To start off, refresh the update manager tool on your Linux PC and install any updates. It’s very likely that there is a new VLC update waiting. If you’ve installed all updates and you’re still not on VLC 3.0, follow the instructions below next to your Linux distribution.

Remove Old Version

For some reason, many Linux distributions — despite the fact that VLC 3.0 is stable, do not package it. Additionally, the “stable” software repositories out there are very iffy. To solve this problem, we’ll mainly be focusing on upgrading VLC with Snap and Flatpak. If you’re not interested in using Snaps or Flatpaks, consider downloading the code for VLC to compile it from source.

Before going further in this tutorial, please open up a terminal and uninstall VLC from your Linux distribution. Then, follow the instructions to use version 3.0 in Snap or Flatpak format.

Note: Arch Linux should already have version 3.0 in the software repositories, so if you’re on Arch just update your PC and follow the rest of the tutorial.

Remove From Ubuntu/Debian

sudo apt remove vlc --purge

or

sudo apt-get remove vlc --purge

Remove From Fedora

sudo dnf remove vlc

Remove From OpenSUSE

sudo zypper remove vlc

Installing VLC 3.0

Now that the older version of VLC has now been removed from the system, it’s safe to use Snap and Flatpak to upgrade to a newer version of the software. Follow the instructions below to install.

Installing VLC 3 via Snap

Snap has version 3.0 of VLC available for use. Follow our guide to set up your Linux PC to install Snaps. Once you can install Snaps, use the command below to install the latest version of VLC.

sudo snap install vlc

Remove the VLC video player at any time from Snap with:

sudo snap remove vlc

Installing VLC 3 Via FlatPak

Thanks to the folks at Flathub, VLC 3.0 is downloadable. To install the Flatpak version of VLC 3, you’ll first need to follow our tutorial on how to enable Flatpak support on your Linux PC. Enable it, then open up a terminal and use the following command to install the software.

flatpak install flathub org.videolan.VLC

Need to uninstall VLC from Flatpak? Try:

sudo flatpak uninstall org.videolan.VLC

Ubuntu 18.04 LTS

While it is considerably difficult to get the latest stable version of VLC (3.0) on current versions of Ubuntu, the new LTS will have it available. Ubuntu 18.04 releases on April 17th. Don’t want to wait that long? Check out our guide on how to use Ubuntu 18.04 early.

To install VLC 3 in Ubuntu 18.04, do:

sudo apt install vlc

Use VLC With Chromecast

Playing video files from VLC to a Chromecast device on Linux is easy. Start off by opening up the VLC player. Select the “Media” button, look for “Open File” and select it. Using the file browser that opens up, browse to add your favorite video file. Alternatively, hold Shift down on the keyboard as you click with the mouse. Pressing this keyboard combination allows VLC to open multiple video files at once and add it to the playback playlist.

Next, click the play button to start the VLC playback, and let it go as normal. It’s important you test the playback to see if everything is working normally. If the playback fails, you may not want to try to cast.

If the video file plays normally, click the “Playback” button, and look for “Renderer”.  By default, VLC will have “local” selected. Local just means that the program is rendering out the video. Underneath “local”, VLC should list various Google Chromecast (and Google Cast-enabled devices like Smart TVs, Android TVs and etc).

Select your Chromecast in the menu to swap the rendering playback from your PC to Google Chromecast. From here, you’ll be able to use the VLC playback window as a remote control.

Need to stop playback? Simply close the window. To disconnect playback from Chromecast without ending the playback, go back to “Playback”, click “Renderer” and change it from a Chromecast back to “local”.

Chromecast On Linux

The new VLC 3.0 allows users to easily play local media from Linux to Google Cast devices. However, problems can arise sometimes. If you’ve had trouble casting your media with VLC on Linux, consider checking out our guide on the Castnow tool. It’s a terminal application that allows users to “cast” local media to Google devices via the Linux terminal.

In addition to Castnow, Google Chrome for Linux has built-in Google Cast support. If VLC and Castnow don’t work to your liking, a third option would be to install Chrome. The Chrome browser along with the DriveCast extension allows anyone to play files from Google Drive to Chromecast.

Read How To Use VLC With Chromecast On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Upgrade To Libre Office 6.0 On Linux

Libre Office 6.0 has been released! If you’re running an older version and you’re excited to try new features, now may be a great time to install the upgrade. In this article, we’ll go over all the different ways users can upgrade to the latest version of Libre Office.

In order for Libre Office to upgrade to the latest version, you need to be running Ubuntu, Debian, Arch Linux, Fedora, OpenSUSE, have the generic binary installed, using Snap packages, or Flatpaks.

Ubuntu

Libre Office 6.0 should be shipping with the latest version of Ubuntu (18.04), so a great way to get the new version would be to follow the upgrade path on April 17th. Don’t want to wait that long? First, check the update manager in Ubuntu. To check it, press the Windows key on your keyboard, type “update” click on the update manager to open it.

Use the Ubuntu update tool to install all of the latest updates for your PC. Once everything is up to date, open up a terminal window and add the official Libre Office PPA.

sudo add-apt-repository ppa:libreoffice/ppa

Using the apt update command, we can tell Ubuntu to add the new Libre Office PPA to the system.

sudo apt update

Now that the new PPA is present, go back to the Ubuntu update tool and check for updates yet again. The new version of Libre Office (6.0) should appear as an update. Using Ubuntu, install the updates normally. Alternatively, use apt upgrade.

sudo apt upgrade

Debian

Debian Stable ships with Libre Office, but it’s usually pretty out of date and because of the way Debian works, it’s very unlikely that the new version appears on your PC as an update. If you want Libre Office 6.0 on your Debian Linux PC, you’ll need to follow these steps.

First, uninstall the old version of Libre Office included in Debian.

sudo apt-get remove libreoffice-*

Once the old version of the office suite is off of Debian, go to the Libre Office website and grab the 6.0 version. There are 64-bit and 32-bit DEB packages available. When the download finishes, use the terminal to CD into the download directory.

cd ~/Downloads

Even though we downloaded Libre Office in the Debian package format, we still have to deal with a Tar archive. Use this command to extract the Libre Office 6.0 archive.

tar -xvzf LibreOffice_*_Linux_x86-64_deb.tar.gz

After extracting everything, use CD to move the terminal into the “DEBs” folder.

cd LibreOffice_*_Linux_x86-64_deb/

cd DEBS

Finally, use the dpkg tool to start the installation of Libre Office 6.0.

sudo dpkg -i *.deb

Arch Linux

Given that Arch Linux is a bleeding-edge style Linux distribution, you should already have version 6.0. If, for some reason you don’t, use this command to upgrade.

sudo pacman -U libreoffice-fresh

Don’t have it installed? Use the Pacman package tool to install it.

sudo pacman -S libreoffice-fresh

Fedora And OpenSUSE

Currently, on Fedora, users only have access to version 5.4. To upgrade your version of the office suite to 6.0, follow these steps. First, download the latest RPMs for Libre Office 6.0. There are 64-bit and 32-bit versions available. Once downloaded, uninstall the version of Libre Office already on your PC.

Fedora DNF

sudo dnf remove libreoffice-*

Suse Zypper

sudo zypper remove libreoffice-*

Note: OpenSUSE users, feel free to follow these instructions as well.

Next, extract the RPM archive.

cd ~/Downloads

tar -xvzf LibreOffice_*_Linux_x86-64_rpm.tar.gz

Using CD, enter the RPM folder.

cd LibreOffice_*_Linux_x86-64_rpm

cd RPMS

Use the package tool to install the Libre Office 6.0 RPM files.

Fedora DNF

sudo dnf install *.rpm

Suse Zypper

sudo zypper install *.rpm

Snap Package

Snap Packages are a great way to keep software up to date, especially because developers only have to put stuff in the Snap store and the user doesn’t have to deal with anything. If you’re running Libre Office via a Snap from Snapcraft, you’ll be able to easily upgrade to version 6.0. To update, open up a terminal and run the snap refresh command. This command goes out and downloads new versions of the snaps you’ve got on your PC.

sudo snap refresh

This command should automatically upgrade to the latest version of Libre Office. If it doesn’t, consider re-installing the Libre Office snap, to purge the old version in favor of a newer one.

sudo snap remove libreoffice

sudo snap install libreoffice

Flatpak

Along with Snaps, Flatpak is a great way to use Libre Office. All software updates are taken care of on the development side, and the user doesn’t have to worry. To get version 6.0 of Libre Office, just update Flatpak and install updates.

flatpak update

Running this update should install the new version of Libre Office 6.0. If it doesn’t work, re-install it with:

flatpak uninstall flathub org.libreoffice.LibreOffice

flatpak install flathub org.libreoffice.LibreOffice

Binary

Using Libre Office on Linux via a downloadable binary? If you’re looking for the newest version, you’ll need to download it and install manually. Keep in mind that this way of using Libre Office is very tedious. Consider installing via Flatpak or Snaps instead.

Read How To Upgrade To Libre Office 6.0 On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter