Puppy Linux Discussion Forum
"THE" alternative forum : puppylinux.info

 The time now is Thu 27 Aug 2015, 22:19 All times are UTC - 4
 Page 4 of 5 [74 Posts] Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
jpeps

Joined: 31 May 2008
Posts: 3220

 Posted: Thu 19 Jan 2012, 04:49    Post subject:

Here's a version using gtkdialog checkboxes:

version 5.1 Put checklist in it's own scrollable vbox. Thanks RSH
version 5.2 1/23/12 Restored file report function
 gnewpet.png Description Filesize 78.54 KB Viewed 791 Time(s)

Last edited by jpeps on Mon 23 Jan 2012, 05:15; edited 3 times in total
RSH

Joined: 05 Sep 2011
Posts: 2420
Location: Germany

 Posted: Thu 19 Jan 2012, 05:00    Post subject:

 Quote: Here's a version using gtkdialog checkboxes:

Yes, and this one works out of the box (something is wrong with 4.1?)

I did not have a look into the 5.0 script yet, but i must say:

Great Work!

Fantastic!

_________________
LazY Puppy
RSH's DNA
SARA B.
jpeps

Joined: 31 May 2008
Posts: 3220

 Posted: Thu 19 Jan 2012, 05:24    Post subject:

RSH wrote:
 Quote: Here's a version using gtkdialog checkboxes:

Yes, and this one works out of the box (something is wrong with 4.1?)

Works on my end. If you hack the script, all bets are off.
RSH

Joined: 05 Sep 2011
Posts: 2420
Location: Germany

 Posted: Thu 19 Jan 2012, 05:53    Post subject:

 jpeps wrote: Works on my end. If you hack the script, all bets are off.

Yes, by having a look into previous scripts, i meant to know this already.

However: great work, again.

Maybe you can go to the GtkDialog Development Section agin, post your .pet or script and point out that it is necessary to get this one - with a handle like the tree-item is handled (to get easily out the selected items just like the tree-item gives it to the programmer).

This would be a nice and useful GtkDialog-Feature...

Edit: maybe calling it CheckboxTree.

_________________
LazY Puppy
RSH's DNA
SARA B.
RSH

Joined: 05 Sep 2011
Posts: 2420
Location: Germany

 Posted: Sun 22 Jan 2012, 08:54    Post subject:

 Code: #echo -e "$(Xdialog --title "$WTITLE $WMTUSER" --stdout --no-cancel --editbox /tmp/applist_tmp 16 50)" >/usr/share/applications-desktop-files/$SPATH/applist-new    EdNewList="$(Xdialog --title "$WTITLE $WMTUSER" --stdout --no-cancel --editbox /tmp/applist_tmp 16 50)" #echo -e$EdNewList >/usr/share/applications-desktop-files/$SPATH/applist-new # remove old list if [ "$EdNewList" != "" ]; then       rm /usr/share/applications-desktop-files/$SPATH/applist fi # put into file for i in$EdNewList    do       if [ "$EdNewList" != "" ]; then echo -e$i >> /usr/share/applications-desktop-files/$SPATH/applist fi done This will write output as single lines into a file. f.e.: file1 file2 file3... Also the batch file (here=applist) will stay and will not loose it's data when closing the window (not using ok button) Maybe good to know? _________________ LazY Puppy RSH's DNA SARA B. jpeps Joined: 31 May 2008 Posts: 3220  Posted: Sun 22 Jan 2012, 16:17 Post subject: The output from batch selection already remains in /tmp  Code: /tmp$ cat batch-list CPUtemp_usage-2.0 flashplayer
disciple

Joined: 20 May 2006
Posts: 6557
Location: Auckland, New Zealand

 Posted: Mon 23 Jan 2012, 17:06    Post subject:

Thanks.

_________________
Classic Puppy quotes
-
root: n. the superuser or administrator account that has complete control over everything in the machine. Running as root is a taonga of Puppy Linux users.
jpeps

Joined: 31 May 2008
Posts: 3220

 Posted: Mon 23 Jan 2012, 22:46    Post subject:

 disciple wrote: Could you please add your gtkdialog apps to the index of programs using gtkdialog? Thanks.

Wouldn't it be better to have them all in one list,vs tacked on arbitrarily as
disciple

Joined: 20 May 2006
Posts: 6557
Location: Auckland, New Zealand

 Posted: Mon 23 Jan 2012, 23:09    Post subject:

Yeah, and categorised or at least listed alphabetically. In a way a wiki page would be better. But I figured just collecting them all in one place was a good start.
And the advantage of the forum thread is that if they want people can keep track of new ones as they are added.

_________________
Classic Puppy quotes
-
root: n. the superuser or administrator account that has complete control over everything in the machine. Running as root is a taonga of Puppy Linux users.
recobayu

Joined: 15 Sep 2010
Posts: 154
Location: indonesia

 Posted: Tue 14 Aug 2012, 05:44    Post subject: rox got hang when i go to directory /proc

hi everyone,
i want to ask you a question.
i make a pet that can setting my rox. actually, this pet is a small part of my big .pet. i just want to make easy, because every come a new varian puppy linux, i download it, try it, and then i must setting everything i want and that is eat my time. so i make an easy pet to setting that.
then my problem was appear when i use another puppy (not lupu, in my case is dpup exprimo). after i install my pet, rox got hang if i go to directory /proc.
i have 2 files in my pet,there are:

can anyone explain that?
thanks.
stu91

