By releasing version 0.96, the feature-rich screenshot application is finally ported to GTK3, making first step to get back to Ubuntu universe repository.
Shutter 0.96 does no longer depends on goocanvas, Gnome wnck, GTK2 version of image viewer widget, unique and appindicator module. Instead, it now requires GTK3 version of image viewer widget, GooCanvas2, and libwnck-3.
The release also remove the option “Captures only a section of the window”. because it didn’t work with the way how modern Qt and Gtk were drawing their windows anyway.
There are also possible issues including:
Multiple screens might or might not be broken
HiDPI screens might do screenshot of a nested menu in a wrong place
Get Shutter 0.96:
At the moment of writing no binary package is available to install, but only source tarball which is available in the link below:
For Ubuntu and Linux Mint users who like this screenshot tool, keep an eye on linuxupring PPA and xtradeb PPA, both maintains most recent Shutter packages.
Want to run a command or a script daily, weekly, monthly, or on other given schedule? It’s easy to do this in Ubuntu via cron job.
Cron is a time-based job scheduler to run command or script periodically at fixed times, dates, or intervals. It’s typically used for system maintenance or administration, though it can be useful for general purpose, e.g., downloading file from internet at regular intervals.
1. Edit crontab files:
Users can set up a cron job easily by configuring crontab file by crontab command. It’s pre-installed in Ubuntu based systems. And each user has its own crontab config file.
b.) Schedule task for current user:
To run command or script by current user, simply open terminal from system app launcher and run command:
crontab -e
For the first time, it will prompt to select an editor to edit the config file. Choose one you prefer or press Enter to use the default nano text editor.
b.) If need root or sudo privilege:
For command or script need sudo or root user privilege, you may run following command instead:
sudo crontab -e
It will create (if not exit) or open the configuration file for root user.
c.) Specify a user to run the schedule task:
You can add -u <user_name> flag to specify the user, ji for instance.
sudo crontab -u ji -e
User can be root, so it will do the same to sudo crontab -e:
sudo crontab -u root -e
2. Set time interval, command or script to run periodically:
After running a command in step 1, it opens the configuration file in the terminal window (or command console).
Now scroll down and add a new line:
* * * * * <command or script>
The first 5 asterisks “*” specify the time and date, change them accordingly.
Examples:
a.) For example, to run a python3 script under my Documents folder at midnight (00:00) every Sunday, use:
0 0 * * 0 python3 /home/ji/Documents/script.py
Here:
the first 0 specifies the minute, use * for every minute.
the second 0 specifies the hour, use * for every hour.
the third flag * specifies the day of month, every day if week day not specified.
the forth flag * says every month.
the fifth flag (third 0) specifies the week day. From 0 to 6 mean Sunday to Saturday.
b.) Run echo "hello world!" command everyday at 16:30, add this line:
30 16 * * * echo "hello world!"
c.) You can use */n to run for every n-th interval of time. And use multiple specific time intervals with commas.
For instance, run the command every Friday at first, second, an third hour every 5th minute (01:00, 01:05, 01:10, …, 02:00, 02:05, 02:10, …, 03:55).
*/5 1,2,3 * * 5 echo "hello world!"
Finally, save the configuration file. If edited via nano, press Ctrl+X on keyboard, type y, and hit Enter to save it.
The 1Password password manager now adds officially Linux support. Here’s how to install it in Ubuntu 20.04 via its apt repository.
1Password is a password manager developed by AgileBits Inc. It provides a place for users to store various passwords, software licenses, and other sensitive information in a virtual vault that is locked with a PBKDF2-guarded master password. By default, this encrypted vault is stored on the company’s servers for a monthly fee.
Download & install DEB package:
1Password for Linux was available for test last year. Now it’s finally goes stable. The .deb binary is available to download at the link below:
Want to embed a terminal in the Files, Nautilus file manager, in Ubuntu? Nautilus Terminal is the project to do the job.
Nautilus Terminal is an open-source project started in 2010. It’s now at version 4.x that supports up to Nautilus 40.
With it, you have an integrated terminal in each file window and tab. The terminal follows the navigation, without running cd command, the terminal automatically go to the directory when you navigate to a folder in file manager.
The terminal placement can be at top (default) or bottom. You can press F4 on keyboard to show or hide it. And it supports drag & drop of file on the terminal.
By right-click on terminal area, you can do copy & paste actions, and go to its Preferences.
The “Preferences” indeed opens Dconf Editor (you need to firstly install it in Ubuntu Software) and navigate to “/org/flozz/nautilus-terminal” settings page. There you can configure:
Background color.
Text color.
Font.
Focus by default.
Toggle shortcut.
Terminal placement.
Custom command.
How to Install Nautilus Terminal in Ubuntu 20.04 & Higher:
The project developer used to maintain an Ubuntu PPA, which is however no longer updated. Ubuntu 20.04 and higher users can now run following commands to install it from PyPi.
1.) Open terminal by pressing Ctrl+Alt+T on keyboard. When it opens, firstly run command to install required libraries:
Gnome Tweaks, one of the must have apps for configuring Ubuntu, removes GNOME Shell Extensions support by releasing version 40.
Which means in next Ubuntu release which will ship with Gnome 40+, you have to use another tool to manage Gnome Shell Extensions.
If you have tried out Fedora 34, you should already see the prompt at first launch of Gnome Tweaks: “Extensions management has been moved to GNOME Extensions”.
The “new” tool “GNOME Extensions” is available in Ubuntu universe repositories since Ubuntu 20.04 LTS. If you don’t have it, open terminal by pressing Ctrl+Alt+T on keyboard, and run command to install it:
sudo apt install gnome-shell-extension-prefs
Then you can open it from system app launcher.
Different to the extensions tab in Gnome Tweaks, the GNOME Extensions tool displays built-in Gnome Shell extensions and user installed extensions separately.
Besides the slider icons to toggle on/off extensions and gear buttons to change extension settings, there’s a triangle icon after each extension. Clicking on the icon will expand the extension with a brief description as well as the website and remove buttons.
In addition, Fedora users can get the tool by installing gnome-extensions-app package. Other Linux with Gnome Desktop can install the flatpak package.
After a clean Ubuntu installation, you have to tweak the desktop appearance more or less to meet your needs.
Besides struggling with different system configuration tools, e.g., System Settings, Gnome Tweaks and Dconf Editor, ‘Ubuntu First Steps‘ is a handy tool with mostly used options to tweak your Ubuntu Desktop.
Update 2024: The project has NOT been updated for a few years. I MAY or MAY NOT work anymore!
It’s a free and open-source tool written in Python with ability to tweak the dock launcher:
Dock position.
Enable minimize on click action.
Reduce dock length.
Enable dock on multi monitors.
Show apps at top, and more.
It also offers options to change desktop icon size, show or hide home and trash icons, change date & time display, show battery percentage, and enable HiDPI Fractional Scaling.
With it, you can easily enable or disable camera, microphone, and sound output, and stop Ubuntu remembering application usage, recent, temporary, and trash files.
There’s also “Repositories” tab with a list of Ubuntu PPAs. It is however not recommended to use the feature as some are either obsolete (e.g., GIMP PPA, Audacity PPA) or useless (e.g., Grub Customizer, it’s available in main repository).
In addition, some useful apps e.g., VLC, GIMP, Blender, and FileZilla, can be installed from “Applications” tab via singe click.
NOTE to apply changes, you have to click the upper-left corner gear button!
How to install ‘Ubuntu First Steps’:
The software developer built the package with only Ubuntu 20.04 LTS and Ubuntu 22.04 LTS support.
Open terminal by pressing Ctrl+Alt+T on keyboard. When it opens, run following commands one by one to add the PPA and install the tool:
sudo add-apt-repository ppa:atareao/atareao
sudo apt install ubuntu-first-steps
Once installed, open it from system app launcher and enjoy!
How to Remove:
To remove the Ubuntu PPA, either go to Software & Updates -> Other Software or open terminal and run command:
Looking a graphical tool to manage users and groups in Ubuntu Desktop? Try the classic Gnome user settings tool.
A user is anyone who uses a computer, and users may be grouped together into a “group”. Users and groups are used to control access to the system’s files, directories, and peripherals.
For those hate Linux commands, the classic GUI tool, which was default in Ubuntu when it was Gnome 2, allows to add, remove, edit users and groups.
Like system default User Settings, it offers options to add, remove, and edit all user accounts. Though there are a few differences:
It can generate random password for user account.
Automatic login option seems not working.
Custom user privileges under Advanced Settings.
By clicking on “Manage Groups” button, you can then add, remove, edit groups.
To add or remove a user from a group, simply go to group properties, and check or un-check the user name under Group Numbers.
To install the GUI user and group managing tool, open terminal from system app launcher and run command:
sudo apt install gnome-system-tools
Then search for and open “Users and Groups” from system app launcher and enjoy!
Running Ubuntu as virtual machine via VirtualBox? You may encounter permission issue to access the shared folder between host and guest.
Shared Folders is an useful feature for file sync between Virtualbox host and guest OSes. However, after you created one, the shared folder is marked with cross and lock icons. And it pops up an error dialog when you trying to open it:
Unhandled error message:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Unix process subject does not have uid set.
Or it prompts permission issue while accessing from the left pane in file manager:
You do not have permissions necessary to view the contents of “xxx”
Fix shared folder permission issue:
The shared folder belongs to vboxsf group in the guest. All you need to do is add your user into this group.
There are a few ways to add an user to a group. Here I’m going to do it via a single command:
Firstly, start the virtual machine and login.
Open a terminal window from system app launcher.
When terminal opens, run command to check your username in case you don’t remember:
whoami
Finally add user to vboxsf group (replace USER_NAME with what printed in last command.):