Re: [Lazarus] Editor Macros looses key shortcuts

2018-01-15 Thread Martin Frb via Lazarus

On 15/01/2018 22:01, Vojtěch Čihák via Lazarus wrote:


Hi,

it happened me already twice (yesterday and ~month ago) that Editor 
Macros lost key shortcuts. All macros remains in EditorMacros.xml but 
without any key shortcut info, i.e. there are no Shift1="1" Key2="79"/> nodes.





One possibility: Did you ever get the message (at startup of the IDE)  
that the editormacro selftest failed? You then have to enable it again 
from the Tools > Options.


In that case macros become temp disabled, and yes they loose their keys 
(unnecessary)
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Editor Macros looses key shortcuts

2018-01-15 Thread Vojtěch Čihák via Lazarus

Hi,
 
it happened me already twice (yesterday and ~month ago) that Editor Macros lost key shortcuts. All macros remains 
in EditorMacros.xml but without any key shortcut info, i.e. there are no  nodes.
No problem, I recovered from backup.
 
I use Lazarus SVN and I rebuild it quite often, I also do sometimes various 
tests which sometimes lead to AV.
I don't know what it causes, anyway I recommend to do the backup of your 
configs, especially EditorMacros.xml.
 
V.

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Linux: howto define file *.lpi to be opened with lazarus?

2018-01-15 Thread Mark Morgan Lloyd via Lazarus

On 15/01/18 17:30, John Landmesser via Lazarus wrote:
I'm on Linux-Mint Cinnamon and i want to associate *.lpi with lazarus 
Application:

*.lpi is of Filetype XML, but we need the fileExtension *.lpi here!!
found:
lazarus.desktop
copied:
  cp '/home/john1/lazarus/install/lazarus.desktop' /usr/share/applications/
and
lazarus-mime.xml
copied:
  cp '/home/john1/lazarus/install/lazarus-mime.xml' 
'/usr/share/mime/application/'
Content of these two files seems to define for what i'm looking for, but 
reboot wasn't enough.

What i'm missing to get the filetypes/extension-Database updated?
Tipps are welcome!!


Possibly one of the xdg-* programs... a bit of Googling suggests xdg-mime

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Linux: howto define file *.lpi to be opened with lazarus?

2018-01-15 Thread John Landmesser via Lazarus

Am 15.01.2018 um 18:40 schrieb Howard Page-Clark via Lazarus:
Navigate to any .lpi file on your disk using the file browser (Nemo). 
Right click on that .lpi, and choose Properties. In the .lpi 
Properties dialog click on the third button at the top, Open With, and 
choose Lazarus from the list (if it is installed) or use the edit box 
at the bottom of the dialog to locate a Lazarus or StartLazarus 
executable if you have a various Lazarus versions to choose from. You 
can set this choice as the default.


Howard


no, this way i would assign *.lpi AND similiar (= filetype XML ) files 
to lazarus application.


 See the notice above the Listbox with applications you mentioned.

But thanks for your post, seems to be tricky :-)


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Linux: howto define file *.lpi to be opened with lazarus?

2018-01-15 Thread Howard Page-Clark via Lazarus

On 15/01/18 17:25, John Landmesser via Lazarus wrote:
I'm on Linux-Mint Cinnamon and i want to associate *.lpi with lazarus 
Application:


*.lpi is of Filetype XML, but we need the fileExtension *.lpi here!!

found:

lazarus.desktop

copied:

 cp '/home/john1/lazarus/install/lazarus.desktop' 
/usr/share/applications/


and

lazarus-mime.xml

copied:

 cp '/home/john1/lazarus/install/lazarus-mime.xml' 
'/usr/share/mime/application/'


Content of these two files seems to define for what i'm looking for, 
but reboot wasn't enough.


What i'm missing to get the filetypes/extension-Database updated?

Tipps are welcome!!

Navigate to any .lpi file on your disk using the file browser (Nemo). 
Right click on that .lpi, and choose Properties. In the .lpi 
Properties dialog click on the third button at the top, Open With, and 
choose Lazarus from the list (if it is installed) or use the edit box at 
the bottom of the dialog to locate a Lazarus or StartLazarus executable 
if you have a various Lazarus versions to choose from. You can set this 
choice as the default.


Howard
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Linux: howto define file *.lpi to be opened with lazarus?

2018-01-15 Thread John Landmesser via Lazarus

tried this, didn't work :-(

update-mime-database /usr/share/mime/


-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Linux: howto define file *.lpi to be opened with lazarus?

2018-01-15 Thread John Landmesser via Lazarus
I'm on Linux-Mint Cinnamon and i want to associate *.lpi with lazarus 
Application:


*.lpi is of Filetype XML, but we need the fileExtension *.lpi here!!

found:

lazarus.desktop

copied:

 cp '/home/john1/lazarus/install/lazarus.desktop' /usr/share/applications/

and

lazarus-mime.xml

copied:

 cp '/home/john1/lazarus/install/lazarus-mime.xml' 
'/usr/share/mime/application/'


Content of these two files seems to define for what i'm looking for, but 
reboot wasn't enough.


What i'm missing to get the filetypes/extension-Database updated?

Tipps are welcome!!

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] pas2js mailing list

2018-01-15 Thread Mattias Gaertner via Lazarus
Hi,

There is now a public mailing list for pas2js. You can subscribe here:

http://lists.freepascal.org/mailman/listinfo/pas2js/


Mattias
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus