Matoking / protontricks

A wrapper that does winetricks things for Proton enabled games, requires Winetricks.
GNU General Public License v3.0
1.64k stars 36 forks source link

xterm: bad command line option "-e" #207

Closed Jark5455 closed 1 year ago

Jark5455 commented 1 year ago

Describe the bug Unable to open commandline shell for debugging

To Reproduce Steps to reproduce the behavior:

  1. Run command protontricks --gui
  2. Select a game
  3. Select "default wine prefix"
  4. Select "Run a commandline shell (for debugging)"

Expected behavior A shell opens

System (please complete the following information):

Additional context

OUTPUT:

winetricks GUI enabled, using zenity 3.44.0
pressure-vessel-wrap[335281]: W: Binding directories that are located under "/usr/" is not supported!
------------------------------------------------------
                                                      warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
              ------------------------------------------------------
                                                                    Using winetricks 20230212-next - sha256sum: 7606f7d307909687f0580778771f92d1b37745b64a063b43f5e7fd5e7e76f9c1 with wine-7.0 (Staging) and WINEARCH=win64
                                                           Executing cd /home/yashr/.local/share/Steam/steamapps/compatdata/230410/pfx/dosdevices/c:
                                                                    xterm: bad command line option "-e"

usage:  xterm [-/+132] [-C] [-Sccn] [-T string] [-/+ah] [-/+ai] [-/+aw]
    [-b number] [-baudrate rate] [-/+bc] [-bcf milliseconds]
    [-bcn milliseconds] [-bd color] [-/+bdc] [-bg color] [-bw number] [-/+cb]
    [-cc classrange] [-/+cjk_width] [-class string] [-/+cm] [-/+cn] [-cr color]
    [-/+cu] [-/+dc] [-display displayname] [-e command args ...] [-fa pattern]
    [-fb fontname] [-/+fbb] [-/+fbx] [-fc fontmenu] [-fd pattern] [-fg color]
    [-fi fontname] [-fn fontname] [-fs size] [-/+fullscreen] [-fw fontname]
    [-fwb fontname] [-fx fontname] [%geom] [#geom] [-geometry geom] [-help]
    [-/+hm] [-/+hold] [-iconic] [-/+ie] [-/+im] [-into windowId] [-/+itc]
    [-/+j] [-/+k8] [-kt keyboardtype] [-/+l] [-/+lc] [-lcc path] [-leftbar]
    [-lf filename] [-/+ls] [-/+maximized] [-/+mb] [-mc milliseconds] [-/+mesg]
    [-/+mk_width] [-ms color] [-n string] [-name string] [-nb number] [-/+nul]
    [-/+pc] [-pf fontname] [-/+pob] [-report-charclass] [-report-colors]
    [-report-fonts] [-report-icons] [-report-xres] [-rightbar] [-/+rv] [-/+rvc]
    [-/+rw] [-/+s] [-/+samename] [-/+sb] [-selbg color] [-selfg color] [-/+sf]
    [-sh number] [-/+si] [-/+sk] [-sl number] [-/+sm] [-/+sp] [-/+t]
    [-ti termid] [-title string] [-tm string] [-tn name] [-/+u8] [-/+uc]
    [-/+ulc] [-/+ulit] [-/+ut] [-/+vb] [-version] [-/+wc] [-/+wf]
    [-xrm resourcestring] [-ziconbeep percent]

Type xterm -help for a full description.
Matoking commented 1 year ago

xterm seemingly isn't accepting the -e parameter for some reason.

Could you try installing either GNOME Terminal (gnome-terminal) or Konsole (konsole) and trying again?

Jark5455 commented 1 year ago

Hey, sorry for the late response, konsole returns Missing value after -e when I try running it in that

Matoking commented 1 year ago

Are you running Winetricks 20230212? There seems to be a regression in that version which appeared after the "Run a Wine cmd shell" verb was added. Reverting to an older version should fix it, or alternatively you could use protontricks -c bash <appid>, which does roughly the same thing.

Jark5455 commented 1 year ago

Yea I am, ill revert to an old version

Matoking commented 1 year ago

An upstream bug fix has been submitted at Winetricks/winetricks#2037

Jark5455 commented 1 year ago

oh sorry, I forgot to close the issue