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 20 Dec 2014, 02:45
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Some suggestions that will make Puppy excellent
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 4 [59 Posts]   Goto page: Previous 1, 2, 3, 4
Author Message
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Sat 11 Jun 2011, 07:24    Post subject:  

Hi akash_rawal,

What windows manager and theme are you running in that screen shot above?

i like! Very Happy
Back to top
View user's profile Send private message 
akash_rawal

Joined: 25 Aug 2010
Posts: 232
Location: ISM Dhanbad, Jharkhand, India

PostPosted: Sat 11 Jun 2011, 08:43    Post subject:  

stu90 wrote:
Hi akash_rawal,

What windows manager and theme are you running in that screen shot above?

i like! Very Happy


I am using:
  • Wallpaper: See the world.jpg
  • Window manager: Beryl, with Emerald decorator
  • Window decorator theme: A-New-Hope (see attachment)
  • Gtk theme: A-New-Hope (see attachment)
a-new-hope-emerald-themes.tar.bz2
Description 
bz2

 Download 
Filename  a-new-hope-emerald-themes.tar.bz2 
Filesize  398.1 KB 
Downloaded  403 Time(s) 
gtk_theme_a_new_hope.pet
Description  Requires murrine engine to work properly
pet

 Download 
Filename  gtk_theme_a_new_hope.pet 
Filesize  29.12 KB 
Downloaded  384 Time(s) 
Back to top
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Sat 11 Jun 2011, 09:19    Post subject:  

akash_rawal wrote:
stu90 wrote:
Hi akash_rawal,

What windows manager and theme are you running in that screen shot above?

i like! Very Happy


I am using:
  • Wallpaper: See the world.jpg
  • Window manager: Beryl, with Emerald decorator
  • Window decorator theme: A-New-Hope (see attachment)
  • Gtk theme: A-New-Hope (see attachment)


Thanks akash_rawal - i never herd of Beryl before - looks sweet. Smile

cheers.
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 114
Location: indonesia

PostPosted: Sat 13 Aug 2011, 20:15    Post subject: Re: 4. Shutting down puppy by power button  

thank you very much akash, now my luci 258 has label on drive icon.
how if the longer label cut to the wide of icon, for example "somethingdriveiconlabel" tobe "someth..."
maybe it is better.
Wink

akash_rawal wrote:
4. Shutting down puppy by power button

This one is pretty easy.
Just wrote a small shell script of just 5 lines:
Code:

#!/bin/sh
cat /proc/acpi/event |
while read line; do
   wmpoweroff
done

You may want to replace "wmpoweroff" with your favorite shutdown manager like PupShutdown.


now i am really new and interested to studying programming with sh language on puppy.
i want to PupShutdown appear when i press powerbutton on my laptop.
Edit: i know how it be.
I use that script on /root/Startup. I restart x server, n i got it! My power button works.
thanks
Very Happy
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5465
Location: Finland

PostPosted: Mon 12 Sep 2011, 01:12    Post subject:  

Quote:
Anyone knows how to enable hibernation?


Sorry about late response. I just now find this thread through posted link.

You enable hibernation when you compile the kernel with hibernation enabled.

Anyway, in Puppies hibernation is quite useless. It takes time to write the RAM content to the swap partition, after that it locks the swap partition, until you boot the same hibernated Puppy, and it takes time to write the swap content back.

Only useful usage I have found, is that you can install applications without savefile when using pristine, fresh frugal install. Hibernate the Puppy and you can that way shutdown your comp. When booting back to the same Puppy, you have those installed applications in hand without savefile created.

Puppy shuts down and starts many times faster than hibernation is able
Back to top
View user's profile Send private message 
r1tz


Joined: 09 Sep 2010
Posts: 165
Location: In #puppylinux (IRC)

PostPosted: Wed 14 Sep 2011, 13:35    Post subject:  

Hmmm, i feel that even windows start up and shut down faster then when hibernating.

But hibernation is great when you don't feel like closing your 100 tabs and programs only to start them again when you reboot a few hours later.
Back to top
View user's profile Send private message MSN Messenger 
recobayu


Joined: 15 Sep 2010
Posts: 114
Location: indonesia

PostPosted: Mon 14 Nov 2011, 19:19    Post subject:  drive icon label and space between  

drive icon label fix
http://208.109.22.214/puppy/viewtopic.php?t=60911&start=30

i make some change on the function blkid_name_generator() to manage the longer drive icon label, something like "ThisIsMyLabel" tobe just "ThisIsMy..", here we go.
Code:

