Closed orschiro closed 7 years ago
Hi!
You need to either log out & log in again, or you need to run:
. /etc/profile.d/undistract-me.sh
In your shell.
jml
Thank you!
So I tried the following as a test:
orschiro@x230:~$ . /etc/profile.d/undistract-me.sh
orschiro@x230:~$ sleep 15s
However, it does not produce any notification either. Shouldn't the sleep command of 15 seconds produce one?
Warmly,
-Robert
It should. Are you using bash?
On Mon, 29 Aug 2016 at 23:01 Robert Orzanna notifications@github.com wrote:
Thank you!
So I tried the following as a test:
orschiro@x230:~$ . /etc/profile.d/undistract-me.sh orschiro@x230:~$ sleep 15s
However, it does not produce any notification either. Shouldn't the sleep command of 15 seconds produce one?
Warmly,
-Robert
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jml/undistract-me/issues/37#issuecomment-243271328, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHq6i6cI6sHROoZopwZY5uDADp6jtWoks5qk1bNgaJpZM4JvS5K .
Yes, I am using the default Bash of Ubuntu 16.04.
Confirm that after installation script doesn't work. But after adding line below to .bashrc I get notifications.
source /etc/profile.d/undistract-me.sh
system:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
bash: 4.3-14ubuntu1.2;
terminal: terminator;
Hello again,
It's been a while. Now testing undistract-me on Ubuntu MATE 17.10 Alpha 2.
I think the README is outdated. It says:
Then run a login shell: start a whole new Gnome Terminal, run bash --login or log out then log in again.
Tried exactly this after installing undistract-me from the Ubuntu repos but it's not working.
Did something change or shall we add @fotonmoton suggestion to the README.
Nothing has changed in undistract-me. It's possible that the mechanism the package uses to install it as something that is sourced by everyone's bashrc no longer works.
No objections to adding @fotonmoton's suggestion to README.
Huge thanks to @photonmoton. I confirm that their solution worked great. I added: source /etc/profile.d/undistract-me.sh into the end of my .profile and ran: $ . ~/.profile and the apt update command worked notified me properly. Also for the record I am using Ubuntu 18.04LTS on a MacBook 2009.
Dear @jml,
Thank you so much for this excellent project!
I installed undistract-me as follows:
sudo apt install undistract-me
.It installed the following version:
However, I am not receiving any notification on commands that take longer than 10 seconds.
What else do I need to configure?
Thankfully,
-Robert