sábado, 4 de agosto de 2018

Making a Cell that Increments Its Value +1 in LibreOffice

Today I learned how to increase the value of an active cell +1 by making a simple macro, thanks to oguillaume, who kindly offered this tutorial for OpenOffice.

This simple macro will add 1 to the value of the currently selected cell (known as the active cell).
This increment cell value macro is useful when associated with a keyboard shortcut for counting things rapidly.

Simply create a new Macro Sub :

  • In the menus, choose Macros > Organise Macros > OpenOffice Basic,
  • In the dialogue box unfold the following hierarchy "My Macros > Standard > Module 1"
  • Now that Module 1 is selected, click on button Edit
  • Copy and Paste the code below
  • Hit Save (Ctrl-S)    
Now all you have to do is Copy/Paste the code below in the editor that opened (the "ThisComponent... +1" is a SINGLE LINE).

Sub activecellplus1

ThisComponent.CurrentSelection.value = ThisComponent.CurrentSelection.value +1

End Sub


 Now to assign a keyboard shortcut:

  • In Menus, choose Tools > Customize ... ,
  • In Dialog, activate Tab called Keyboard
  • Look for an empty shortcut key in the list and select it
  • Now in the list called "Functions, Categories" scroll at the bottom of the list and look for '+ Open Office Macros'. (Click on the + to unfold) Now continue unfolding '+ User, + Standard, +Module1 '
  • Now in the list called Functions, you should see an entry called 'activecellplus1' . Select it
  • Now click the button called "Modify" and then OK at the bottom

Test it:

  • Choose an empty cell or put a value in a cell (e.g. 5).
  • Select the cell (click on it)
  • Now hit the shortcut you have created and see the value increment by 1
That was exactly what I needed!  Thanks!

sábado, 28 de julio de 2018

Electronic Invoices...

I remember that some years ago, I went  into my country's official page to obtain the tools to fill in my taxes.  I was greatly displeased to see that everything was Windows-based.  Not even Mac users had an alternative.  That day, I wrote a suggestion concerning multi-platform solutions, but I did not think they were going to do anything about it.

This year, the government started pushing for electronic invoices.  Thus, I went into the corresponding page to learn about the tools... My first thought was "Windows might be a must."

However, I could not believe my eyes: they had the software for Windows, Mac, and Linux!

Well, Linux 64-bit only, and just Debian-based, but hey, that was great still!

My desktop and main computer is a 32 bit box, so it would not be useful. That did not worry much because I own a Linux laptop that is 64 bits.

Thus, I downloaded the software and tried it...

Success!  I could effectively create, sign and send my electronic invoices! 

I still don't know how this will work in terms of accounting, but I am glad free software users were not completely left behind this time.  

The world is changing!

lunes, 21 de mayo de 2018

Migration Status: 8 Years and Counting!

Linuxmigrante is celebrating its 8th. anniversary today!

Wow!  That means 8 years have passed since I migrated to GNU/Linux and I haven't regretted my adoption of Free Software.

I've seen lots of changes I thought I'd never see.  I still see rejection, biases and recalcitrance from those who cling to the past and refuse to recognize that the arguments they used to resort to for attacking Linux are exactly what they experience with their OS now.

I've seen distros be born and die.  I've learned lots of interesting tricks and I've been able to experiment with tools I never thought I'd use.

What about the command line?  I still don't know how to use it beyond a few commands (very few!)

Anyway, thanks to the ones who take some of their time to visit this blog. I really hope that some of its content may have been useful to you as it was to me.

domingo, 29 de abril de 2018

Pisi Linux Is Out!

Pisi Linux 2.0 was released a few days ago, and I did not realize about it.  Too bad, because I really liked this distribution and was fairly active in the community before everything went totally Turkish.

Well, it's time to download this little kitten, the heir of the old Pardus.  I want to see the result from the hard work of Pisi developers (they are a small team), and I have high expectations.

I can't wait for my download to finish (it's 1.7 GB).

miércoles, 18 de abril de 2018

The Latest News and a Few Tricks

These are very puzzling times.  Let's see a few interesting examples:

1.  Microsoft develops a Linux OS: This is not a joke. Really. Some think hell froze over.

2.  Ubuntu recovers its ability to produce customized live images:  The feature that many people miss from newer Ubuntu releases is finally back thanks to Pinguy Builder.

3. OLPC has met a sad end: I guess corporate influence had nothing to do with it.

4.  I've met more Linux users than ever and even saw the name "Linux"  displayed next to a smart TV in a printed advertisement of a mainstream seller here.


And now, a trick for those who, like me, have had problems with the newest Firefox, who refuses to obey its localization and language pack:

a. Install language packs
b. Add the add-on: a small colored notice will appear in the upper right corner. Click on it and then click to add.
c. Enabling. From Firefox 59 on:
  • Type about:config in the addres bar
  • Create a new string with this name:
intl.locale.requested
  • Finish it with the appropriate value (fr-FR, es-ES,...)   

miércoles, 14 de marzo de 2018

A New Pardus Release? I don't Know if I should Try It

Pardus released a new version a couple of weeks ago.  I still remember when Pardus used to be one of my daily distros... But after they moved to Debian, I faced lots of issues and stopped using it.  By those days, I moved to Pisi Linux, but haven't heard much of that distro lately.

I don't know if I should give Pardus a try.  In the old days, it used to be so stable that my mother had it as its main OS on her PC, but now she is using another distro.

The problem with Pardus is that if you install it, you are pretty much on your own (unless you know Turkish.)

I guess I'll download it and try it, just for the sake of fun and experimentation, but that will have to wait until I get used to my new work schedule.

jueves, 8 de marzo de 2018

The Limits of Operating Systems Are Becoming Blurry

Let's see...

Windows ran DOS
Linux ran DOS
Linux ran Windows
Android ran DOS
Chrome OS ran DOS
Android ran Linux
Chrome OS ran Android
Windows ran Linux
Chrome OS is aiming at running Linux

Operating systems are becoming quite confusing! Who needs so much choice and flexibility? That's totally unnecessary!  :P