Kselax.ru

Hacker Kselax – the best hacker in the world

Menu
  • Blog
  • Contacts
  • wp plugin generator
  • English
    • Русский
Menu
ubuntu desktop

How to set up a third party application on ubuntu 16.04

Posted on 14 September, 201814 September, 2018 by admin

In this article, we overview how to set up a third-party application to Ubuntu 16.04. I’ve got sublime text 3 for which I saved a working key and put it to a flash drive. Lately, I needed to install this app with a key to a VM.

I installed an app, executed an instruction and registered the app but got a few problems such as sublime didn’t show in a file manager and in unity dash. What did I do?

 

Playing with symlinks

What I did before? It adds a symbolic link to the folder ~/.local/share/applications
doing this

1
ln -s ~/Desktop/sublime_text_3/sublime_text ~/.local/share/applications/subl

but it didn’t work. I’ve got sublime in the unity dashe and not in the file manager. Maybe this generated a file ~/.local/share/applications/sublime_text.desktop. I don’t know, but this file was already in a ~/.local/share/applications file. There I needed to add %F in this line

1
Exec=/home/neo/Desktop/sublime_text_3/sublime_text %F

and then started to work the file manager default set up properties.

 

The file that needs to be put in ~/.local/share/applications

Well. for sublime works properly we have to add it to the ~/.local/share/applications. There should be a file sublime_text.desktop. It’s in my case with this settings

1
2
3
4
5
6
7
8
9
10
11
12
13
14
neo@neo-virtual-machine:~/.local/share/applications$ cat sublime_text.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Sublime Text
Icon=sublime_text.png
Path=/
Exec=/home/neo/Desktop/sublime_text_3/sublime_text %F
StartupNotify=false
StartupWMClass=Sublime_text
OnlyShowIn=Unity;
X-UnityGenerated=true
neo@neo-virtual-machine:~/.local/share/applications$

That’s it! 🙂

Now the sublime is accessible from the unity dash

unity sashe

and from the file manager, we are able to install a default application

nautilus file manager

 

Placed where could be put the configuration file.

There is one more place where we can add this file sublime.desktop

it’s /usr/share/applications

 

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • bash (1)
  • English (9)
  • JavaScript (4)
  • node.js (22)
  • photoshop (1)
  • php (3)
  • React (9)
  • sclerotic (6)
  • Ubuntu (10)
  • Uncategorized (13)
  • Wordpress (1)

Tags

Ajax apache2 automation bash chrome-extension command line editor ejs email English English-grammar framework functions git graphql handlebars hybrid app installation javascript js linux newbie node.js node.js javascript nodemailer npm objects Performance php phpmyadmin playonlinux promise rabbitmq React react-router redis reverse-proxy session shell socket.io sublime text 3 time zones ubuntu unity webpack

Recent Comments

  • damien on How to install npm and nodejs the latest versions on ubuntu
  • Cam on How to install npm and nodejs the latest versions on ubuntu
  • Pierre on socket.io with apache as a reverse proxy on the CentOS
  • admin on How to use react-router with a few languages
  • admin on How to install npm and nodejs the latest versions on ubuntu
©2021 Kselax.ru Theme by ThemeGiant