dpup-482beta testing
- MinHundHettePerro
- Posts: 852
- Joined: Thu 05 Feb 2009, 22:22
- Location: SE
Drive-Icon-stacking
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_dchange 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
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
and replace the free_coord() function of that same file withSCRNXY="`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
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
}
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]
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]
-
- Posts: 295
- Joined: Sat 03 Dec 2005, 11:30
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
The pupsaveresize only failed the first time, might be my fault.
Cheers
Puppy Linux Blog - contact me for access
- MinHundHettePerro
- Posts: 852
- Joined: Thu 05 Feb 2009, 22:22
- Location: SE
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
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]
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]
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]
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
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
- MinHundHettePerro
- Posts: 852
- Joined: Thu 05 Feb 2009, 22:22
- Location: SE
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.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.
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.
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]
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]
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.
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.
- gposil
- Posts: 1300
- Joined: Mon 06 Apr 2009, 10:00
- Location: Stanthorpe (The Granite Belt), QLD, Australia
- Contact:
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
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
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...#killall wbar &&
#/root/Startup/wstart
#cd /
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]
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.gposil wrote:Is wbar causing problems...
No, just a matter of personal preference. I just don't like it. No biggie. To each his/her own!
- gposil
- Posts: 1300
- Joined: Mon 06 Apr 2009, 10:00
- Location: Stanthorpe (The Granite Belt), QLD, Australia
- Contact:
I have fixed this problem in beta5..I think, at least it doesn't do it for me anymore....add the following to /etc/profileJim1911 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.
Hope that fixes that...LC_ALL=C
export LC_ALL
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]