Package Details: steam-wrapper-git 0.7.0.r159.3da61f7-1

Git Clone URL: https://aur.archlinux.org/steam-wrapper-git.git (read-only)
Package Base: steam-wrapper-git
Description: Steam wrapper for common operations (git version)
Upstream URL: https://github.com/pyamsoft/steam-wrapper.git
Keywords: deprecated steam
Licenses: GPLv2
Conflicts: steam-wrapper
Provides: steam-wrapper
Submitter: pyamsoft
Maintainer: None
Last Packager: pyamsoft
Votes: 3
Popularity: 0.000000
First Submitted: 2015-01-27 16:44
Last Updated: 2017-01-11 22:43

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

pyamsoft commented on 2015-12-04 05:46

As a note, I've just pushed version 0.2.0 which adds support for overriding the USE_RUNTIME and CLOSE_TO_TRAY arguments by passing command line arguments.

The first argument controls the use of the runtime.
1 is USE_RUNTIME
0 is NO_RUNTIME

The second argument controls the close to tray flag
1 is CLOSE_TO_TRAY
0 is NO_CLOSE_TO_TRAY

# Run without runtime but with close_to_tray
steam-wrapper 0 1

# Run with runtime but without close_to_tray
steam-wrapper 1 0

# Run with no runtime and without close_to_tray
steam-wrapper 0 0

manoeldacosta commented on 2015-12-04 01:30

Indeed! To my frail mind the default '-1' suggested something like an unknown third option (as in negative 1, not 1). Setting it according to proper syntax works. Thanks for the explanation!

Just for the sake of completion (as guidance for anyone experiencing the same problem), the terminal now gives me 'STEAM_RUNTIME is disabled by the user', with the same message repeated in place of the old one indicating the packaged libraries path. steam-wrapper.log now shows:

steam-wrapper[0.1.9]: Launched on 2015-12-03 at 23:22 [11:22:36 ]
steam-wrapper[0.1.9]: Configuration file found at: /etc/steam-wrapper/steam-wrapper.conf
steam-wrapper[0.1.9]: Steam folder exists, can continue
steam-wrapper[0.1.9]: Attempting removal of stale libraries...
steam-wrapper[0.1.9]: Attempt linking of lib32 libflashplayer.so
steam-wrapper[0.1.9]: Flashplayer is already linked.
steam-wrapper[0.1.9]: Done.
steam-wrapper[0.1.9]: Launching Steam with environment:
steam-wrapper[0.1.9]: STEAM_RUNTIME = 0
steam-wrapper[0.1.9]: STEAM_FRAME_FORCE_CLOSE = 1

pyamsoft commented on 2015-12-04 01:19

Unfortunately the current wrapper makes it impossible to override configuration file definitions with command line arguments, a fix I am hoping to implement soon.

As such, you can either remove the configuration file and then pass the WRAPPER_USE_RUNTIME=0 steam-wrapper, OR, edit the steam-wrapper.conf file.

Make sure that the variable WRAPPER_USE_RUNTIME is defined as follows to disable the runtime:

WRAPPER_USE_RUNTIME=${WRAPPER_USE_RUNTIME:-0}

Please note the -0 instead of just 0. This is because of bash syntax reasons.

The current output suggests that you are running the steam "default" which is with the runtime ENABLED.

manoeldacosta commented on 2015-12-04 01:09

Ok, thank you for the clarifications.

After editing /etc/steam-wrapper/steam-wrapper.conf and changing the WRAPPER_USE_RUNTIME variable from the default -1 to 0, the initial message changes to 'STEAM_RUNTIME is enabled automatically', but the message 'STEAM_RUNTIME has been set by the user to: /home/<myusername>/.local/share/Steam/ubuntu12_32/steam-runtime' remains. Running the following command:
$ WRAPPER_USE_RUNTIME=0 steam-wrapper
wields the same results.

$HOME/.steam-wrapper/steam-wrapper.log shows the following:
steam-wrapper[0.1.9]: Launched on 2015-12-03 at 22:51 [10:51:31 ]
steam-wrapper[0.1.9]: Configuration file found at: /etc/steam-wrapper/steam-wrapper.conf
steam-wrapper[0.1.9]: Steam folder exists, can continue
steam-wrapper[0.1.9]: Attempting removal of stale libraries...
steam-wrapper[0.1.9]: Attempt linking of lib32 libflashplayer.so
steam-wrapper[0.1.9]: Cannot find libflashplayer.so
steam-wrapper[0.1.9]: Done.
steam-wrapper[0.1.9]: Launching Steam with environment:
steam-wrapper[0.1.9]: STEAM_RUNTIME =
steam-wrapper[0.1.9]: STEAM_FRAME_FORCE_CLOSE = 1

After installing packages flashplugin and lib32-flashplugin, it becomes:
steam-wrapper[0.1.9]: Launched on 2015-12-03 at 22:56 [10:56:40 ]
steam-wrapper[0.1.9]: Configuration file found at: /etc/steam-wrapper/steam-wrapper.conf
steam-wrapper[0.1.9]: Steam folder exists, can continue
steam-wrapper[0.1.9]: Attempting removal of stale libraries...
steam-wrapper[0.1.9]: Attempt linking of lib32 libflashplayer.so
steam-wrapper[0.1.9]: Linked libflashplayer.so
steam-wrapper[0.1.9]: Done.
steam-wrapper[0.1.9]: Launching Steam with environment:
steam-wrapper[0.1.9]: STEAM_RUNTIME =
steam-wrapper[0.1.9]: STEAM_FRAME_FORCE_CLOSE = 1

Since even now the terminal returns 'STEAM_RUNTIME is enabled automatically' and the log file is unclear (as you can see above, STEAM_RUNTIME has no value), I'm still not sure if Steam is running with packaged libraries disabled or not.

pyamsoft commented on 2015-12-04 00:41

As far as the relevance of this package, it seeks to fix the error that users commonly have on ArchLinux with steam which is that it may launch and install initially, but then hang when attempting to startup at a later period, usually accompanied with the message:

Installing breakpad exception handler

The steam-wrapper package is just a convenience script which applies many of the common fixes listed on the ArchWiki Steam page. It does not seek to replace or compete with steam-libs or steam-native in any way. It's more of just an easy way for myself (and anyone else who may run steam in a similar way with the shipped Ubuntu runtime) to use Steam on ArchLinux with as little hassle as possible.

pyamsoft commented on 2015-12-04 00:37

The steam runtime can be enabled/disabled by either creating a configuration file or specifying it on the command line with the WRAPPER_USE_RUNTIME environment variable. Do note that by default, the runtime is enabled in the configuration file that is shipped with the package.

The steam-native package and steam-libs packages are marked optional, as they are only needed if one does not wish to use the shipped steam runtime.

By default a configuration file is installed to /etc/steam-wrapper/steam-wrapper.conf, you can look in there to see options relating to the wrapper. To disable the runtime and use steam-libs native libraries, change the value of WRAPPER_USE_RUNTIME to 0.

Hope that clears some things up.

manoeldacosta commented on 2015-12-04 00:31

Please excuse my ignorance. I have steam-libs installed, but when running steam-wrapper from the terminal I still get the message 'STEAM_RUNTIME is enabled by the user'. And a few lines further down: 'STEAM_RUNTIME has been set by the user to: /home/<myusername>/.local/share/Steam/ubuntu12_32/steam-runtime'.

Your GitHub page says the wrapper "offers an easy way to enable or disable the use of the Steam runtime". How? Do I also have to install steam-native? If so, then what's the relevance of this package? Again, I don't mean to sound arrogant; I'm sure I have failed to see something obvious. Thank you for any clarifications.

pedrogabriel commented on 2015-08-10 17:38

Please, add steam-libs as an opt-depend.