Author Topic: Permisions Changed After Update  (Read 692 times)

Online wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2440
  • Any Bugs in site?
Re: Permisions Changed After Update
« Reply #15 on: December 26, 2012, 02:43:25 PM »
Ray2047
You have saved me checking that particular script file,  I assumed this would work fine but got sidetracked looking at Wine and studying the wine manual.

I am interested to know if you perceive any "slowness", not quite sure how to explain it. When you click on a .jpeg file, does it open so quickly that you simply do not have time to think "this is a bit slow"?

Using a script file I feel Irfanview just has a bit of "slowness" but I am already starting not to think about this as IrfanView is opening fast with picture installed.

The .png files for our purpose here can just be looked at as the Linux equivalent of a .jpeg, it should make no difference to our testing to get the file installed in IrfanView when clicking on the picture.  

pinoc
Thank you, looking forward to give it a try.  I have done some preliminary testing on using Editpad Pro,  I started with the free version EditPad Lite, there has been drastic changes somewhere over the past years because now Editpad will open really fast.  I need to test how the file association will work with Editpad, should just be a rework of the script.

For my own record I may open a new topic concerning my exploits with wine-EditPad if I can find time for more work.   ;D
« Last Edit: December 26, 2012, 02:48:35 PM by wedgetail »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1504
Re: Permisions Changed After Update
« Reply #16 on: December 26, 2012, 03:26:59 PM »
No really noticeable delay for me.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2440
  • Any Bugs in site?
Re: Permisions Changed After Update
« Reply #17 on: December 26, 2012, 06:12:08 PM »
Ray2047
Thanks, that is good.
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1504
Re: Permisions Changed After Update
« Reply #18 on: December 27, 2012, 02:39:48 PM »
One little glitch but it doesn't bother me. I have to close an image opened this way twice. The first time I click it starts to close then reopens so I have to hit the "X" again. It isn't really a problem. It always closes the second time and  stays closed.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2440
  • Any Bugs in site?
Re: Permisions Changed After Update
« Reply #19 on: December 27, 2012, 05:41:57 PM »
Ray2047
Are you using this script, that is two lines:

Quote
#!/bin/sh
File="z:"${1//\//\\} ; wine  "/usr/share/IrfanView/i_view32.exe" $File
wine  "/usr/share/IrfanView/i_view32.exe" $File

This is in my opinion wrong, as you can see you are calling wine twice in the script, this is why you get the apparent double x needed to shut down.

Modify your script to the "original":

Code: [Select]
#!/bin/sh
File="z:"${1//\//\\}
wine  "/usr/share/IrfanView/i_view32.exe" $File

I expect no more double clicking,  I did not read your earlier post properly but now your problem stood out clearly (almost)  ;D

Some more work I did on the single line suggestion by Just17

Code: [Select]
File="z:"${1//\//\\} ; wine  "/usr/share/IrfanView/i_view32.exe" $File
This failed, would open IrfanView but no picture, that intrigued me as at that stage I was under the impression you had successfully used the line. Now I expect that if you try to run a single line script based on that line you will not have success either.

During this little exercise I did find out that when running my two line script in the "command" line for file association I do not need the %f parameter.
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1504
Re: Permisions Changed After Update
« Reply #20 on: December 27, 2012, 07:02:37 PM »
Thank you that solved the problem.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2440
  • Any Bugs in site?
Re: Permisions Changed After Update
« Reply #21 on: December 27, 2012, 11:03:04 PM »
Ray2047
I wish you great enjoyment with IrfanView, I know how I missed it when I first arrived in PCLinuxOS. I am also pleased you mentioned the double x'ing, really would have been a pity if you had to put up with that just because I could not read properly. 

I was not that happy about adding Wine but now that I have my beloved EditPad Pro in about 90% operation I am relenting.

One thing I still miss in IrfanView is multilevel undo, but I have also found out that it is design not to be, single level undo has something to do with speed. I can live with that. Speed and simplicity.   ;D
« Last Edit: December 27, 2012, 11:05:31 PM by wedgetail »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1504
Re: Permisions Changed After Update
« Reply #22 on: December 28, 2012, 07:37:24 AM »
One of these days I really need to make an attempt to learn scripting. If I use to be able to make webpages in a text editor using basic HTML basic scripting can't be that much harder but I was younger then and new to computers and perhaps more excited by all things computer.

Irfanview was the first program I ever ran with Wine. Struggling to add the same darn DLL that had been missing in Win 98.  The Linux purists may insist that there is nothing that can't also done with Linux programs but I will argue Irfanview is just simpler and easier to use for some things.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2440
  • Any Bugs in site?
Re: Permisions Changed After Update
« Reply #23 on: December 28, 2012, 05:54:57 PM »
Ray2047
If you have done html you can do scripting but there are new things to learn and remember.

A very important thing when you want to learn something new: Do you have a need for something to be done. Something that you can see can be done by scripting, then that guides you towards a goal and keeps you motivated, it works a treat for me.  Of course a certain natural curiosity helps.  :)

32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen