Visit my blog from now on on
With a format string you may embed string variables inside an string statement. For example, I can embed my a variable with name at the end of a string like “My name is ” by inserting the %s escape character inside this string.
victor = "Victor Alvarez" print "My name is %s." % victor
The result is the printing of the string:
My name is Victor Alvarez.
Debian Linux, by default, uses the deb packages, the aptitude package manager and the apt-get command-line tool, which enables users and admins to administer the installation, removal and updating of all the software on their systems (those which are installed and managed by apt). In this tutorial I’ll show you how to update your software on Debian Linux without upgrading the Operating System version by running one command on your bash shell terminal. For this to work, you need to be part of the “sudo” group on your system. You will also need to know your user password.
apt-get, the APT-based command-line tool for handling packages, provides a simple, safe way to install and upgrade packages – The Debian GNU/Linux FAQ
Chapter 9 – Keeping your Debian system up-to-date
Update package list and update the software packages to the newest version supported by your system:
Run the following command on your terminal emulator, with a bash shell.
sudo apt-get update && sudo apt-get upgrade
The “&&” bash command tells your system to run one apt-get command after the other as long as the first command completed successfully. “apt-get update” updates the package lists on your system, and “apt-get upgrade” update your software to the newest stable versions supported by your current OS version. After entering these commands, your system will ask you to confirm changes to the software. You may also add the “-y” argument to “apt-get upgrade” command to confirm almost all changes without further interactions.
Yesterday I installed and attempted to run the SanDisk’s Connect Drive app so I could access my wireless flash drive from my Android smartphone. However, the app refused to run, trowing an notification explaining that the ‘screen overlay settings‘ must be turned off, or else access permissions could not be set. This problem persisted until, after launching the ‘recent application menu‘ (with the square button), I noticed a ‘ES file explorer’ window appeared, signaling that this app was running. However, I did not open this app. I realized then, that maybe this app caused the problem by actively drawing over other apps. As soon as I uninstalled ES file explorer, Connect Drive let me set permissions and my wireless flash drive worked flawlessly.
On your xfce menu, open
Settings > Settings manager > Keyboard > Shortcuts.
There you may find a menu where you can set and reset keyboard shortcuts. The Lock screen shortcuts are CTRL-ALT-L and CTRL-ALT-DEL by default. I also set the Windows super key to open the desktop menu.
To set this, scroll down the panel and press add.
In the “Command” field, enter
and press OK.
Now, without pressing any other keys, press the super key. Now it’ll be set and look like this, depending on your theme and color settings.
Test it, when pressing your super key, the menu must show up.
You may repeat this same process for other shortcuts. I like to set a shortcut to open a terminal emulator with the
lxterminal command and the CTRL-ALT-T combination.
For school work I use MS Windows 10. However, for personal and hobby work I prefer Debian Linux. As of December, 2017 I’m using Debian 9 Stretch and Ubuntu Xenial on two different systems. I also use the SDF.org NetBSD system where I host my Portfolio. By 2018 I expect to expand my use of SDF.org system, practice embedded programming with a Beaglebone black, prepare a simple Raspberry Pi Zero server and publish more projects on Github.