Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora 23 Cinnamon Spin #3

Open
mlopezcoria opened this issue Feb 1, 2016 · 1 comment
Open

Fedora 23 Cinnamon Spin #3

mlopezcoria opened this issue Feb 1, 2016 · 1 comment

Comments

@mlopezcoria
Copy link

When I try to install this applet I get the message: [Errno 2]
There is no such file or directory: '/tmp/tmp4O199L/metadata.json'

@mlopezcoria
Copy link
Author

I installed it manually then I realized it has been made just for Ubuntu, not Fedora, so I change the file: ~/.local/share/cinnamon/applets/web-developer-menu@infiniteshroom/applet.js modifying the constants like this:

//applet command constants
var CommandConstants = new function() {
        this.COMMAND_START_APACHE = "service httpd restart";
        this.COMMAND_STOP_APACHE = "service httpd stop";
        this.COMMAND_START_MYSQL = "service mysql restart";
        this.COMMAND_STOP_MYSQL = "service mysql stop";
        this.COMMAND_APACHE_CONFIG_EDIT = "beesu pluma /etc/httpd/conf/httpd.conf";
        this.COMMAND_PHP_CONFIG_EDIT = "beesu pluma /etc/php.ini";
        this.COMMAND_LAUNCH_PHPMYADMIN = "xdg-open http://localhost/phpmyadmin/";
        this.COMMAND_LAUNCH_WEBDIR = "xdg-open http://localhost/";
        this.COMMAND_OPEN_WEBDIR = "nemo /var/www/";
}

This beesu pluma could be also beesu gvim i.e.

I don't know why it shows httpd (Apache) down when is up. When I had time I'll check it.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant