Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation instructions for Ubuntu/Gnome #39

Open
wants to merge 2 commits into
base: squeak-trunk
Choose a base branch
from

Conversation

LinqLover
Copy link
Contributor

For the beginning, I just documented how to install the VM in an Ubuntu system so that you can run images more conveniently from the GUI:

image

Proper window icon in launcher/dock:

image

(For clarification, by default you cannot see nor add a Squeak binary to "Open With" in Gnome, and the app icon is just generic.)

Tested on Ubuntu 24.

Future work:

  • I also tried to add an icon to the file in the Files app (nautilus) but that doesn't work right now.
  • It would be nice if the starter script or the binary itself had an option to trigger a file chooser if no image file is specified, so that opening Squeak from the launcher works (currently it does nothing visible).
  • Automate all of this, ideally also ship it as a deb package (or maybe research alternatives such as snap/flatpak).

@squeak-smalltalk-bot
Copy link

squeak-smalltalk-bot commented Feb 8, 2025 via email

@LinqLover
Copy link
Contributor Author

Thanks for the feedback, tim!

  • noticed an apparent typo on line 13 " Create ~/.ocal/bin/squeak:" Pretty sure that ought to be ~/.local

fixed

/usr/local is global on the machine, ~/.local is just for the current user. I'm not sure how established the latter is, but not only it feels cleaner to me, it also avoids sudo permissions for installing Squeak. However, going the global way would maybe make it easier to set up file icons. You can already update the paths accordingly, maybe we should document/support both.

@squeak-smalltalk-bot
Copy link

squeak-smalltalk-bot commented Feb 9, 2025 via email

@aSqueaker
Copy link

If you're not seeing the icon, try adding this to your .desktop file:

StartupWMClass=squeak

An alternatative icon:

Squeak-logo-white-background-68x51

If you prefer to run Squeak full screen, you might appreciate the additional screen real-estate afforded by installing the Unite! Gnome extension. First, install the Gnome Shell Integration extension in Chrome from

https://extensions.gnome.org/

then install the "Unite!" extension. It unites the window title bar with the Gnome top bar.

@LinqLover
Copy link
Contributor Author

@aSqueaker I have added StartupWMClass to my .desktop file and have updated the database but cannot see any difference. Does this actually work for you, and under which version of Gnome? :)

Regarding your other note, if I turn Squeak to fullscreen mode, the Goome top bar is hidden, so I don't see any advantage in merging the title bar with the Gnome top bar. Apart from that, I cannot find this extension in the Extension Store - perhaps it is not available in Ubuntu 24 any longer?

@squeak-smalltalk-bot
Copy link

squeak-smalltalk-bot commented Feb 19, 2025 via email

@squeak-smalltalk-bot
Copy link

squeak-smalltalk-bot commented Feb 19, 2025 via email

@LinqLover
Copy link
Contributor Author

Hi Chris,

the windows appear grouped for me even when StartupWMClass is not included in the .desktop file. The Unite extension is not compatible with Ubuntu 24 anymore.

Anyway, thanks for the comments!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants