dpup-482beta testing

Message
Author
User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#256 Post by dejan555 »

double post
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

Drive-Icon-stacking

#257 Post by MinHundHettePerro »

Hello! :)

I am a man of many partitions, running in screen-res 800x600, so I always have the drive-icons stacked to the right hand-side of my screen. I know shinobar's code was incorporated into /sbin/pup_event_frontend_d of 4.3, which is also inherited into dpup-482. And it does take care of some oddities of the placing of drive-icons BUT, does not tend for us needing more than one row for the drive-icons.

Anyway, from 412 and onwards, I just use my modified /sbin/pup_event_frontend_d, which resolves the issue for me.

Just in case anyone uses the same unfortunate combination of many partitions and low screen res, here's what I do:
add to /sbin/pup_event_frontend_d
SCRNXY="`xwininfo -root | grep -o '\-geometry .*' | tr -s ' ' | cut -f 2 -d ' ' | cut -f 1 -d '+'`"
SCRN_X="`echo -n "$SCRNXY" | cut -f 1 -d 'x'`"
SCRN_Y="`echo -n "$SCRNXY" | cut -f 2 -d 'x'`"
th=`grep '<Tray ' /root/.jwmrc-tray|grep -o 'height="[0-9]*'|cut -f 2 -d '"'` # MHHP
max_Y=`expr $SCRN_Y / 32 \* 32 - 32` # MHHP
[ `expr $SCRN_Y - $max_Y` -lt `expr $th + 26` ] && max_Y=`expr $max_Y - 32` # MHHP
and replace the free_coord() function of that same file with

Code: Select all

free_coord() {
 #find a free place on desktop. v410 avoid exact overlapping icons...
 COORDSGRID="`grep -o ' x="[0-9]*" y="[0-9]*" ' /root/Choices/ROX-Filer/PuppyPin | sed 's/[0-9]"/"/g'`"
 #COORD_Y=`expr $SCRN_Y - 64` # MHHP
 COORD_Y=$max_Y # MHHP
 MIN_Y=32
 COORD_X=32
 MAX_X=`expr $SCRN_X - 54` # MHHP
 xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
 while [ 1 ];do
  xgPATTERN="`echo -n "$xPATTERN" |  sed 's/[0-9]"/"/g'`"
  [ "`echo "$COORDSGRID" | grep "$xgPATTERN"`" = "" ] && break
  COORD_X=`expr $COORD_X + 64`
  if [ $COORD_X -gt $MAX_X ];then # MHHP
  COORD_Y=`expr $COORD_Y - 64`;COORD_X=32 # MHHP
  fi # MHHP
  xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
  [ $COORD_Y -le $MIN_Y ] && break # MHHP
 done
}
change JWM taskbar height to 26 in /root/.jwmrc-tray.

To try it out, first delete all lines with /root/.pup_event/drive_xxx in /root/Choices/ROX-Filer/PuppyPin, delete /root/.pup_event, then restart X-server.

I have only tested with (narrow) screen-res's, like 640x480, 800x600, 1024x768, though.

FWIW :)/
MHHP
Attachments
before.jpg
(42.5 KiB) Downloaded 1214 times
after.jpg
(50.14 KiB) Downloaded 1170 times
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

#258 Post by gposil »

Much appreciated MHHP, I will incorporate in beta5... :)

Cheers
Guy
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#259 Post by dejan555 »

And I thought I have many partitions o.O
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

shankargopal
Posts: 295
Joined: Sat 03 Dec 2005, 11:30

#260 Post by shankargopal »

A new problem that seems to be coming up: The startup script /etc/rc.d/rc.local doesn't seem to retain any changes for me. But this is in beta 3, maybe you've already fixed it, gposil...

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

#261 Post by gposil »

shankargopal,

Yes it has been fixed, just change its permissions to executable...
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#262 Post by 01micko »

I will clarify my 'console' problem. I can copy and paste within console. I can not copy text from geany or anywhere else and paste into 'console'. I can with Urxvt, so it's not a clipboard prob.

The pupsaveresize only failed the first time, might be my fault.

Cheers
Puppy Linux Blog - contact me for access

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

#263 Post by MinHundHettePerro »

On pasting into "console"

I can paste into "console", unless what I'm trying to paste is copied from geany (it's ok if copied from e.g leafpad or rox).

:?/
MHHP
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#264 Post by dejan555 »

Ctrl + middle click works in mrxvt :) There's also context menu on ctrl+right click but doesn't seem to work.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#265 Post by dejan555 »

And now suddenly doesn't xD Very weird behaviour. Found some tips to add shortcuts to ~/.mrxvtrc but didn't work either.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#266 Post by Jim1911 »

If you remove the tick marks in the Desktop Drive Icons manager and restart X, pmount will not work. It opens normally, but when you try to mount a partition, it closes without mounting the partition.

If you leave icons on the desktop, (tick marks present), pmount works properly.

Really enjoying the speed, stability, and the new Control Panel.

The remaster application script in the control panel needs to be updated to include an option to remaster from a directory as well as a CD.

Great job

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

#267 Post by MinHundHettePerro »

Jim1911 wrote:If you remove the tick marks in the Desktop Drive Icons manager and restart X, pmount will not work. It opens normally, but when you try to mount a partition, it closes without mounting the partition.

If you leave icons on the desktop, (tick marks present), pmount works properly.
Seems like it has more to do with the restarting of X. Without touching the tick-boxes in pmount preferences, before any restart of X, pmount works from wbar, menu and CLI, and /tmp/pmounterr is empty.
After restarting X, pmount runs from CLI, with an empty /tmp/pmounterr while, if run from menu or wbar, just exits due to the content of /tmp/pmounterr:

Code: Select all

(gtkdialog_pmount:20613): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Rebooting gets things back to how they were before the restarting of X.

:? Not a solution but, maybe a useful piece of the puzzle for someone ...

Fwiw :)/
MHHP
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#268 Post by Jim1911 »

MinHundHettePerro's observations above seem to be correct since after a reboot, pmount works on my system also.

Jim

User avatar
sinc
Posts: 545
Joined: Wed 22 Jul 2009, 20:35
Location: Tampa, FL USA

#269 Post by sinc »

EDIT: nevermind... i thought i had something figured out. i'll come back to it.

Well here's some stuff

On 11/27/08, Nick Treleaven <nick.treleaven at btinternet.com> wrote:
> On Wed, 26 Nov 2008 12:56:38 -0800
> "Dean Linkous" <dean at nrvwebsolutions.com> wrote:
>
>> Anyone using geany or scite along with mrxvt or aterm? Highlight
>> something in geany/scite and then middle-click in mrxvt/aterm to
>> paste. Doesn't seem to work. Works fine if roxterm/xterm is used with
>> geany/scite. Works fine if medit/leafpad is used with mrxvt/aterm. I
>> can even copy/paste from mrxvt/aterm into scite/geany - just not vice
>> versa.
>
> It seems to be a Scintilla (editing component) issue, see:
>https://sourceforge.net/tracker/index.p ... tid=787791 <-- See comments at this link.
>
> Not sure why it happens.

IIRC, it is related to having Unicode characters.

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#270 Post by vtpup »

upgraded to Beta4, so same thing here re. middle button geany/terminal.

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#271 Post by vtpup »

uhhhh, how do I remove wbar.....

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

#272 Post by gposil »

Is wbar causing problems...

If you wan't to stop it, just remove or move /root/Startup/wstart to somewhere else, and comment out the following lines in /usr/local/apps/Wallpaper/set_bg...like so
#killall wbar &&
#/root/Startup/wstart
#cd /
Regards the geany/mrxvt problem...I have tracked down that it is a scintilla problem, which is the sourceview highlighting component of Geany...it is apparently being worked on as we speak...Until they fix Geany, you could use dpup's Parcellite...works fine with everything. I don't really wan't to ditch mrxvt just because of this Geany problem...do you...
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#273 Post by vtpup »

gposil wrote:Is wbar causing problems...
Thanks gposil. Not big problems -- overlaying some desktop icons that I can't get to anymore. And not actually displaying icons I use frequently, so requiring work to set up. But I could probably solve those if I wanted to.

No, just a matter of personal preference. I just don't like it. No biggie. To each his/her own! :D

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

#274 Post by gposil »

Jim1911 wrote:If you remove the tick marks in the Desktop Drive Icons manager and restart X, pmount will not work. It opens normally, but when you try to mount a partition, it closes without mounting the partition.

If you leave icons on the desktop, (tick marks present), pmount works properly.
I have fixed this problem in beta5..I think, at least it doesn't do it for me anymore....add the following to /etc/profile
LC_ALL=C
export LC_ALL
Hope that fixes that...
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]

User avatar
sinc
Posts: 545
Joined: Wed 22 Jul 2009, 20:35
Location: Tampa, FL USA

#275 Post by sinc »

I am not sure if the geany/mrxvt issue is strictly with debian or not but copy and paste between the 2 works in ttuuxxx's 2.14x16. maybe he has the solution.

Post Reply