11 Commits
Author SHA1 Message Date
Ikey Doherty 378e68804c Bump v0.2
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-06-11 18:45:24 +01:00
Ikey Doherty a52a6ad484 Properly show Solus on the README
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-06-08 21:09:24 +01:00
Ikey Doherty e104513e1d Add the missing ® in case nobody gets the idea..
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-06-08 20:59:12 +01:00
Ikey Doherty 7aa6ceca74 frontend: Fix padding and default to the dark theme, swap buttons
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-06-08 20:46:15 +01:00
Ikey Doherty 5032054c3c Remove defunct code
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-06-08 19:56:26 +01:00
Ikey Doherty c196764ba3 Begin a common issues section
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-05-28 20:47:07 +01:00
Ikey Doherty b5cdbb1c81 Update TODO
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-05-27 08:59:16 +01:00
Ikey Doherty 5543c98324 Add a TODO
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-05-27 08:41:03 +01:00
Ikey Doherty 572f41c3c5 Account for src/frontend
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-05-27 05:48:07 +01:00
Ikey Doherty 82512dece0 shim: Fix Steam for Arch users with dbus warnings causing segault on exit
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-05-27 05:29:37 +01:00
Ikey Doherty 6d6fe3773e Fix issue in README (Thanks James Stansell!)
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2016-05-27 05:19:56 +01:00
5 changed files with 55 additions and 13 deletions
+21 -3
View File
@@ -8,6 +8,13 @@ This project, and by extension Solus, is not officially endorsed by, or
affiliated with, Steam*, or its parent company, Valve*.
Linux Steam Integration (LSI) is a `Solus Project <https://github.com/solus-project/linux-steam-integration/issues/2>`_
.. image:: https://build.solus-project.com/logo.png
:align: center
:alt: LSI is a Solus Project
Integrating LSI
===============
@@ -81,7 +88,7 @@ must be ``[Steam]``.
``use-native-runtime = $boolean``
If set to a boolean value, (yes/true/on), the host OS's native runtime
If set to a true boolean value, (yes/true/on), the host OS's native runtime
will be used instead of the Steam provided runtime. If this is set to
a false boolean value (no/false/off), then the startup will be modified
to export the relevant ``LD_PRELOAD`` and ``STEAM_RUNTIME`` settings.
@@ -90,7 +97,7 @@ must be ``[Steam]``.
``force-32bit = $boolean``
If set to a boolean value (yes/true/on), the shadowed Steam binary will
If set to a true boolean value (yes/true/on), the shadowed Steam binary will
be run via the ``linux32`` command. This will force the ``steam`` process
and all children to believe they are running on a 32-bit system. This
may be useful for 64-bit games that are buggy only on 64-bit.
@@ -102,6 +109,17 @@ must be ``[Steam]``.
The default value of this variable is ``false``.
Common issues
=============
**Missing tray icon for Steam client using native OS runtime**
Ensure you have the 32-bit version of libappindicator installed. This
is required for the tray icon. libappindicator falls back to a standard
X11 tray icon in the absence of desktop appindicator support.
Related issue: `Steam tray icon missing #2 <https://github.com/solus-project/linux-steam-integration/issues/2>`_
License
-------
@@ -116,7 +134,7 @@ License
main Steam* launcher.
libnica is available under the terms of the `LGPL-2.1` license.
``src/shim``::
``src/shim src/frontend``::
Copyright © 2016 Ikey Doherty
+20
View File
@@ -0,0 +1,20 @@
LSI is still in its infancy, currently only at a 0.1 release. The time to
release was dramatic due to an absolute requirement for non-broken Steam
to accompany the Solus 1.2 release
Going forward, there are more items that need implementing to start shaving
more rough edges off of Linux gaming.
Immediate LSI worklist:
- [x] Add configurable shim to replace /usr/bin/steam, relying on shadowed launcher
- [x] Add super-basic UI to configure said shim
- [x] Shove out a 0.1 for Solus 1.2
- [ ] Replace existing /usr/bin/steam entirely and decouple the tight runtime logic
that is currently enforced.
- [ ] Remove requirement for steam.sh $bindir/steam entirely - allowing parallel clients.
LSI becomes more self contained and no longer needs to prop up Steam, but replaces
much of the support tools.
- [ ] Replace the existing Steam "run.sh" style launch facilities
- [ ] Get to a point that current ubuntu12_32 runtime is no longer required or
wanted.
+1 -1
View File
@@ -1,4 +1,4 @@
AC_INIT([linux-steam-integration], 0.1, [ikey@solus-project.com], [linux-steam-integration], [https://github.com/solus-project/linux-steam-integration/issues])
AC_INIT([linux-steam-integration], 0.2, [ikey@solus-project.com], [linux-steam-integration], [https://github.com/solus-project/linux-steam-integration/issues])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wno-portability no-dist-gzip dist-xz foreign subdir-objects])
AC_PROG_CC
+9 -9
View File
@@ -41,15 +41,11 @@ int main(int argc, char **argv)
GtkWidget *check_native = NULL;
GtkWidget *check_emul32 = NULL;
GtkWidget *label = NULL;
GtkSettings *settings = NULL;
int response = 0;
bool is_x86_64 = lsi_system_is_64bit();
LsiConfig lconfig = { 0 };
/*dialog = gtk_dialog_new_with_buttons("Linux Steam Integration", NULL, 0,
"Apply", GTK_RESPONSE_ACCEPT,
"Cancel",
GTK_RESPONSE_REJECT,
NULL);*/
dialog = gtk_dialog_new();
g_object_set(G_OBJECT(dialog),
"title",
@@ -58,18 +54,22 @@ int main(int argc, char **argv)
"steam",
NULL);
settings = gtk_settings_get_default();
g_object_set(settings, "gtk-application-prefer-dark-theme", TRUE, NULL);
/* Sort out the buttons */
(void)gtk_dialog_add_button(GTK_DIALOG(dialog), "Cancel", GTK_RESPONSE_REJECT);
button = gtk_dialog_add_button(GTK_DIALOG(dialog), "OK", GTK_RESPONSE_ACCEPT);
gtk_style_context_add_class(gtk_widget_get_style_context(button), "suggested-action");
(void)gtk_dialog_add_button(GTK_DIALOG(dialog), "Cancel", GTK_RESPONSE_REJECT);
/* Pack the grid */
grid = gtk_grid_new();
gtk_grid_set_column_spacing(GTK_GRID(grid), 6);
gtk_grid_set_row_spacing(GTK_GRID(grid), 6);
gtk_grid_set_column_spacing(GTK_GRID(grid), 12);
gtk_grid_set_row_spacing(GTK_GRID(grid), 12);
container = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
gtk_container_add(GTK_CONTAINER(container), grid);
gtk_container_set_border_width(GTK_CONTAINER(container), 6);
/* Add a splash of colour. */
image = gtk_image_new_from_icon_name("steam", GTK_ICON_SIZE_DIALOG);
@@ -95,7 +95,7 @@ int main(int argc, char **argv)
gtk_grid_attach(GTK_GRID(grid), check_native, 2, 1, 1, 1);
/* Handle the 32-bit cruft */
label = gtk_label_new("Force 32-bit mode for Steam");
label = gtk_label_new("Force 32-bit mode for Steam®");
_align_label(label);
if (is_x86_64) {
gtk_widget_set_tooltip_text(label,
+4
View File
@@ -60,6 +60,10 @@ int main(int argc, char **argv)
setenv("STEAM_RUNTIME", "1", 1);
}
/* Vanilla dbus users suffer a segfault on Steam exit, due to incorrect
* usage of dbus by Steam. Help them out */
setenv("DBUS_FATAL_WARNINGS", "0", 1);
memset(&n_argv, 0, sizeof(char *) * (argc + 2));
/* If we're 64-bit and 32-bit is forced, proxy via linux32 */