LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-27-2014, 09:31 PM   #1
Chris.Bristol
Member
 
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235

Rep: Reputation: 14
Cinnamon Applets for Ubuntu or other distributions


There are several very useful applets from Mint Cinnamon which I would like to be able to use on another distribution: http://cinnamon-spices.linuxmint.com/applets.

I know how to write a shell script containing a command to change to the appropriate directory, then start a Java program, for example:
Code:
cd /home/chris/programs
java -Xms512m -Xmx2048m -Dorg.XXXXX.scriptRun=true -cp XXXXX.jar:lib org.XXXXX.XXXXX
I think these applets are written in Javascript, is it possible to write a similar shell script for this type of program?

When I have created the shell script, I assume I could create a .desktop file to run it, is that correct?

Ubuntu specific: Would it then be possible to get it onto the Ubuntu Launcher?

Last edited by Chris.Bristol; 04-29-2014 at 05:36 PM. Reason: change 'command' to 'shell script'
 
Old 04-29-2014, 03:30 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
If you are creating a launcher and put these commands there (type should be Application in terminal)
Quote:
cd /home/chris/programs && java -Xms512m -Xmx2048m -Dorg.XXXXX.scriptRun=true -cp XXXXX.jar:lib org.XXXXX.XXXXX
What is the error here so you are not able to execute this in a launcher?
 
Old 04-30-2014, 03:56 PM   #3
Chris.Bristol
Member
 
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235

Original Poster
Rep: Reputation: 14
eklavya:

I listed that code fragment to illustrate that I know how to run a Java program. The Cinnamon progams are Javascript which I believe to be an entirely different language. I do not know how to run those.

Last edited by Chris.Bristol; 05-01-2014 at 12:50 PM.
 
Old 10-19-2015, 06:49 PM   #4
Chris.Bristol
Member
 
Registered: Jul 2011
Distribution: Ubuntu 20.04
Posts: 235

Original Poster
Rep: Reputation: 14
Query no longer relevant as I am now using Ubuntu MATE.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install icons, extensions, applets and themes Cinnamon 1.6 zantgo Linux - Desktop 2 10-07-2012 10:12 PM
LXer: New Cinnamon 1.6 Release Adds 2D Session, New Applets And More Customization Options LXer Syndicated Linux News 0 09-18-2012 11:10 PM
mint 12 + Cinnamon - possible to enlarge top menu and rearrange applets? Thane Linux Mint 7 02-22-2012 08:14 PM
LXer: 15+ Useful AppIndicator Applets For Ubuntu LXer Syndicated Linux News 1 01-08-2011 12:36 PM
LXer: Gmail Notifier Applets for Ubuntu LXer Syndicated Linux News 0 10-06-2009 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration