viernes, 27 de noviembre de 2015

Network diagrams in Libreoffice Draw

Unfortunately I recursively face the problem of creating network diagrams in linux. There are a lot of options (as usual in linux) for this:
- Dia: Quite good, lot of resources there but... a bit ugly result from my point of view.
- Inkscape: You can achieve very good results but... it is a vectorial drawing program and it is not fast.
- Online: I won't (will not!) use an online tool for that.

In M$ people use Visio and the results are awesome with a scarce amount of effort. Why can't I have that in linux? Simple answer, you can.

You can use libreoffice draw and add galleries to it. In particular there is http://extensions.libreoffice.org/extension-center/vrt-network-equipment/ which has a vectorial gallery of network resources which is perfect for fast, nice looking network diagrams. You just have to go to "Tools --> Extension Manager" and install the file you can download from the link. Then in your draw sheet go to "Insert --> Media --> Clip Art Gallery"  and a new tab will appear where you will see the VRT resources.

Enjoy it

lunes, 16 de noviembre de 2015

Thunderbird Lightning Today Highlight

I use thunderbird with the lightning extension for calendar. I'm just happy with it BUT it is difficult to visually locate Today, the color is just too clear. I was looking for an extension to highlight just Today when it is not selected and... I wasn't lucky. But I reminded that thunderbird uses css. Here is the solution I found:

  •  Edit (first do a backup) the file within your thunderbird profile extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/skin/common/calendar-views.css (NOTE: {e2fda1a4-762b-4020-b5ad-a41df1933103} this was my lightning extension and it can probably change if you are running other OS or other versions).
  •  Change  viewTodayBackground to your favorite html color code. In my case, yellow =)
    •  --viewTodayBackground: #fff000;
    • You might also be interested in --viewTodayLabelBackground:  and --viewTodayLabelSelectedBackground:
  • Relaunch Thunderbird
That's all, now you should have your today in yellow ;)

lunes, 7 de septiembre de 2015

Missing icons in kde/qt5 apps within i3

After my last update, some of my QT5 based apps (such as dolphin which I use daily) were missing the icons. After some search it seems it is due to a default value when the WM set with XDG is not the expected one.

To solve this issue in i3 without having to change the XDG desktop values for the whole session you can use the following
XDG_CURRENT_DESKTOP="KDE" dolphin

if you want to have it launched with a shortcut, something like
bindsym x exec XDG_CURRENT_DESKTOP="KDE" dolphin

will do, where x is the key you want to use to launch.
Enjoy!