how to create .desktop file for Solaris 10 - solaris

Hi I have created jar of my application. also i have created .desktop file for fedora it worked fine. but that .desktop file did not work fine for solaris 10. How to create desktop file for mac OS for my jar.
Also I want to set icon in that desktop file
Is there any example?
Thanks
Sunil Kumar Sahoo.

There's a few dozen examples in /usr/share/applications in the Solaris OS for the applications shipped as part of the Solaris-bundled GNOME desktop.

Related

How to install fly cli in windows 10

I'm a newbie to concourse and it needs fly cli. I'm on windows 10 pro 64 bit.
Upon opening the fly.exe I downloaded from https://concourse-ci.org/ nothing happens.
Any idea?
Thank you!
fly is a command line tool.
Follow these steps to install it in Windows,
Download the zip file for windows from concourse-ci.org
Extract the zip file to a folder (say, C:\concourse\). The executable fly.exe is now available under C:\concourse\fly.exe
Update the PATH environment variable with this new directory C:\concourse\
Open command prompt and run fly.exe.

Talend Installtion on Ubuntu

I would like to install Talend Open Studio on Ubuntu 18.04 LTS, but the Talend website shows only download options for Windows and Mac only. Where do I find the Linux version?
If you download the Windows version, you should receive a zip file. The zip file should contain binaries for both Windows and Linux. To start the Studio on Linux, just run the bash script contained within.
I'm not sure why they don't label the download as Windows and Linux, hopefully they fix that at some point to make it a little clearer.
I was able to download zip file here:
https://sourceforge.net/projects/talend-studio/files/latest/download

How to Access Linux Files in a WSL distro from Windows 10?

Recently I updated my Windows 10 Pro with May Update (version 1903, build 18362.116). Then for my existing distros: OpenSuse Leap 15 and Ubuntu (installed from MS Store), I wanted to open a linux directory by using Explorer and I'm getting this message:
[susedis#mypc ~]$ explorer.exe .
If 'explorer.exe' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf explorer.exe
This problem happens also with VSC (code) and VSC-Insiders (code-insiders).
I've read this article and ...
OPTION 1: my current problem
OPTION 2: icon LINUX does not exist in tree view
OPTION 3: it works
Supposedly options 1 and 2 should exist and work, even more with the latest update. What's wrong? Thanks in advance.
PS1: I've found these articles Run Visual Studio Code for Linux from WSL and Using Visual Studio Code with Windows Subsystem for Linux, they talk about installing xserver and more stuff on side linux. But many other articles and videos don't talk about it, it's like it was a built-in feature of Windows. This is so dark.
I just found what is the root of my problem: the distro.
explorer, code, code-insiders commands ONLY work through UBUNTU and I was using OpenSuse.
This warning is lacking in every article on Web I read, including on VSC site (example: Developing in WSL). This is a disadvantage for other distros. Very bad.
PS1: The solution can be found here.

running eclipse from terminal in mac os x

I've been trying to run eclipse from my mac os x terminal and I'm getting the error that no such eclipse command is found. I added the directory to my PATH variable and I'm able to run this just fine on linux, just not on mac osx.
Anyone know why this is?
Eclipse is a Mac Application (like Mail.app) rather than a simple executable so you open it from Terminal using the open command:
open /Applications/eclipse.app
This is assuming you are using Eclipse Mars or later, earlier versions of Eclipse have a different path.
I have a bin folder at my user root folder. This folder is added to my PATH env variable in my .bash_profile
Then I have an ~/bin/eclipse file. this file is executable (chmod +x ~/bin/eclipse)
it contains
open /Path/To/Eclipse.app
Hope this help

Where can I find the gtk-builder-convert script?

I've built a small GUI app for work that uses some .glade files for pop-up windows. Recently, the ground beneath me was shifted - my environment was upgraded. Newer pyGTK versions require GTKBuilder and .xml files instead of Glade and .glade files and now my poor app is broken.
I need to convert the .glade file to the newer .xml file. Problem is Glade-3 is not on our system, and I can't find gtk-builder-convert on the web. I've looked at the Gnome GIT Browser, don't know where to start looking or how to search it.
Would anyone be kind enough to point me to the gtk-builder-convert python script?
gtk-builder-convert is part of GTK and it should already be installed on your system since you have GTK version 2.12 or higher. But if you really can't find it, here it is in the git browser: http://git.gnome.org/browse/gtk+/tree/gtk/gtk-builder-convert
ubuntu: install the tools by sudo apt-get install libgtk2.0-dev
but it is now deprecated
It worked on Linux for me using Gtk3+ and Glade3+ installed from conda by following steps.
Open your Gtk1+ older glade XML file designed in Glade1+ user interface in Glade3+ user interface.
Click on Save button in Glade3+ user interface.
Use this command after conda activate gtk-builder-convert infile outfile.