Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 01:37
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Zenity/Yad and scripts
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 5 [66 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Author Message
Geoffrey


Joined: 30 May 2010
Posts: 1214
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Fri 18 Oct 2013, 19:01    Post subject:  

Yad still seems to be going ahead, the latest version is 0.23.1, the issue of text placement is fixed in " yad --text " it now can be centered, the window resizing is resolved and buttons can also be centered.

It's been very quite here in regard to Yad.
Code:
#!/bin/bash

process=`ps -u $USER | yad --list --title="Kill Process" --window-icon="process-stop" --buttons-layout=center --column "Please select a process to kill:" --text="List all $USER processes:" --width 350 --height 450`

ans=`echo $?`

   if test "$ans" -eq "0" ;
   then

      select=`echo $process | cut -d" " -f1`

      kill $select
         ans1=`echo $?`
         if [ "$ans1" == "0" ] ;
         then
         select1=`echo $process | cut -d":" -f3  | cut -d" " -f2`
          echo | yad --fixed --timeout="5" --title="Kill Process" --window-icon="process-stop" --buttons-layout=center --button="gtk-ok:0" --text-align="center" --borders="30" \
          --text="<big><big><b>${select1%|*}</b></big></big><big><b> was killed!</b></big>"
         else
          echo | yad --fixed --timeout="5" --title="Kill Process" --window-icon="process-stop" --buttons-layout=center --button="gtk-ok:0" --text-align="center" --borders="30" \
          --text="<big><big><b>Process</b></big></big><big><b> not found!</b></big>"
         fi
   exit 0
    fi
 
   if test "$ans" -eq "1" ;
   then
   exit 0
   fi
yad-0.23.1.tar.gz
Description  Yad version 0.23.1 compiled in Carolina
gz

 Download 
Filename  yad-0.23.1.tar.gz 
Filesize  57.3 KB 
Downloaded  110 Time(s) 

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1214
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Fri 06 Dec 2013, 16:41    Post subject:  

Latest Yad compiled in Carolina.
Quote:
Victor Ananjevsky
Dec 6 (15 hours ago)

hi, list

new version (0.25.1) of yad is available for download
this is a bugfix release.

changes are:
- fix bug with popup menu of notification icon (http://code.google.com/p/yad/issues/detail?id=196)
- use normal hints for windows, so now window managers doesn't treats yad windows as a dialogs

yad-0.25.1-i486.pet
Description 
pet

 Download 
Filename  yad-0.25.1-i486.pet 
Filesize  97.68 KB 
Downloaded  94 Time(s) 
yad_DOC-0.25.1-i486.pet
Description 
pet

 Download 
Filename  yad_DOC-0.25.1-i486.pet 
Filesize  9.51 KB 
Downloaded  82 Time(s) 
yad_NLS-0.25.1-i486.pet
Description 
pet

 Download 
Filename  yad_NLS-0.25.1-i486.pet 
Filesize  55.68 KB 
Downloaded  82 Time(s) 

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7179

PostPosted: Fri 06 Dec 2013, 18:27    Post subject:  

Quote:
It's been very quite here in regard to Yad.

It gets quietly used here Very Happy.
Did a redo of pburn using it recently just to try out various options.

Thanks for the update and supporting it and not being trapped in the box Smile

mike

Last edited by mikeb on Sat 07 Dec 2013, 04:20; edited 1 time in total
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 07 Dec 2013, 03:44    Post subject:  

Did work on a "redo of pmount" ymount http://www.murga-linux.com/puppy/viewtopic.php?t=69283&start=101 long time ago

Thanks for the update.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7179

PostPosted: Sat 07 Dec 2013, 04:24    Post subject:  

Ah ymount...neat. ..playing with it now.

Did not know about yad when I rewrote pmount ... ended up around 3k and auto refreshing and faster but remained gtkdialog3...recently used that desktop widget thingy to make pseudo icons with it along with a revitalised mut for the backend .. was not sure if I could do it with yad but perhaps I could revisit it.

mike
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 07 Dec 2013, 05:45    Post subject:  

mikeb wrote:
Ah ymount...neat. ..playing with it now.

Ymount was started by iguleder.
My contribution and interest was mainly addition of GUI language switchable between several languages from ymount-NLS.pet.
You can play with them, no need to add or change locale IIRC.

edit
Just switch between your installed locales Crying or Very sad
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 5 [66 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0608s ][ Queries: 13 (0.0072s) ][ GZIP on ]