Post Reply 
Anyone use X48?
01-09-2022, 09:45 PM
Post: #12
RE: Anyone use X48?
You can actually run an X11 application without the desktop, which might look good in this case (providing it will automatically centre itself on the screen).

To do this don't install (or disable) the session manager (you only actually need the xserver). Then create ']/etc/rc.local' and use the following script to start your application directly (replace ' /usr/local/bin/x48' with the path to your program). Don't forget to make ']/etc/rc.local' executable!

Note - You must pipe the result through 'true' exactly as shown otherwise X won't start.
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the
# execution bits.
#
# By default this script does nothing.

/usr/bin/startx /usr/local/bin/x48 || true &

exit 0

Mike T.

HP21, HP25, HP32E, HP33C, HP34C, HP10C, HP11C, HP12C, HP32S, HP22S
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Anyone use X48? - EugeneNine - 02-25-2017, 07:23 PM
RE: Anyone use X48? - Han - 03-01-2017, 07:35 PM
RE: Anyone use X48? - Egan Ford - 03-02-2017, 02:04 AM
RE: Anyone use X48? - Egan Ford - 03-02-2017, 03:05 AM
RE: Anyone use X48? - EugeneNine - 03-04-2017, 06:28 PM
RE: Anyone use X48? - EugeneNine - 09-21-2017, 01:29 AM
RE: Anyone use X48? - Chris Dreher - 09-21-2017, 04:48 AM
RE: Anyone use X48? - EugeneNine - 09-21-2017, 11:01 AM
RE: Anyone use X48? - EugeneNine - 09-23-2017, 02:50 AM
RE: Anyone use X48? - Mike T. - 01-09-2022 09:45 PM
RE: Anyone use X48? - dmh - 01-08-2022, 01:52 AM
RE: Anyone use X48? - EugeneNine - 01-08-2022, 04:49 PM
RE: Anyone use X48? - EugeneNine - 01-09-2022, 11:17 PM



User(s) browsing this thread: 3 Guest(s)