# GameShell for Pygame dev

**URL:** <https://forum.clockworkpi.com/t/gameshell-for-pygame-dev/6509>\
**Category:** GameShell\
**Created:** [April 19, 2021, 9:03am UTC](https://forum.clockworkpi.com/t/gameshell-for-pygame-dev/6509 "2021-04-19T09:03:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mitya-T](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mitya-t/32/4401_2.png) [@Mitya-T](https://forum.clockworkpi.com/u/Mitya-T)\
**Post date:** [April 19, 2021, 9:03am UTC](https://forum.clockworkpi.com/t/gameshell-for-pygame-dev/6509/1 "2021-04-19T09:03:57Z")

</div>

Hi there! I am starting to learn PyGame and I guess that gameshell is a very interesting platform to hone my skills. For now I have understood how can I access gameshell via ssh however I would like to start my scripts on gameshell directly without being connected.

Is there any guide here how can I access linux terminal (for example) to run .py scripts?

Thank you!

---

<div class="post-metadata">

**Author:** ![Godzil](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/godzil/32/60_2.png) [@Godzil](https://forum.clockworkpi.com/u/Godzil)\
**Post date:** [April 20, 2021, 11:42am UTC](https://forum.clockworkpi.com/t/gameshell-for-pygame-dev/6509/2 "2021-04-20T11:42:28Z")

</div>

The launcher use PyGame, so it will definitely work.

As for remote access, nothing special need to be, just make sure it is connected to wifi, and connect using SSH.

the “tinycloud” thingy option will show you the current IP address

---

<div class="post-metadata">

**Author:** ![Mitya-T](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mitya-t/32/4401_2.png) [@Mitya-T](https://forum.clockworkpi.com/u/Mitya-T)\
**Post date:** [April 20, 2021, 3:57pm UTC](https://forum.clockworkpi.com/t/gameshell-for-pygame-dev/6509/3 "2021-04-20T15:57:11Z")

</div>

Oh, thanks a lot Godzil, for the rapid answer!

Yes, sure I can enter my gameshell environment via `ssh` - I know how to do it.  
Say, I write some code on gameshell and then I stop my putty and would like to launch the `.py` script on gameshell itself.

Normally I must have a sort of access to a terminal window to be able to browse to the location where my script is (using `cd` command), right?

However, how am I suppose to open the terminal window? Did not find this option in TynyCloud…

Thanks!

---

<div class="post-metadata">

**Author:** ![Godzil](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/godzil/32/60_2.png) [@Godzil](https://forum.clockworkpi.com/u/Godzil)\
**Post date:** [April 20, 2021, 5:55pm UTC](https://forum.clockworkpi.com/t/gameshell-for-pygame-dev/6509/4 "2021-04-20T17:55:32Z")

</div>

TinyCloud is just the “app” that show the IP address of your gameshell, there is nothing really about it.

If you want your app to continue running, there is only two ways on the Gameshell:

The first is in command line, using `screen` to make sure your app is not going to stop once you disconnected from the terminal.

The second is to make the launcher to recognise your app and add it to the launcher icon menu.

There is no terminal window access directly on the device (at least not in gameshell mode, using HDMI keyboard and mouse there is one)

---

<div class="post-metadata">

**Author:** ![packmule43](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/packmule43/32/4810_2.png) [@packmule43](https://forum.clockworkpi.com/u/packmule43)\
**Post date:** [April 21, 2021, 2:54am UTC](https://forum.clockworkpi.com/t/gameshell-for-pygame-dev/6509/5 "2021-04-21T02:54:48Z")

</div>

Hello Mitya-T,

What I have done to get a terminal native on the game shell is to connect a Bluetooth keyboard and then open a new shell with Ctl + Alt + F2-F7. Then to get back to the gameshell launcher use Alt + F1.

---

<div class="post-metadata">

**Author:** ![qqMajiKpp](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/qqmajikpp/32/4674_2.png) [@qqMajiKpp](https://forum.clockworkpi.com/u/qqMajiKpp)\
**Post date:** [April 21, 2021, 11:22am UTC](https://forum.clockworkpi.com/t/gameshell-for-pygame-dev/6509/6 "2021-04-21T11:22:08Z")

</div>

one reason i have bluetooth keyboards 😉

---

<div class="post-metadata">

**Author:** ![Dasaku](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/dasaku/32/2704_2.png) [@Dasaku](https://forum.clockworkpi.com/u/Dasaku)\
**Post date:** [April 21, 2021, 2:10pm UTC](https://forum.clockworkpi.com/t/gameshell-for-pygame-dev/6509/7 "2021-04-21T14:10:05Z")

</div>

The concept here is very straightforward, you need create a symbolic link for you game’s executable file, and put it into a designated folder where gameshell will looking into and put the icons on the screen.  
I’ve done that only a couple times, and apologize that I cannot give you straight answer for your question now, since I don’t have my gameshell available now.

---

<div class="post-metadata">

**Author:** ![Mitya-T](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mitya-t/32/4401_2.png) [@Mitya-T](https://forum.clockworkpi.com/u/Mitya-T)\
**Post date:** [April 21, 2021, 3:26pm UTC](https://forum.clockworkpi.com/t/gameshell-for-pygame-dev/6509/8 "2021-04-21T15:26:55Z")

</div>

Ah, ok - looks like that’s exactly what I need right now. If you find your GameSH - would you be so kind to guide me later? Thanks in advance!
