blob: af5e42399a7c1eb6e558d3c517a781a7ad6d533c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
--- a/usr/bin/atom
+++ b/usr/bin/atom
@@ -1,5 +1,8 @@
#!/bin/bash
+export PYTHON=python2
+unset GTK_IM_MODULE QT_IM_MODULE XMODIFIERS
+
if [ "$(uname)" == 'Darwin' ]; then
OS='Mac'
elif [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then
--- a/usr/share/applications/atom.desktop
+++ b/usr/share/applications/atom.desktop
@@ -2,7 +2,7 @@
Name=Atom
Comment=A hackable text editor for the 21st Century.
GenericName=Text Editor
-Exec=/usr/share/atom/atom %U
+Exec=env PYTHON=python2 GTK_IM_MODULE= QT_IM_MODULE= XMODIFIERS= /usr/share/atom/atom %U
Icon=atom
Type=Application
StartupNotify=true
--- a/usr/share/atom/resources/app/apm/bin/apm
+++ b/usr/share/atom/resources/app/apm/bin/apm
@@ -2,6 +2,8 @@
set -e
+export PYTHON=python2
+
initialCwd=`pwd -P`
apmPath=$0
|