blkid_name_generator() {
#Gather blkid output and filter out required device
if [ ! -f /tmp/blkid.txt ]; then
blkid -c /dev/null > /tmp/blkid.txt
fi
blkid_cleaner &
LABEL=""
eval $( cat /tmp/blkid.txt | grep "$@:" | cut --delimiter=" " -f 2- | sed -e 's/ /;/g' )
LABEL=${LABEL//;/ }
if [ ${#LABEL} -gt 8 ]
then
   LABEL=${LABEL:0:8}..
fi
#Generate drive label
if [ "$LABEL" = "" ]; then ONEDRVLABEL="$@\n \n "; else ONEDRVLABEL="${LABEL}\n($@)\n "; fi
}


next, to change the space between drive icon,
1. make a text file in the /tmp folder name 'pup_event_icon_change_flag' then write: ICONWIPE on it. and save.
2. edit the "ICON_PLACE_SPACING" on the /etc/eventmanager tobe 75. save it.
3. restart xserver.

Very Happy
Back to top
View user's profile Send private message 
sickgut


Joined: 23 Mar 2010
Posts: 1157
Location: Tasmania, Australia in the mountains.

PostPosted: Wed 14 Dec 2011, 08:44    Post subject:  

regarding these two points:

1. Desktop drive icons: They should show volume labels along with drive numbers.
2. Grub bootloader config: It should have ability to detect existing operating systems and generate appropriate configurations to boot them. (I think the easiest way to do that is to read existing bootloader config files, or better still edit existing bootloader.)

The volume labels issue could be introduced by using the "usbmount" package, this creates a dir called usbmount in /var/run/ and here there are shortcuts made to the detected drives and the name of the shortcut is the firmware name of the device, such as Lexar 8GB USB flash or Toshiba M88764628 these arent real actual names of real devices but an example of the type of naming. A desktop icon that links to /var/run/usbmount/ would provide the desktop interface for this. This is something i have done in Pussy Linux.

The 2nd issue listed here is better Grub etc etc etc etc etc
This is a general linux issue and is a type of holy grail for pretty much any inquizitive linux user.
Back to top
View user's profile Send private message Visit poster's website 
akash_rawal

Joined: 25 Aug 2010
Posts: 232
Location: ISM Dhanbad, Jharkhand, India

PostPosted: Sun 18 Dec 2011, 10:17    Post subject:  

There is a possible fix for multiline drive labels, a problem that was brought to notice by a PM from someone.

Here is the replacement function:
Code:

blkid_name_generator() {
   #Gather blkid output and filter out required device
   LABEL=""
   eval "`blkid "/dev/$1" | cut --delimiter=" " -f 2- | sed -e 's/ /;/g'`"
   LABEL="${LABEL//;/ }"
   #Generate drive label
   if test "$LABEL" = ""; then ONEDRVLABEL="$@\n \n "; else ONEDRVLABEL="${LABEL}\n($@)\n "; fi
}


_________________________________________

recobayu wrote:

how if the longer label cut to the wide of icon, for example "somethingdriveiconlabel" tobe "someth..."
maybe it is better.

sickgut wrote:

The volume labels issue could be introduced by using the "usbmount" package, this creates a dir called usbmount in /var/run/ and here there are shortcuts made to the detected drives and the name of the shortcut is the firmware name of the device, such as Lexar 8GB USB flash or Toshiba M88764628 these arent real actual names of real devices but an example of the type of naming. A desktop icon that links to /var/run/usbmount/ would provide the desktop interface for this.

Well, I am now planning to implement drive icons using gtkdialog instead of rox-filer. This should easily allow more features and same code could work for any DE.

I will include the features mentioned in this thread in the gtkdialog version.
Back to top
View user's profile Send private message 
puppyluvr


Joined: 06 Jan 2008
Posts: 3229
Location: Chickasha Oklahoma

PostPosted: Sun 18 Dec 2011, 10:30    Post subject:  

Very Happy Hello,
Regarding Hibernation...
Using 2.6.38.4 from Pemasu, and acpitools, my laptop sleeps (acpitool -s.. small s 'suspend to ram') in 3 seconds, and wakes in 5.. Works great..
However acpitool -S (big s 'suspend to disk') is death to X..

_________________
Close the Windows, and open your eyes, to a whole new world
http://puppylinuxstuff.meownplanet.net/puppyluvr/
Puppy Linux Users Group on Facebook

Puppy since 2.15CE...
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sun 18 Dec 2011, 14:55    Post subject:  

akash_rawal wrote:
There is a possible fix for multiline drive labels, a problem that was brought to notice by a PM from someone.

Here is the replacement function:
Code:

blkid_name_generator() {
   #Gather blkid output and filter out required device
   LABEL=""
   eval "`blkid "/dev/$1" | cut --delimiter=" " -f 2- | sed -e 's/ /;/g'`"
   LABEL="${LABEL//;/ }"
   #Generate drive label
   if test "$LABEL" = ""; then ONEDRVLABEL="$@\n \n "; else ONEDRVLABEL="${LABEL}\n($@)\n "; fi
}


_________________________________________

recobayu wrote:

how if the longer label cut to the wide of icon, for example "somethingdriveiconlabel" tobe "someth..."
maybe it is better.

sickgut wrote:

The volume labels issue could be introduced by using the "usbmount" package, this creates a dir called usbmount in /var/run/ and here there are shortcuts made to the detected drives and the name of the shortcut is the firmware name of the device, such as Lexar 8GB USB flash or Toshiba M88764628 these arent real actual names of real devices but an example of the type of naming. A desktop icon that links to /var/run/usbmount/ would provide the desktop interface for this.

Well, I am now planning to implement drive icons using gtkdialog instead of rox-filer. This should easily allow more features and same code could work for any DE.

I will include the features mentioned in this thread in the gtkdialog version.


Just FYI so it doesn't take you as long to figure this out. There's some stuff referring to ROX hardcoded into the binary mount/umount commands (I think, it's been a while since I played with this).

Something cool the xandros eeepc os did was put the icons for disks into the tray. I've been thinking for a while to try to copy that functionality.
Back to top
View user's profile Send private message Visit poster's website 
recobayu


Joined: 15 Sep 2010
Posts: 114
Location: indonesia

PostPosted: Mon 19 Dec 2011, 15:13    Post subject:  

ok, i'll wait for your gtkdialog
Very Happy
i have a problem with drive icon.
after i install wbar with setup from http://distro.ibiblio.org/puppylinux/pet-packages-lucid/Wbar_with_setup-1.3.3-Lucid.pet on my lupu 528, then i goto desksetup template for desk icons, i choose bare -no desktop icons and traditional form drive icon layout. after restart X server, my drive icons tobe like this (drive numpuk.png).
it should be like other one (drive normal.png).
what should i do?
thanks akash_rawal
drive normal.png
 Description   
 Filesize   14.73 KB
 Viewed   782 Time(s)

drive normal.png

drive numpuk.png
 Description   
 Filesize   10.47 KB
 Viewed   743 Time(s)

drive numpuk.png


_________________
myblog: http://muktyas.blogspot.com
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 568
Location: Gatton, Queensland

PostPosted: Thu 22 Dec 2011, 07:04    Post subject:  

Probably just a retrogressive thought, but what about setting up (a) wbar to show only drive/partitions, with labels edited manually perhaps (via wbar config)? I imagine that the main hassle then would be automatic mount/unmount - but then I'm not too imaginative, and there's bound to be hundreds of alternatives Wink

P.S. On actually re-reading some of the previous posts I see that the discussion had reached that point already - and a wbar+drive mounter would run into problems with events such as flash drive insertions. Apologies all for my attempt to add to the debate - it's been a long week.

_________________
Toowoomba Linux Community
http://groups.google.com/group/toowoombalinux
Back to top
View user's profile Send private message Visit poster's website 
recobayu


Joined: 15 Sep 2010
Posts: 114
Location: indonesia

PostPosted: Sat 17 Mar 2012, 03:18    Post subject:  


if we add label on drive icon, the position of 'x' sign go upper. so we must click on below the x sign like that image.
we can fix it by small change.
this is what i do:
1. open as text file /usr/local/bin/drive_all
find on row 178
Code:

CURPOSY=$(($CURPOSY + 32))
change with
CURPOSY=$(($CURPOSY + 45))

save
2. right click on one drive, run desktop drive icon manager
3. then thick box to erase then redraw and realign existing icons
4. restart x server
now we can safely remove drive on right place.
Smile

_________________
myblog: http://muktyas.blogspot.com
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 4 [59 Posts]   Goto page: Previous 1, 2, 3, 4
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
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.1174s ][ Queries: 12 (0.0147s) ][ GZIP on ]