Showing posts with label red hat package manager. Show all posts
Showing posts with label red hat package manager. Show all posts

Saturday, February 8, 2020

Question : How do I open my application with the Launcher app file .desktop

I've a problem with the application Oracle SQL Developer, I can only run it going to the terminal and only with the sudo command. My file is there : /usr/local/bin/sqldeveloper and to open it I have to do sudo sqldeveloper.

Now here is the code of my launcher app :

$ cat /usr/share/applications/Oracle-sqldeveloper.desktop 
[Desktop Entry]
Type=Application
Name=Oracle SQL Developer
Exec=sqldeveloper
Icon=/opt/sqldeveloper/icon.png
Terminal=false >> ~/.local/share/applications/sqldeveloper.desktop

I've already tried to put the full path in the Exec row but nothing, the app doesn't launch, there's the icon in the toolbar few second and it disappears.

Solutions

I also faced same issue, googled lot but nothing got helpful.. BTW I solved this problem by adding absolute path in /usr/share/applications/Oracle-sqldeveloper.desktop. If you want to run sqldeveloper from applications>programming menu then you need to edit your Oracle-sqldeveloper.desktop file. add absolute path which is Exec=/opt/sqldeveloper/sqldeveloper/bin/sqldeveloper in my case also change Terminal=true which show you other problem like java home etc, if java related issue then set according to terminal instruction after that change Terminal=false

 $ sudo vim /usr/share/applications/Oracle-sqldeveloper.desktop

    [Desktop Entry]
    Encoding=UTF-8
    Name=SQL Developer
    Comment=Oracle SQL Developer
    Icon=/opt/sqldeveloper/icon.png
    Exec=/opt/sqldeveloper/sqldeveloper/bin/sqldeveloper
    Terminal=true
    Type=Application
    X-Desktop-File-Install-Version=0.23
    Categories=X-Red-Hat-Extra;Application;Development;
 

Friday, January 15, 2016

CentOS - Become System Administrator- Installation

What is CentOS ?

C - Community 
ENT - Enterprise
O - Operating 
S - System

  • CentOS Stand for Community ENTerprise Operating System.
  • RPM Based distribution, All the package management is done by RPM. A tool YUM is also used.
  • CentOS source code is based on Red Hat Linux.
  • No Specific Certification is available.

CentOS Release and Support 

 Major Releases
Major CentOS Version 2,3,4,5,6,and 7. Major 7 is current Version.

 

Minor/Point Releases

 There are Minor release usually twice a year, A point release is something like 7.1, 7.2 etc.

Point Release basically update kernel ,Software Packages,Security Update etc.

No Extended Support is provided by CentOS after expiration of Support period.

Installation

Configuration after installation