Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Sunday, April 30, 2017

Ubuntu - French Accents with US Keyboard Layout




Original Source : https://askubuntu.com/questions/333227/type-french-accents-with-us-international-keyboard

 
 Use the keyboard layout called English (international with Alt Gr dead keys). (Do this by going to System Settings > Keyboard > Layout settings, and then add the layout you want with the + button on the bottom.)
This way, the keys to input the characters ', ", `, ~, and ^ become "dead keys" while you hold pressed Alt Gr. After releasing the key combination with Alt Gr, no characters will be print (hence "dead"), but inserting a letter afterwards will yield a variation of the base character of the letter, in accordance with the dead key you pressed before; for example, é, ë, è, , and ê for e (respectively). (If you have no explicit Alt Gr key, just use the rightmost Alt key.)
So in summary, to insert a symbol
  1. press and hold Alt Gr,
  2. press the modifier key / key combination; e.g., `,
  3. release all keys pressed so far, and
  4. press the base character key; e.g., E for è.
Note: You can also enter an acute accented vowel by just pressing Alt Gr + (vowel).
(Source: this post on french Ubuntu forums.)

Saturday, November 29, 2014

How to add application to the launcher in Ubuntu





To add application to the launcher in Ubuntu, we need create a .desktop file in the /usr/share/applications

The .desktop file has the following format:



[Desktop Entry]
Name=pyCharm
Type=Application
Exec=/home/username/Programs/pyCharm/pycharm-community-3.4.1/bin/pycharm.sh
Terminal=false
Icon=/home/username/Programs/pyCharm/pycharm-community-3.4.1/bin/pycharm.png
NoDisplay=false
Categories=Development;IDE
Name[en]=pyCharm





Wednesday, November 19, 2014

Install Java7, Java8 and Javaplugin for firefox in Ubuntu


The methods mentioned here have been tested. (11/19/2014)




Install Oracle Java7 in Ubuntu


sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

see : http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html








Install Java8 in Ubuntu


1. download jdk file
2. decompress the file tar xvzf jdk1.8*.tar.gz
3. relocate JDK 8: mv jkd1.8* / usr/lib/jvm
4. Install Oracle Java JDK 8
    sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8*/bin/java 1065
    sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8*/bin/javac 1065
    sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8*/bin/jar 1065
    sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8*/bin/javaws 1065
5. check or set the system java version in Use with: 

    sudo update-alternatives --config java

see : http://tutorialforlinux.com/2014/03/15/how-to-install-oracle-jdk-8-on-ubuntu-12-04-precise-lts-32-64bit-easy-guide/





Install Java plugin in Firefox


;;; install the Icedtea plugin
sudo apt-get install icedtea-plugin

;;; create a symbolic link
ln -s /usr/lib/jvm/jre1.7.0/lib/amd64/libnpjp2.so ~/.mozilla/plugins/

alternatively, one may find the plugins directory  in /usr/lib/mozilla

see : http://askubuntu.com/questions/354361/how-to-install-java-plugin-in-firefox