I used 'startx' and 'xinit' without using x server.
The application is able to run, but it is running in landscape view only while I am using porteus in text mode with portrait view.
I tried the following commands,
Code: Select all
$ xinit ./(gtk application)
Code: Select all
$ xinit && xrandr -o left ./(gtk application)
However when I tried the 'xinit' command alone, then a temporary **xserver** white window of **xinit** opens up in the landscape view, where I was able to run and rotate the application in portrait view using *'xrandr -o left'* command followed by application running as below mentioned,
In the text mode console
Code: Select all
$ xinit
Code: Select all
$ xrandr -o left
$ ./(gtk_application)
I tried to make a script with the above commands and run it, still I didn't get the application running on the porteus mode.
I used xvfb also to run the gtk application using
Code: Select all
xvfb-run ./(gtk application)
Any suggestions would be surely appreciated.