Want a reminder for when your terminal command completes? Try Undestract-me! It will possibly ship you notifications for Terminal instructions after they full.

The Undistract Me device works with each Linux desktop surroundings’s notification system and is extremely customizable. Higher but, it has assist on almost each mainstream Linux distribution! To set up the software program, open up a terminal and enter the instructions that correspond to your working system.

Word: to put in this software program in your system, you should be utilizing Ubuntu, Debian, Arch Linux, Fedora or Open SUSE.

Ubuntu

sudo apt-get set up undistract-me

Debian

sudo apt-get set up undistract-me

Arch Linux

Undistract Me is accessible on Arch Linux, although it’s not within the official software program sources. As an alternative, in the event you’re seeking to get this engaged on Arch, you’ll must obtain the AUR bundle.

Constructing the AUR bundle is kind of simple, and it begins out through the use of the Pacman device to put in a couple of packages. Open up a terminal and set up Git and Base-devel.

sudo pacman -S base-devel git

Now that Git and Base-devel are on the system, the AUR setup can start. Utilizing the Git device, clone the Undestract Me snapshot to your Linux PC.

git clone 

Transfer the terminal into the undistract-me-git folder with the CD command.

cd undistract-me-git

Within the folder, run the makepkg command and generate a brand new installable bundle. Take into account that when constructing packages from the AUR, dependencies generally fail to put in. If this occurs, repair it by putting in lacking dependencies manually. Discover the dependencies right here.

makepkg -si

Fedora

Presently, there aren’t any installable packages of Undistract Me on Fedora Linux. These seeking to get it working ought to observe the “Generic Linux” directions as an alternative.

OpenSUSE

Like Fedora, there isn’t presently a launch of Undistract Me for OpenSUSE Linux. Please observe the “Generic Linux” directions beneath, because it outlines learn how to set up from supply.

Generic Linux

The supply code for Undistract Me is on Github, in addition to Launchpad. On the event web page, the readme states that customers ought to seize the code with “bzr,” and never Git. To work together with code through Bzr, you will need to set up the “Bzr” bundle. Fortunately, most Linux distributions have this device accessible.

Word: if Bzr fails to work appropriately, another is to manually obtain Undistract Me here, through Github.

Fedora

sudo dnf set up bzr

OpenSUSE

sudo zypper set up bzr

Different Linuxes

As Undistract Me in the end simply works inside an current desktop’s notification system, the “Bzr” device is the one software program customers must make it work. To get Bzr working, verify your working system’s software program repository. in the event you can’t discover it, there are various binary downloads for Bzr on Pkgs.org.

With Bzr working in your system, open up a terminal and use the device to seize the newest model of the code.

Word: whereas working the “bzr checkout” command, you might even see a warning to “log in”. Solely log in in the event you plan to contribute code. In any other case, ignore it, and proceed on.

sudo bzr checkout --lightweight lp:undistract-me

Working bzr checkout clones the newest model of the code from the repo all the way down to your Linux PC. From right here, use the CD command and transfer the terminal into the code folder.

cd undistract-me

Replace the entire information within the code folder, in order that the system will run it appropriately.

sudo chmod +x *

Within the code folder, attempt to run the script and begin it up. Perceive that whenever you shut the terminal, the script will cease working.

./undistract-me.sh

To shut the script, press Ctrl + Z, then write disown.

Set Up Undistract Me

Undistract Me must be arrange in Bash earlier than it really works. When you’ve put in the software program on Ubuntu, Arch or Debian, don’t fear! The automated construct system comes with setup directions, together with making use of the software program to your person’s Bash profile. Solely observe the directions beneath in the event you constructed the software program from supply.

9k=

To arrange Undistract Me after constructing it from supply, open up a terminal and enter the next instructions beneath.

cd undistract-me

sudo mv undistract-me.sh /and many others/profile.d/
cp ~/.bashrc ~/Paperwork/.bashrc-bakup
echo 'supply /and many others/profile.d/undistract-me.sh' >> ~/.bashrc

Make sure to run this setup command for each person you wish to give entry to undistract me.

When the setup command finishes, reboot your Linux PC. After logging again in, the notification system will begin working.

Uninstall Undistract Me

If the Undistract Me doesn’t fit your workflow, it’s possible you’ll want to disable it. Fortunately, shutting off Undistract Me is kind of easy. To do it, open up a terminal and observe the instructions beneath.

Ubuntu

sudo apt take away undistract-me --purge

Debian

sudo apt-get take away undistract-me --purge

Arch Linux

sudo pacman -Rsc undistract-me

Supply Directions

sudo rm -rf /and many others/profile.d/undistract-me/
rm ~/.bashrc
mv ~/Paperwork/.bashrc-bakup ~/.bashrc
sudo reboot



Source link

Share.
Leave A Reply

Exit mobile version