Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X-only minimalist setup?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1342
Location: Fayetteville, NC, USA

PostPosted: Sun Jan 22, 2017 12:06 am    Post subject: X-only minimalist setup? Reply with quote

I am looking at using Gentoo on a Core2Quad for a pet project of mine. I want to turn the system into a multiple system emulator I can plug into my TV and keep my NES, SNES, Genesis/CD/32X boxed up and preserved. My goal would be a minimal system install with the bare shell and only a plain X server with the old X login. The person logs into the system and is presented with a menu with selections for NES, SNES, Sega, logout, reboot, and shutdown. They make their choice and the correct program is started (FCEUX, SNES9X, or Gens) and when they exit the emulator it drops back to the menu. In other words even if I had a thousand applications installed, they should never be able to access them.

The question is, how can I accomplish this without writing an actual X program for the menu? I know I can start the program as soon as the user logs into the plain X desktop, but how should I go about this? Bash/dialog? C/C++ program? Or is there a simpler way?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sun Jan 22, 2017 12:20 am    Post subject: Reply with quote

You are looking for the classical kiosk mode

e.g. http://porteus-kiosk.org/

Quote:
The question is, how can I accomplish this without writing an actual X program for the menu? I know I can start the program as soon as the user logs into the plain X desktop, but how should I go about this? Bash/dialog? C/C++ program? Or is there a simpler way?


.xinitrc or what it is called. when you start your x-server that way you can just add it there

small desctops like i3wm, just need a single exec entry in .i3config
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5592

PostPosted: Sun Jan 22, 2017 12:27 am    Post subject: Reply with quote

Just install RetroArch (and maybe one of the frontends for it like EmulationStation) and it does all that stuff. You don't even need X.

There's ebuilds for it in the "roslin" overlay, emulationstation is in "abendbrot".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum