View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#921
Originally Posted by Vintrc View Post
Hi,
anyone knows about some command for hide and show all desktop?
I mean one button will be everytime on desktop and when i press it, each icons, widget etc. hide and next show back.. because if i have some nice wallpaper, it would be fine
For showing/hiding beecons you can just play with http://wiki.maemo.org/Queen_BeeCon_W...from_the_Shell hide/show DBUS methods towards specific beecon instances IDs example change the id1,id2,id3... ids with beecons you want to hide/show:

You can create a 2states button beecon with this script
PHP Code:
if [ "$QBW_EXEC_REASON== "QBW_STARTUP_UPDATE" ]; then
#    add here switch on instructions
    
for id in id1 id2 id3 ;do
        
run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw${IDoh.no.more.show
    done
    
echo "ON";
    exit 
1;
fi;

if [ 
"$QBW_CURRENT_RESULTS_TEXT== "ON" ]; then
#    add here switch off instructions
    
for id in id1 id2 id3 ;do
        
run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw${IDoh.no.more.hide
    done
    
echo "OFF";
    exit 
0;
else
#    add here switch on instructions
    
for id in id1 id2 id3 ;do
        
run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw${IDoh.no.more.show
    done
    
echo "ON";
    exit 
1;
fi
With some more effort and using the timer function the beecons could be automatically hidden after some time you have shown them ... but I'll leave that as and exercise!!!!
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras