launching apps minimized
#1
If you want to launch an app already minimized, you can use the powerful, but woefully underdocumented Haiku utility "hey"

For example, I have BeShare in my /boot/home/config/settings/boot/launch folder. But I don't really want to see it the moment I boot up.

Here is a way to start it up minimized. Well, not really, if your computer is slow it will flash on the screen briefly.

edit /boot/home/config/settings/boot/UserBootscript. Right at the end insert the line
Code:
sleep 2
hey BeShare set Minimize of Window [0] to "bool(true)"

"hey" is case-sensitive and every space counts. You may need to experiment with the value of the sleep command if you have a fast machine.

OK, mandatory yab content coming up: This works for yab apps too.
Reply


Messages In This Thread
launching apps minimized - by clasqm - 08-12-2015, 12:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting