adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.26k stars 7.64k forks source link

[Linux] Brackets don't start in Ubuntu 18.04 #14286

Open vmarci21 opened 6 years ago

vmarci21 commented 6 years ago

I can't start Brackets 1.12 in Ubuntu 18.04. I installed the latest Brackets from Ubuntu software center (from snap, see it in this picture.). When I try start it, the Brackets window is displayed for a moment, but the all window is black. After this Ubuntu 18.04 is logging out, and I find myself in the Ubuntu login page.

boopeshmahendran commented 6 years ago

@vmarci21 Thanks for reporting this issue. Could you please share a picture or a gif of the issue?

MikelMNJ commented 6 years ago

Also having issues in 18.04 -- projects open in a blank screen and crashes on File > Open. Unable to open extension manager etc.

gusbemacbe commented 6 years ago

Not just with Brackets, it also happened with many snap apps. Snap is very buggy, but I found the solution for this problem, figuring out how to remove the bug from Snap. Firstly with Gravit Designer, then with Brave, Brackets, Sublime Text 3 and Vectr. We provided snap app desktop files for users of Suru++ icon packs, not only for being able of displaying well the icons, but also opening the applications.

  1. Run sudo apt install snap
  2. Go to your_name/.local/share/applications
  3. Copy Brackets.desktop that we provided at the repository Suru++, to your_name/.local/share/applications
  4. Run sudo chmod +x ~/.local/share/applications/Brackets.desktop
  5. Run the command to remove the the buggy snap desktop file for removing the duplicate:
sudo rm /var/lib/snapd/desktop/applications/brackets_brackets.desktop
  1. Voilà:

image

ghost commented 6 years ago

@gusbemacbe I adopted the same procedure, restarted system. The issue of brackets crashing upon click of OPEN FOLDER is rectified but the blank list for navigation is still there even though the folder I selected has files inside it.

Is there any follow up on this from the contributors or members? Is Adobe brackets team responsive generally? chrome-devtools --devtools-inspector html_001

ghost commented 6 years ago

When I installed brackets reading the guide through terminal as mentioned ( THIS guide ), i didn't encounter this problem anymore, even after repeated restarting, and live feature also works fine with this.

Note: I also installed libcrypt11 although it wasn't one of the missing dependencies.

gusbemacbe commented 6 years ago

@gusbemacbe I adopted the same procedure, restarted system. The issue of brackets crashing upon click of OPEN FOLDER is rectified but the blank list for navigation is still there even though the folder I selected has files inside it

Did you mean you tried to open a file with this snapped app: The snapped apps do not support it because they are like "X on macOS".

gusbemacbe commented 6 years ago

Native Debian and source code Brackets apps are better than snapped apps.