[Xfce-bugs] [Bug 16559] Support for environment variables or desktop files in Preferred Applications

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Mar 18 18:55:38 CET 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16559

--- Comment #3 from Harish Rajagopal <harish.rajagopals at gmail.com> ---
I found a workaround to this. I created a new script to export any environment
variables and control the "%s" options passed to exo-open. The contents are as
follow:

  #!/usr/bin/bash
  export WINIT_HIDPI_FACTOR=1
  if [ -z "$*" ]; then
      alacritty
  else
      alacritty -e $@
  fi

By passing the path to the script in the Preferred Applications GUI, I now have
a workaround to the absence of desktop file support in the GUI. The only
missing thing is an nice icon the GUI, but I'm not bothered by it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list