Comment 18 for bug 1355274

Revision history for this message
Russell Sears (sears) wrote :

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 $*