wmctrl needs to be installed (my puppy already has it). Remove fake gz extension.
Close all application windows at once
Moderator: Forum moderators
Close all application windows at once
- Attachments
-
- CloseAllWindows.gz
- (423 Bytes) Downloaded 69 times
Re: Close all application windows at once
can you make luncher
for opera mini to put
in startup folder?
thanks
Re: Close all application windows at once
ljlj wrote: Fri Aug 05, 2022 7:46 amcan you make luncher
for opera mini to put
in startup folder?
thanks
Is this the one I published an sfs for some time ago?
Re: Close all application windows at once
I assume you have it in a running order. I start mine with the following code, you can make a script and place it in your Startup folder. Change the Opera Mini version number if it is different from yours. And make sure that Java and microemulator are already loaded when the script is executed:
Code: Select all
java -cp /microemulator-2.0.4/lib/microemu-jsr-75.jar:/microemulator-2.0.4/microemulator.jar org.microemu.app.Main --impl org.microemu.cldc.file.Filesystem org.microemu.examples.fcview.FCViewMIDlet /microemulator-2.0.4/apps/opera-mini-8.0.35158-advanced-en.jad
Re: Close all application windows at once
now i have to open
options
scaled displey
x4
can it be lunched
in single click
Re: Close all application windows at once
The script does not change any settings. It looks like the attached image. Start it by clicking "Start"
- Attachments
-
- Screenshot.jpg (32.73 KiB) Viewed 1362 times
Re: Close all application windows at once
now i have to open
options
scaled displey
x4
can it be lunched
in single click
Re: Close all application windows at once
ljlj wrote: Fri Aug 05, 2022 11:24 amnow i have to open
options
scaled displey
x4
can it be lunched
in single click
I've answered your question in the previous post. Once the setup/configuration is correct, it should stay like that (do you save your changes?). The script has nothing to do with the configuration, it just opens the program (see the image that was posted). Anyways - this is in the wrong thread now. Start a new one for Opera Mini.
- Flash
- Moderator
- Posts: 1003
- Joined: Tue Dec 03, 2019 3:13 pm
- Location: Arizona, U.S.
- Has thanked: 56 times
- Been thanked: 135 times
Re: Close all application windows at once
I used to have to restart X to shut down Firefox when it froze up. I discovered that restarting the X server will kill all running apps and close their windows.
- gychang
- Posts: 629
- Joined: Fri Aug 28, 2020 4:51 pm
- Location: San Diego, CA
- Has thanked: 220 times
- Been thanked: 70 times
Re: Close all application windows at once
I believe MochiMoppel had already made a small script that does this. (old forum https://oldforum.puppylinux.com/viewtop ... 6&start=30 ) I use his code and bind it to keyboard shortcut.
this is my close-all.sh make sure to make it executable with chmod +x close-all.sh.
Code: Select all
#!/bin/bash
#close all apps
WIN_ID=$(wmctrl -l | awk '{print $1}')
for i in $WIN_ID; do
wmctrl -ic $i
done