I am using Cinnamon desktop over 14.04. The problem is, I do not get " low battery " warning while in Cinnamon. I also have Gnome Desktop which gives the warning without any problem. Some time back, Unity got automatically removed from my PC. Could that be causing the problem. The battery status is always shown as 100 % in Cinnamon. Help please..
1 Answers
Open a browser and go to github. Create and account by registering your email and desired password.
Type in terminal:
ls -al ~/.ssh
Check the directories to see whether you already have any public ssh keys
By default, the filenames of the public keys are one of the following:
id_dsa.pub
id_ecdsa.pub
id_ed25519.pub
id_rsa.pub
If you see an existing public and private key pair listed (for example id_rsa.pub and id_rsa) then type
ssh-agent bash
ssh-add /location/of/key.pub
Test whether you can login
ssh -v host.with.pubkey
If you don't see any existing public key added then type:
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
ssh-add /location/of/key.pub
ssh -v host.with.pubkey
Now open another terminal and go to
cd /root/.ssh
ls
You will see your public rsa key listed as id_rsa.pub Do
vim id_rsa.pub
Open a browser and login to your github account. Go to settings --> ssh and gpg --> add new ssh -->
In the title bar type the name of your computer. Copy the entire content from vim and paste in in ssh key. Click add.
go to Personal access token --> Generate new token --> check all the boxes --> generate --> copy the token to a text file
Go to first terminal
ssh-agent $(ssh-add /root/.ssh/id_rsa; git clone https://github.com/robin92/cinnamon-power-applet.git)
When asked for user name enter it
When asked for password enter the personal access token
cp -R power@airlog.pisz.pl/ ~/.local/share/cinnamon/applets/
Then add the applet to the desired panel
Hope it helps

- 4,036
-
Thank you @rancho But when I type, it is asking for password " Username for 'https://github.com': " – user227495 Jun 09 '16 at 02:46
-
Simply creaate an account in github, then again give the commands and enter your credentials – rancho Jun 09 '16 at 02:52
-
-
I am facing a strange issue. My password is working on browser, but not on terminal. Says " fatal authentication error ". – user227495 Jun 09 '16 at 03:32
-
-
Thanks for the continuous help. But I am still stuck at " remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/robin92/cinnamon-power-applet.git/' " after entering id and password for last command. – user227495 Jun 09 '16 at 03:57
-
-
This is where I am stuck after making the key " Permissions 0644 for '/home/dpa/.ssh/id_rsa.pub' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. dpa@dpa-Vtro-35:~$ ssh -v id_rsa.pub OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * ssh: Could not resolve hostname id_rsa.pub: Name or service not known – user227495 Jun 09 '16 at 05:13
-
give me the output of sudo find -name "id_rsa" and sudo find -name "id_rsa.pub" – rancho Jun 09 '16 at 05:20
-
Stuck again at " find: paths must precede expression: and Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] " . Thanks for helping :) – user227495 Jun 09 '16 at 05:21
-
You have done something clearly wrong, it is --> root@lenovo#:/home/user# find -name "id_rsa" --> output --> root@lenovo#:/home/user# find -name "id_rsa.pub" --> output, such kind of error is not possible – rancho Jun 09 '16 at 05:31
-
notify-send
.notify-send
notification are desktop independent , so consider giving it a go. Link is here . Let me know if you'd like any modifications to it : http://askubuntu.com/a/763396/295286 – Sergiy Kolodyazhnyy Jun 09 '16 at 09:18