Edited by Basix, 01 August 2010 - 02:55 PM.
forgot the question mark
how do I start a window from the terminal?
Started by Basix, Aug 01 2010 02:55 PM
3 replies to this topic
#1
Posted 01 August 2010 - 02:55 PM
I have been trying to figure out how gui libraries work, and I found out that programs make system calls that cause the os to run a program, and that there is a program for managing windows (not the os), so what system call would I make to open a window?, I have tried looking in libraries, but I can never figure out someone else's code, I am running Ubuntu linux 10.04, but I also have windows xp so I could try it in that if you only know it for windows, I also have a program installed called "compiz" just in case that is important to know at all:pinguin:
|
|
|
#2
Posted 01 August 2010 - 04:10 PM
It depends on what language you are going to use, and which library. C++ offers gtkmm, Qt, and several others. Python has different libraries. You can also do direct Xwindows calls, Compiz calls, etc.
#3
Posted 02 August 2010 - 06:55 AM
A neat but useless cheat you can use is to write a GUI application and then write a shell script that says
#!/bin/bash open ProgramName
#4
Posted 12 August 2010 - 04:28 PM
LOL :D Hahaha WingedPanther made me laugh! :)
In terminal just type the name of the application you want to run. On the other hand if you want to set the privilege to some process( i.e. new opened one) you can do it by using command NICE <nameOfTheApplication>.
In terminal just type the name of the application you want to run. On the other hand if you want to set the privilege to some process( i.e. new opened one) you can do it by using command NICE <nameOfTheApplication>.


Sign In
Create Account


Back to top









