Fedora

  • HOWTO - Install LAMP server on Fedora 22

    Introduction

    A LAMP stack is a group of programs used to get web servers up and running. The acronym stands for Linux, Apache, MySql, PHP.
    Because Fedora is yet a Linux distribution "the L part" of the name is taken care of.

     

  • Launching executable .jar file by a double-click in Fedora(GNOME)

    In Fedora, basically, users have to launch .jar programs by using terminal with the following command:

    java -jar fileName.jar
    This method is simple, applying for all Linux OS including Fedora, however, It is not convenient. Then now, I’ll show you another solution

    #1. Go to /home/yoursUser/.local/share/applications/

    You can see many file here,  this is what you will see, when you choose to open your application with

    #2. Make a new file, I name it as run-jar.desktop
    The content of this file is:


    [Desktop Entry]
    Encoding=UTF-8
    Type=Application
    Exec=java -jar %f
    Name=run-jar

    #3. Now In your file browser (ex: nautilus), go to the directory which has your .jar file. Right click on that file, choose open with. I will see a table which lists all capable open with application, which should include a option named “run-jar”

    Choose it and set it as default option. Next time, when you double click on this file or any similar file (.jar). It will launch automatically.

    If it does not work, let give a luck by restarting your computer!