Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 16668  / 1 Year ago, thu, april 6, 2023, 6:23:29

I am working with an application using a touch screen. For this, I need Onboard (the on-screen keyboard) to open from Ubuntu's startup time with a fixed width and height. I also need to get a reserved screen position for placing Onboard (which means that Onboard should not be in front of any application windows).
I'm using Ubuntu 12.04 LTS.



Onboard was not installed in my system. I installed it by typing sudo apt-get install onboard in the terminal. It doesn't work properly. Now the system shows Onboard when I type onboard in the terminal. Onboard closes itself when I close the terminal.


More From » 12.04

 Answers
6

Open Gedit and type:



#!/bin/bash
# you can change the size of the window below (1000x300)
onboard -s 1000x300


Now save this file somewhere as filename.sh and open a terminal window. Navigate to this file location by using:



cd /home/user/blah/blah/../filename.sh


When you get there type in



sudo chmod a+x 'filename.sh'


(quotes are there for avoiding space character problems). Now you've made it an executable bash script. Open 'gnome-session-properties' from terminal and click on Add.



Name: Onboard
Command: "Browse to the file location"
Comment: Onboard on startup


Click add and you're done! Logout and login to see if it worked.


[#29317] Friday, April 7, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ippalogu

Total Points: 215
Total Questions: 127
Total Answers: 146

Location: Denmark
Member since Tue, Jul 19, 2022
2 Years ago
;