Problems and solutions encountered during the use of Ubuntu.
prompt
Agent admitted failure to sign using the key.
Permission denied(publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Solution:
ssh-add ~/.ssh/id_rsa
Install dconf-editor.
Install the plugin ExQuilla for ThunderBird, sometimes it is blocked.
http://mesquilla.net/exquilla-currentrelease-tb-linux.xpi
Run in Terminal:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo vim /etc/profile
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
Install a compatible 32-bit adb running environment
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
Add the path to the $PATH environment variable, modify /etc/profile or ~/.profile, etc.
export ANDROID_SDK_HOME=/home/mzlogin/android/sdk
export PATH=$ANDROID_SDK_HOME/platform-tools:$ANDROID_SDK_HOME/tools:$PATH
Run in Terminal:
sudo add-apt-repository ppa:rabbitvcs/ppa
sudo apt-get update
sudo apt-get install rabbitvcs-nautilus3 rabbitvcs-thunar rabbitvcs-gedit rabbitvcs-cli
Create a new Eclipse.desktop in /usr/share/applications and fill in the following content:
[ Desktop Entry]
Name=Eclipse
Comment=Launch Eclipse
Exec=/home/mzlogin/android/eclipse/eclipse
Icon=/home/mzlogin/android/eclipse/icon.xpm
StartupNotify=true
Terminal=false
Type=Application
Go to XMind official website to download the installation package, then:
sudo dpkg --ignore-depends=lame,libwebkitgtk-1.0-0-i xmind-linux-3.5.0.201410310637_amd64.deb
Add an English, a Wubi, and set the shortcut keys to switch to the previous source and the next source to Left and Right Shift respectively, so that you can use Left and Right Shift to switch back and forth between Chinese and English.
Installing im-switch will cause the language support to be removed. Use sudo apt-get install language-selector-gnome
to restore.
After installing vim-gnome, running gVim will prompt:
GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after classwas initialised
Just install vim-gtk instead.
Modify the orientation (horizontal 0, vertical 1) and select_keys in the ime table of /usr/share/ibus-table/tables/wubi-jidian86.db (there are several selection keys, there are several items, which can be seen from the following code.,
Separated).
/usr/share/ibus-tables/engine/tabsqlitedb.py
def get_page_size(self):returnlen(self.get_select_keys().split(','))
Install Gnome Tweak Tool
sudo apt-get install gnome-tweak-tool
Open tweak-tool, find "typing"-"caps lock key behavior", select "CapsLock as an additional Ctrl"
Reference http://askubuntu.com/questions/462021/how-do-i-turn-caps-lock-into-an-extra-control-key
~ The "Desktop" and "Documents" folders in the directory are in Chinese. It is inconvenient to input under Terminal. How to change them to English:
Open ~/.config/user-dirs.dirs and change the Chinese in it:
XDG_DESKTOP_DIR="
In the file manager, change the Chinese folder name in the HOME directory to correspond to the above configuration.
In the state of Pole Wubi Chinese input, press [] to input "", and press {} to input "".
When Ubuntu 14.04 LTS is installed in VirtualBox, the resolution is only 640*480, which cannot be adjusted.
Solution:
Reboot
Install enhancements
then:
cd /media/
(Pay attention to replace username with your own, X after VBOXADDITIONS with specific version number)
The following steps are suitable for using SSH keys copied from Win7 on Ubuntu, and vice versa.
Create the ~/.ssh directory, confirm that its permissions are 0700, copy the id_rsa and id_rsa.pub files under Windows %userprofile%/.ssh to the ~/.ssh directory, and change the permissions to 0600 and 0644 respectively.
mzlogin@ubuntu:~$ ll ~/.ssh
total 20
drwx------2 mzlogin mzlogin 4096 Jun 2201:03./
drwxr-xr-x 20 mzlogin mzlogin 4096 Jun 2201:02../-rw-------1 mzlogin mzlogin 1679 Jun 2105:17 id_rsa
- rw-r--r--1 mzlogin mzlogin 399 Jun 2105:17 id_rsa.pub
then
ssh-add ~/.ssh/id_rsa
Recommended Posts