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 Thu 24 Jul 2014, 21:50
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 Posts_count   Goto page: Previous 1, 2, 3, 4, 5
Author Message
Geoffrey


Joined: 30 May 2010
Posts: 1322
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  138 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: 1322
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  125 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  115 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  111 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: 8028

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

Edited_time_total
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2504
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: 8028

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: 2504
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:   Sort by:   
Page 5 of 5 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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