Accessing Android phone media in Debian

To get Debian to communicate with your Android phone so that you can download/backup your photos, videos, documents, etc onto your computer, you need to install a couple of packages. Open a Terminal and type:

sudo apt-get install jmtpfs gvfs-backends

Make sure when you connect your phone to your PC that (on your phone)  you choose Media device (MTP), not Carera (PTP).

You should now be able to access media on the device by just clicking it on Thunar (file manager).

Don’t forget to Unmount/Eject the drive in Thunar BEFORE removing the USB cable, in the same way you would do with a USB stick.

How to resize/convert images in Debian using ImageMagick

ImageMagick is a powerful image manipulator, best used in a terminal in Linux.

For complete instructions see:  http://www.howtogeek.com/109369/how-to-quickly-resize-convert-modify-images-from-the-linux-terminal/

In brief, for width (preserving the aspect ratio) (change the 200 for your desired width in pixels):

convert example.png -resize 200 example.png

for height (still preserving the aspect ratio):

convert example.png -resize x100 example.png

It is also possible (and easy) to process several images at the same time. For example, the following command would take all PNG files in the current directory, give the all a width of 600px and save a new copy of each with “-600px” added to the beginning of each file name. The directory will now contain the old and the new image files.

for file in *.png; do convert $file -resize 600 600px-$file; done

For complete instructions see:  http://www.howtogeek.com/109369/how-to-quickly-resize-convert-modify-images-from-the-linux-terminal/ (repeated for emphasis!)

See alsoman convert in your terminal or visit http://www.imagemagick.org/Usage/ for a multitude of things that can be done with imagemagick.

Using pacpl to rip CD’s in Debian

First you need to install pacpl. Open a Terminal and type:

sudo apt-get install pacpl

Any dependencies, as usual with Debian, will also be installed.

Ensure that your CD is in the drive, and decide in which directory you want to put the resulting MP3 tracks – I would suggest your Music directory which will probably be /home/[yourname]/Music.  It’s a good idea to create a directory here with the name of the artist, so the files will be put directly into /home/[yourname]/Music/[ArtistsName] as they are copied & ripped.

Then type:

pacpl --rip all --to mp3 --outdir /home/[yourname]/Music/[ArtistsName]

If you want to check the manual, just type:

man pacpl (q to close it)
or
pacpl --longhelp (q to close it)

Updating and Upgrading packages in Debian

Open a Terminal

Firstly you have to update the package list. Type:

sudo apt update

Then, when that has run, you need to upgrade your machine:

sudo apt upgrade

Then to throw the wrapping paper away(!):

sudo apt clean

That’s it, although after a kernel upgrade (ie where a “linux-image” package has been upgraded), it’s a good idea to restart your system so the new kernel can be loaded.

Useful WordPress plugins

Widget Context

Show or hide widgets depending on the page/section of the site that is being viewed.  WidgetContext

FooGallery

Foo Gallery is the most intuitive and extensible gallery management tool ever created for WordPress.  FooGallery

Duplicator

The Duplicator gives WordPress administrators the ability to migrate, copy or clone a site from one location to another. The plugin also serves as a simple backup utility. If you need to move WordPress or backup WordPress this plugin can help simplify the process.  Duplicator

Child Theme Configurator

Creating a Child Theme is a must for anyone who wants to make any alterations to their theme’s stylesheet (style.css), functions, header, footer and other php pages, without running the risk that the next update may wipe out all of your modifications.  The Child Theme Configurator provides a fast, easy and automated way to safely create a child theme. There is great video guide here too to quickly take you through the process.

Shortcodes Ultimate

Using Shortcodes Ultimate you can easily create columns, tabs, buttons, boxes, sliders and carousels, responsive videos and much, much more.  A great way to add more design functionality to your chosen theme.

Skype on Linux

Although Microsoft acquired Skype and incorporated it into their Office 365 suite, and since then into Windows 10, it is still possible to download it for Debian here: https://www.skype.com/en/get-skype/. However, it will only work if you have a 64-bit system.

If you’d prefer not to dabble with this installation you can use a great, yet very simple, alternative directly on the web. See Skype Alternative for more details.

If you’re continuing with the Skype download and installation, you need to choose the Linux DEB package (not Linux RPM or Linux SNAP) which will download skypeforlinux-64.deb into your Downloads folder.

Open a Terminal and change the directory to your Downloads folder:

cd Downloads

Then you need to find the file within your Terminal. You can do this by listing the contents of the directory in the order downloaded so that the skype file is at the bottom:

ls -ltr

Now to install it, you need to type:

sudo gdebi skypeforlinux-64.deb (you’ll be asked to enter your password before you can proceed).

You should now find Skype in your applications menu (Debian) or Internet menu (MX-Linux).

Windows 8 Safe Mode

To access Safe Mode in Windows 8, you need to do so via the Advanced Startup options menu. To restart your computer into the Advanced startup options menu, go to the Windows 8 Start Screen and type Advanced. When the search results appear click on the Settings category.

Now click on the option labeled Advanced startup options and you will see the General PC Settings screen. Scroll down to the bottom until you see an option labeled Advanced startup.

Click on the Restart now button and Windows 8 will restart your computer and go directly into the Advanced Startup options menu.

Then click on the Troubleshoot button and then the Advanced options button. This will take you to the Advanced options screen where you should click on the Startup settings option.

At the Startup Settings screen, click on the Restart button. Your computer will be restarted and brought into the Startup Settings menu as shown below.

You can start Safe Mode in Windows 8 from this screen. There are 3 possible Safe Modes options that you can choose from.

Choose Enable Safe Mode with Networking