Giter Site home page Giter Site logo

c9.ide.desktop's Introduction

Discord

c9.ide.desktop

Adds a desktop GUI to cloud9's ide using x11.

Please Note: That this plugin only works on ubuntu systems if using the c9sdk and the official c9.io platform

Installation Bug with Cloud9's Plugin System... (npmlog)

This looks to be fixed.

Update 11/28/2016

I'll be working on updating this plugin soon in the published repo on c9's system. Once done, the cli install should work correctly again. C9 has had issues with publishing and installing plugins. It looks like this may be fixed so I'll get this all packaged up and sent over.

No ETA on this, but it is officially on my list of todo's!

What is this used for

Any programs that need a gui interface to write out to, such as Python's turtle package, can use this approach to develop and test in cloud9.

Commands

Open Desktop in new Tab: MAC: COMMAND-SHIFT-ALT-D WIN: CTRL-SHIFT-ALT-D

Installation

use command c9 install c9.ide.desktop and then reload your editor.

In order to use custom plugins during alpha you need to change some settings in your c9 workspace.

Go to Cloud9>Preferences>Experimental>SDK and enable the two toggles for Load Plugins From Workspace and Load Custom Plugins. That should do the trick!

Please Note: That this will install needed packages automatically. Any issues please file an issue here at github

Does it not work when you clikc 'start desktop'? Make sure you have added websocketfy

$> sudo apt-get install websockify

Usage

There are two commands that are built into the editor. These are accessible under the view menu at the top of the ide.

c9 view menu location

The Start Command will run the start the x11 vnc server. YOU ONLY NEED TO DO THIS ONCE

The Open Desktop Command will open the VNC connection in a new tab allowing you to view your x11 desktop.

c9 view menu location

  1. Once you have the desktop open then click connect. NO PASSWORD IS NEEDED

c9 view menu location

  1. Once you connect you should see a screen like so...

c9 view menu location

  1. Then to access programs just use the right click menu (Right Click anywhere on the black desktop)

c9 view menu location

  1. Profit with your new desktop enviornment in c9!

c9 view menu location

c9.ide.desktop's People

Contributors

shadowcodex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

c9.ide.desktop's Issues

Trouble Installing

Hi,

I (and correspondingly my students) seem to have a problem installing
screenshot_2016-07-23_00-58-31

This is the bash file I'm running:

#!/bin/bash

echo "Beginning setup of your Cloud 9 Workspace"


echo ""
echo "Installing pip, Python3's package manager"
sudo easy_install3 pip

echo ""
echo "Installing getch"
sudo python3 -m pip install getch

echo ""
echo "Installing termcolor"
sudo python3 -m pip install termcolor

echo ""
echo "Installing websockify"
sudo apt-get install websockify

echo ""
echo "Installing C9 Desktop"
c9 install c9.ide.desktop --force

echo ""
echo "Setting permissions"
chmod a-wx Resources.txt

Won't Let Me Install

When I try to install this through the terminal, it gives me an error

module.js:327
throw err;
^

Error: Cannot find module 'npmlog'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at /mnt/shared/sbin/npm:18:11
at Object. (/mnt/shared/sbin/npm:75:3)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
Command failed: /mnt/shared/sbin/npm.

No Application Seems to be Running Here error

Hey, wondering what I should do if I'm getting this screen? All I've done thus far is follow the 2 instructions given to install and enable plugins. Haven't started a server, haven't done anything at all, I'm just not sure why I'm getting this error (never occurred on a different workspace that someone had shared with me).

If its an installation error, how would I go about reinstalling?
cloud9 issue

Delay in desktop starting ability?

So i decided to leave my cloud 9 alone for about 10 minutes, and then when i reloaded the page, i went to "view" at the top, and my "start/open desktop" options were gone. After looking through the solved issues page, I looked back and it was there. Does this mean that there is a small delay from when you open the cloud 9, to when the desktop is actually available to run?

Installation issue api login

Hi,
when I run "c9 install c9.ide.desktop" in a new terminal, I get asked to give my username and pw for "https://api.c9.io/user" I think. However, when I fill in my login info, it asks again. Do you know what's up with that ?

Thanks

Cannot right click from any mobile browser.

Could you please tell me an alternative to needing to right-click with
the mouse to bring up the context sensitive menu ?
Is there another plugin or a way to keymap for that ?

Desktop cursor not working

I am able to get the desktop up and running; however, my cursor does not work on the desktop. The cursor immediately disappears as I go from the blue toolbar to the black desktop and I cannot right click anywhere on the desktop to bring up the application menu.I am able to toggle the blue buttons on the toolbar, but I cannot do anything on the desktop.

Error: Cannot find module 'npmlog'

Run "c9 install c9.ide.desktop --force" starting an exception:

module.js:327
throw err;
^

Error: Cannot find module 'npmlog'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at /mnt/shared/sbin/npm:18:11
at Object. (/mnt/shared/sbin/npm:75:3)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
Command failed: /mnt/shared/sbin/npm

Cannot find module 'npmlog'

Before, I had no trouble installing c9.ide.desktop on an ubuntu system, but recently I went ahead and installed c9.ide.desktop into a new ubuntu system and got the following error:
(note: I already activated Load Plugins From Workspace and Load Custom Plugins)

antogerva:~ $ c9 install c9.ide.desktop --force
module.js:327
    throw err;
    ^

Error: Cannot find module 'npmlog'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at /mnt/shared/sbin/npm:18:11
    at Object.<anonymous> (/mnt/shared/sbin/npm:75:3)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
Command failed: /mnt/shared/sbin/npm

Using real VNC?

Is it possible to view your desktop using ordinary VNC client? I tried to connect to cloud9-valtih1978.c9users.io using realvnc Vnc Viewer but it cannot see the host.

Installation Issue

Hello I probably just am not doing something right but I turned on the Load Custom Plugins and the Load Plugins From Workspace. When I enter the command c9 install c9.ide.desktop I get this error "Unknown Error getting api.c9.io/packages/c9.ide.desktop/versions/1.0.0/download?access_token=9c1wG9VQcQRPMrYjlWVj:500"

Help please

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.