Here is version of the same workaround that works from the command line (but not from the applications menu):
The default .profile prepends $HOME/bin to your path, so create it if it doesn't exist:
mkdir -p ~/bin
Now, create an emacs wrapper script with the following two lines in ~/bin/emacs:
#!/bin/sh XLIB_SKIP_ARGB_VISUALS=1 /usr/bin/emacs $*
finally:
chmod a+x ~/bin/emacs
On my machine:
$ echo $PATH /home/me/bin:.... $ ls -l ~/bin/emacs -rwxrwxr-x 1 me me 53 Jan 14 12:02 /home/me/bin/emacs $ cat ~/bin/emacs #!/bin/sh XLIB_SKIP_ARGB_VISUALS=1 /usr/bin/emacs $*
Here is version of the same workaround that works from the command line (but not from the applications menu):
The default .profile prepends $HOME/bin to your path, so create it if it doesn't exist:
mkdir -p ~/bin
Now, create an emacs wrapper script with the following two lines in ~/bin/emacs:
#!/bin/sh SKIP_ARGB_ VISUALS= 1 /usr/bin/emacs $*
XLIB_
finally:
chmod a+x ~/bin/emacs
On my machine:
$ echo $PATH SKIP_ARGB_ VISUALS= 1 /usr/bin/emacs $*
/home/me/bin:....
$ ls -l ~/bin/emacs
-rwxrwxr-x 1 me me 53 Jan 14 12:02 /home/me/bin/emacs
$ cat ~/bin/emacs
#!/bin/sh
XLIB_