Joined: 06 Aug 2012
Posts: 145
Location: England. Dpup. Dell Inspiron 1501

 Posted: Tue 14 Aug 2012, 08:54    Post subject: Re: rox got hang when i go to directory /proc

recobayu wrote:
hi everyone,
i want to ask you a question.
i make a pet that can setting my rox. actually, this pet is a small part of my big .pet. i just want to make easy, because every come a new varian puppy linux, i download it, try it, and then i must setting everything i want and that is eat my time. so i make an easy pet to setting that.
then my problem was appear when i use another puppy (not lupu, in my case is dpup exprimo). after i install my pet, rox got hang if i go to directory /proc.
i have 2 files in my pet,there are:

can anyone explain that?
thanks.

I encounted this when building D-lite puppy -
There was / maybe still is a bug i think with rox-filer that if you had thumbnail images enabled in rox options when went to /proc directory rox-filer would hang - solution was to down-grade to an earlier version of rox-filer.
recobayu

Joined: 15 Sep 2010
Posts: 154
Location: indonesia

 Posted: Sun 26 May 2013, 12:18    Post subject: a little latex and bash language

Hi Everyone,
I want to share just a little things that i've found just now. I make a combination of bash and latex. I install latex by emil from here: (thanks emil)
http://murga-linux.com/puppy/viewtopic.php?t=61226
Then i make a script like this, just playing a small things..

 Code: #!/bin/sh echo "\documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[english]{babel} \begin{document} Hi guys, I have an exercise for you.. Can you answer this question? ">recobayu.tex for i in {1..15};do echo "$i.">>recobayu.tex x1=$((RANDOM%10+1)) x2=$((RANDOM%10+1)) #x" + bx + c =0 b=-$(($x1+$x2)) c=$(($x1*$x2)) echo "$ (x-$x1)(x-$x2)=0 \Leftrightarrow x^2 $((b)) x +$c =0 $">>recobayu.tex done echo "\end{document}">>recobayu.tex pdflatex recobayu.tex recobayu.pdf evince recobayu.pdf That's all. Now, I have a quadratic equation exercise. Anyone want to play around? recobayu Joined: 15 Sep 2010 Posts: 154 Location: indonesia  Posted: Fri 03 Apr 2015, 12:50 Post subject: If I want to list all my files in bin, I write this code:  Code: ls /bin >databaseku ls /usr/bin >>databaseku ls /usr/local/bin >> databaseku ls /sbin>>databaseku ls /usr/sbin>>databaseku I realize that this code:  Code: echo$PATH|cut -d ":" -f2

return: /usr/bin.
My question: Can we add all files in directory in $PATH to the file 'databaseku'? Thank You. Recobayu jamesbond Joined: 26 Feb 2007 Posts: 2479 Location: The Blue Marble  Posted: Fri 03 Apr 2015, 15:05 Post subject: This will list all files in$PATH to the file.
 Code: for p in ${PATH//:/ }; do echo$p; echo ===== # header ls $p echo ----- # footer done > databaseku Remove # header and # footer line is you don't want it. _________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13. Contributed Fatdog64 packages thread. MochiMoppel Joined: 26 Jan 2011 Posts: 753 Location: Japan  Posted: Sat 04 Apr 2015, 10:47 Post subject: or  Code: find${PATH//:/ } > databaseku

Lists also hidden files.
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year  Sort by: Post TimePost SubjectAuthor AscendingDescending
 Page 4 of 5 [74 Posts] Goto page: Previous 1, 2, 3, 4, 5 Next
 Jump to: Select a forum ------------------- Forum index |___ House Training |   |___ Beginners Help ( Start Here) |   |___ Users ( For the regulars ) |   |   |___ Usuarios de habla Hispana |   |   |___ Für deutschsprachige Anhänger |   |   |___ Pour les francophones |   |     |   |___ HOWTO ( Solutions ) |   |___ Bugs ( Submit bugs ) |     |___ Advanced Topics |   |___ Additional Software (PETs, n' stuff) |   |   |___ Package Collections / Repositories |   |   |___ REQUESTS |   |   |___ Browsers and Internet |   |   |___ Business |   |   |___ Compiling |   |   |___ Desktop |   |   |___ Documents |   |   |___ Drivers |   |   |___ Educational |   |   |___ Engineering/Science/Simulation |   |   |___ Eye Candy |   |   |___ Filesystem |   |   |___ Games |   |   |___ Graphics |   |   |___ Multimedia |   |   |___ Network |   |   |___ Security/Privacy |   |   |___ System |   |   |___ Utilities |   |   |___ Virtualization |   |   |___ Unsorted |   |     |   |___ Cutting edge |   |   |___ Multi-session live-CD/DVD |   |     |   |___ Hardware |   |   |___ Audio |   |   |___ Networking |   |   |   |___ Dialup |   |   |   |___ Ethernet |   |   |   |___ Wireless |   |   |     |   |   |___ Printers |   |   |___ Video |   |     |   |___ Puppy Derivatives |   |___ Puppy Projects |       |___ Next Puppy Development |       |   |___ 4.x |       |   |   |___ Bugs (4.x dev) |       |   |   |___ Usability Issues (4.x dev) |       |   |     |       |   |___ 5.x |       |       |___ Bugs (5.x dev) |       |       |___ Usability Issues (5.x dev) |       |     |       |___ Localization Project |       |___ Documentation Project |     |___ Taking the Puppy out for a walk |   |___ Announcements |   |___ Puppy Power |   |___ Suggestions |   |___ Misc |     |___ Off-Topic Area     |___ Programming     |___ Security

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