Quantcast
Channel: Linux Made Easy
Viewing all 31 articles
Browse latest View live

Dwg cad Linux - Bricscad

$
0
0
It's happening...

Bricsys is launching a alpha version everyday or so.....

Yesterday it was possible to draw some lines.... And today is already possible to open DWG files....

Amazing speed even on my asus eee with 900 mhz...

Now i'm even more sure that soon it will be running full speed on a lot of computers...

Goodbye windows....


Bricscad and DWG cad Again

$
0
0
I'm posting this to comment on latest release of Bricscad and Alpha release of their cad package for Linux.

This release it's named Alpha 10.3.7, and it continues with great improvement.

Everytime a new release is out, a great number of new features is added and is closer to windows version.

In the next image there is a screenshot of this native version of Bricscad with a drawing that i made for production.


There are some features missing, but for simples drawings it's ready. It's been a few weeks since i dont have the need for boot my Windows virtual machine.

Why don't you Linux? 10 Reasons you should!

$
0
0
Why???

1 - You can acess Facebook, Youtube, Gmail, Yahoo Mail, Twitter, etc., etc.!

2 - Yes, you can even play Farmville in Linux!

3 - 99,999% free of Virus!

4 - You can watch videos, ear music, plug your IPhone!

5 - It comes with most of the software you ever need installed!

6 - You dont have to search outside your system for software, every piece of software you install is refered and safe to install!

7 - You can use your USB Pen, External HD, and everything compatible with Windows.

8 - Have new hardware? Just Plug and Play! There is more hardware supported in Linux than in Windows 7 (for certain if you count the number of old periphals that Win7 don't support)!

9 - It's easy to install, see post http://linuxmadeasy.blogspot.com/2009/09/easy-way-to-try-linux.html and you don't need to install to try!

10 - You know a lot of Linux developers, such as: IBM, Intel, HP, Google, Oracle. If they trust and develop Linux, why don't you?


Linux is easy... Believe me....

Ubuntu 10.04 LTS

$
0
0
ell, it's here!

So far so good, for my system, Toshiba A300-1RW i got these improvements:

- Compiz and fglrx now work without problems. (Just Great!!!)
- Suspend, hibernate, etc, etc, now out of the box (2 x Just Great!!!)
- Boot is fast, but not really fast (I upgraded, not fresh install)


What is not so good yet!

- No fn keys yet (no problemo....)

All the rest is great as usual....

I'll leave you with my screenshot with compiz....



Look at it.... So nice..... And it look's very easy ain't it???

Fedora 13

$
0
0
In my search for the perfect desktop for my Asus eee 701, i found Fedora 13...

It has been a few years since i tried Fedora Core. The other night I decided to try it on my Toshiba Laptop, and my mouth was wide open after the live cd boot...

I found out that the system was fast... So 2+2, and i tried it on the asus... Live boot ok, install ok (minus a small detail on 1 step due to 800x480 screen), run smooth.....

The installation method is very easy, and everything is perfect for the newbie.

I love the choice of Simple Scan for scanner developed by Canonical (Ubuntu). (You must love FLOSS)

Afterall Fedora keep thins lean, clean and easy.

After a few tweaks i could get 105Mb of ram usage after boot, yes, with Gnome....

Install this, remove that, and after all i got 1.2 Gb free on harddrive even with 245 Mb of swap, this means a lot of free space...

So, it's a good distro, easy, very stable, with some very nice tools.

# IRC Channel # Freenode # #linuxmadeasy

$
0
0
Today i created a IRC channel for online chat. Hope to see you there.

Channel is #linuxmadeasy and it stands on FREENODE network.

Abiword - Writing Collaboration

$
0
0
Can you do this on MSOffice?



Sure you can't..... But you can do it on Windows...

I tried it and it is very easy to use .....

Each colour is a diferent person writing on the same file from diferent computers, at the same time...... UAUUUUUUUUUUUUUUUU....

Abiword is a standalone word processor, available on Linux, Windows, and Macosx and with more feature than you will ever need....

Find out more at http://www.abisource.com/

Linux found in Portugal - RHL

$
0
0
Last Summer while in hollidays in Algarve, I noticed at the supermarket cashier after a reboot that they were using Red Hat Linux.

Well, this is a major Supermarket chain here at Portugal.

So today i had the idea to make some calculations and figure out how much computers with RHL installed just for cashier POS.

Well, consulting their website, at www.continente.pt I found:

40 - Continente Hipermarket - At about 50 cashiers each= 2000 RHL
120 - Modelo Supermarket - At about 10 cashiers each = 1200 RHL

Each one of this shops have other cashier for other brands, Worten (home appliances) Modalfa (clothes), and each one a few more cashiers... Just sum, and sum...

With simple math at Portugal we just found 3500 Linux computers with important position, not just some desktops....

So those people who say that Linux is just about 1% of desktop, how about make some calculations and count the number of computers with Linux? Remember, a router with embebed Linux is a computer!!!!

Linux Is Fun!!! Second Life....

$
0
0
I'm not a big fan of Second Life, but today, just for experience I logon to my account created around 1998 :)....

I had read somewhere that Second Life had  a Linux client... So it was time to try it...

I've downloaded the client named SecondLife-i686-2.1.0.207030, and after untar it using nothing but just Nautilus, i ran the executable (no need to install).... and....



Now I'm dancing around justo for fun.... Nice Graphics, 3d Hardware ok, Easy...

Try for yourself...

Linux DWG - Official Release - Bricscad v10

$
0
0
It happened today...

Bricsys released the official version of bricscad V10. No long in beta stage is now commercial with version 10.6.3-2 (windows version is 10.4.18-1).

So now Linux users have a CAD software capable of handling DWG file format.

Now there is no excuse to stay with windows just because you need Autocad. Bricscad is a very capable software and in many case can do better.

The basic version starts on 315€ or 395$ wich is a very nice price. Of course not FOSS, but for production is the best know alternative in Linux.

You can download a trial version of Bricscad here http://www.bricsys.com/en_INTL/


Here is a nice screenshot:



From Bricscad website:

Bricscad™ V10 for Linux released

Sep 6, 2010BricscadLinuxV10
Gent Belgium and Merrimack NH USA, September 6, 2010 – Bricsys is the first to release a .dwg based CAD software for Linux users. Bricsys NV, the developer of Bricscad, announced today that Bricscad V10 for Linux is now available
Bricscad V10 is the first .dwg based CAD platform available for the Linux Operating System. Bricscad V10, the leading alternative CAD platform for the .dwg file format, continues to offer freedom of choice to the CAD and Engineering community.
The Linux community so far had no access to .dwg based CAD, commonly accepted as the standard CAD file format. With Bricscad V10 for Linux that problem is solved and people don’t have to stick with the Windows OS just because they need .dwg based CAD.
Erik De Keyser, CEO of Bricsys, comments: “We consider Bricscad V10 for Linux as a milestone for our company. Despite doubts of many about the viability of a native Linux based professional CAD product, we are convinced that there is a strong demand for it and a huge potential for applications. Bricsys is the right company to play a leading role in this evolution. For now we want to thank the thousands of Beta testers that helped us to finalize this version.”
Bricscad V10 for Windows is highly appreciated for its rich set of API’s. Today well over 500 Third party application developers are in the process of porting their applications to Bricscad V10 and 155 applications are released. This first release of Bricscad V10 for Linux comes immediately with the complete LISP, DCL and Diesel API’s. Encryption is available for commercial LISP based applications and users can run their LISP routines without any modification. The Bricscad LISP engine is one of the fastest available. Depending on the demand of application developers, Bricsys will extend the set of API’s for the Linux platform.
Initially Bricscad will support three Linux flavors: Fedora 12 or higher, OpenSuse 11.1 or higher and Ubuntu 9.10 or higher. The English version of Bricscad V10 for Linux is available in the Bricsys e-store. The other 15 language versions will be available within days.

Linux Mint Debian Edition - 1st Impression

$
0
0
Image retrieved from http://linuxmint.com/


It's been long time since I tried Linux Mint for the 1st time and loved it. Only problem is that it was Ubuntu based.

Well, I love Ubuntu, but it's not 100%, and after my upgrade from 8.04 to 8.10 without a full reinstall that didn't went well, it came down a few points in my consideration. I had one bad night, since i needed the pc fully operational next day (its a work PC).

So I tried everything else on market, but can't handle with anything else than Debian based OS.

Crunchbang was my 1st thought, but is still Ubuntu based and their Debian distro is still Alpha and, ..... well you can understand.

And now, from behind the smoke, comes Linux Mint, with a Debian based and rolling distro...

So without further delay, let's talk about Mint...

1 - Boot Time - Nothing new, fast as hell...
2 - Kernel - 2.6.32 - Same as Ubuntu 10.04
3 - Speed - same as 1
4 - Update Manager - ok, not very intrusive with all the updates and the wonderful Mint level for update, very nice for beginners
5 - My samba share appeared on Nautilus and network
6 - Software: F-spot, Gimp, Thunderbird, Pidgin!!!!!, VLC!!!!!!, MintNanny (it would come very useful for me soon), Giver (file share), root terminal, Openoffice..... Yes, they are better than Ubuntu at choosing packages
7 - Well, everything else, just like regular Mint, very very nice......

I didn't install, but I'm sure it will be easy as Linux usual is....



Ps: I changed the installed background, just because I love this image (available on right click - change desktop background...

Biometric Hardware with Linux and GPL violations

$
0
0
Image from: http://www.gnu.org
Recently at work we installed  a biometric access control system. I was not in charge of this buy, but I tried the Windows software that is responsible for data handling and connects to biometric terminals.

Today, we were doing a few more work in our office, and drilling a hole to basement, the worker made bullseye on power cable for biometrics terminals.

So I had the chance to watch one of the biometrics terminal boot. What was my surprise when I see on the small LCD a Penguin and the word LINUX.

Well this product is made by ZK-USA, and consulting their site there is some reference to Linux OS.

I didn't had access to the documentation in box but I can't see anything on their website related to GPL. I'm no specialist at GPL, but I will go deep on this tomorrow, related to the papers that came with the hardware to see if they are violating GPL or not.

On the other side at home I bought a wireless multimedia reader, and with the Manual came the GPL and a address to ask for source code if interested. I have to name that company, because I should, it's the French Dane-Elec. Cheers for them, great product and great attitude.

On a world with more and more embedded system I believe all of us should look deeply to what we are buying, if some of us defend FOSS, so let's do it.

Linux GPL don't ask for much money, is just 0$=0€, why a company that profit a lot from free raw material violate GPL?

At the following sites you can find Lists of companies who violate GPL, and the only reason i see is greed.

ffmpeg Hall of Shame

http://ffmpeg.org/shame.html

GPL Violations

http://gpl-violations.org/


Would you buy stolen goods? It's very easy to verify this before buying, just go for this websites.... And please, participate....

Novell - Who are the mysterious buyers?

$
0
0
In: www.thevarguy.com
I usually don't do politics nor business assumptions, but this in getting me nervous, and I can't stop thinking about it....

Maybe there are many interests for a lot of companies to buy Novell, but.....

What if, Microsoft is on the run to Novell?!?!?! Novell own Unix, they are somewhat friends, they work together....

It's a strange recipe, what could be the result if they really buy it?

This time I don't have an easy answer, and neither a hard one, I will leave the conversation open.... Please leave your comments....

DWG Cad on Linux - Draftsight and Ares Commander

$
0
0



This is the first Linux Made Easy Bilingual Post. I intend to reach a bigger audience in my native language, Portuguese. I hope to get to Brasil, Portugal and some PALOP (African Countries with Portuguese as Official Language). Without further delay, let's get to the post....

Today I found another Linux CAD software that will be out soon, I'm talking about DraftSight. While not available yet in Linux version it's a free alternative to other programs in 2d drawing. According to the manufacturer "Mac OS and Linux support will be available later this year".

A very important feature related to Draftsight is the name of developer - Dassault Systemes - Don't you know them? And if I mention the name SolidWorks? And Catia? Well, we are talking about a major cad dealer. Can this mean that we have competition on CAD software on Linux?

Answering the previous question - YES !

At this time, economical Autocad Linux alternatives were just one - Bricscad, but there is already another one available for download. I'm talking about German Grabert's ARES Commander. Right now to be able to try the software you will need to register as a Beta-Tester to get the download link. After installation you will be able to enjoy a complete 2D cad with DWG support. Actually from the short time that I tried out it looked a bit faster in processing DWG than Bricscad, however it looks very professional, clean looks and practical.

I present you a screenshot of ARES Commander working (This is a  real production design's):



At this moment this software is commercial available for OSX, and Linux became a little late. However for what was tried out, it will be a good competitor for Bricscad, Autocad e for certain Draftsight.

It's getting even easier to work on Linux, and with a lot of choices.....

The Links to Software:

DraftSight - http://www.3ds.com/products/draftsight/download-draftsight
Ares Commander - http://new.graebert.com/index.php?option=com_content&view=article&id=99&Itemid=105&lang=en

-----------------------------------------------------------------------------------------------------


DWG no Linux - DraftSight e Ares Commander

Este post é o 1º Bilingue do Linux Made Easy. O objectivo é atingir uma maior audiência na minha língua materna, o Português. Espero com isto chegar ao povo Brasileiro, Português e possivelmente aos habitantes dos Palop (Países Africanos de Língua Oficial Portuguesa). Mas, continuando para o artigo em questão...

Hoje tomei conhecimento de mais um software de CAD para Linux que está para ser lançado em breve, estou a falar do DraftSight. Este software, ainda não disponível na versão Linux apresenta-se como uma alternativa gratuita a outros concorrentes no desenho 2D. De acordo com o fabricante "Mac OS and Linux support will be available later this year".

Um factor muito importante neste software é o nome do seu fabricante - Dassault Systemes - Não sabe quem é? Então e se lhe falar no nome Solidworks? E Catia? Bem, estamos a falar de um dos principais fabricantes de software CAD no mundo. Poderá isto significar que até já temos concorrência em programas CAD em Linux?

Respondendo à pergunta anterior - SIM!!!

Neste momento, alternativas económicas a Autocad em Linux, tínhamos 1 - Bricscad, mas existe outra actualmente e já disponível para download. Estou a falar de ARES Commander da Alemã Grabert. Neste momento tirar partido do software terá de se inscrever como Beta-tester para obter o link do download. Após instalar o programa poderá disfrutar de um completo software cad 2d com suporte para DWG. Actualmente do pouco tempo despendido a experimentar este software, pareceu-nos mais rápido no processamento dos ficheiros DWG do que o Bricscad, mas no entanto apresenta um aspecto bastante profissional, limpo e prático.

Apresentamos um screenshot do software a trabalhar (Isto são ficheiros meus de trabalho):




Actualmente este software encontra-se à venda para OSX, tendo atrasado o lançamento em Linux, no entanto, pelo que já vimos, será um concorrente à altura do Bricscad, Autocad e concerteza do Draftsight.

Cada vez está mais fácil trabalhar em Linux, e com possibilidade de escolha...


Os Links para o Software:
DraftSight - http://www.3ds.com/products/draftsight/download-draftsight
Ares Commander - http://new.graebert.com/index.php?option=com_content&view=article&id=99&Itemid=105&lang=en

DWG CAD on Linux - Ares Commander Commercial Release

$
0
0
Last week I wrote about Ares and Draftsight, and how they where close to go full comercial (Ares only, Draftsight will be free as Mac and Win released versions), so this is it....

So, since 18 Set., what happened here? Let's go back a few days, and:

22 September - I found out that Draftsight for MAC was available for download
28 September - After reporting a bug for ARES, I received an email from Graebert, that says "BTW:
We have released a final version of  ARES Commander on Linux yesterday evening.".

So this last 2 days I've been using final version of ARES, so now I'm capable of write something more about than before.

- Interface is really polished, very nice and modern icons
- It has a built in table creator (really usefull)
- I don't remember if Autocad or Bricscad, does this but in hatch window, we have "create hatch for each boundary". How many of you had to delete hatch and create it all over again?
- When in a command, line for example, you don't loose focus on main windows and you can do F3 or F8, for example. This bug is not solved in Bricscad for Linux.
- Plot works really good in Linux. I've been plotting large format drawing for hand drafting. With "DEMO VERSION" watermarked.
- I opened 15 dwg at once without a single hiccup, and changing from one drawing to another brings no problem in performance
- It has a full-screen feature (very usefull for my eee701) on view->Clean Screen, or Ctrl+0 shortcut
- Layout tab is much smaller than in beta version, and you don't need it, so if your screen is small just take it out and use "Model" "Sheet" button on bottom bar
- Real time zoom and pan is somehow slow when very zoomed out, and I haven't figured out why...
- On Beta there was an option for opening DWF (it didn't work), but in final release is not implemented, maybe in the future we will see this (afterall Autodesk has a Open Source SDK for DWF)
- They are releasing packages for every main Linux distribution.

In general is a very polished piece of software and I can say Graebert did some really nice work from Beta to commercial version.

The price of this Software is till the end of October 495€ (with 50% off).

Linux is getting easy, Correction, even more easy.....

DWF Files - A Challenge to You!

$
0
0
I challenge you to program a Open-Source DWF file viewer!!!

I love Computing and Linux in particular, I even know some C++, Basic, Fortran Pascal, VBasic and Gambas, but beside "Hello World!", I'm rusty, very rusty.....

Yesterday after upgrading my Ubuntu desktop to 10.10 on 5/10/2010 (Establish of Portuguese Republic, National Holiday), I took a look at Ubuntu new software center and went to - Science - Engineering, and as usual, a couple Math programs, a dozen electrical simulators/ designers, etc, etc... So I thought, what the hell.... There are only programs useful for Electrical Engineers.....

Why is that??? Easy, Electrical Engineering courses have a great component of computer science and programming, that why this engineering side has such nice software.....

So, since I'm not one of them (my area is more like machines, pipes, rivets, nuts, bolts, ducts), :) please help us..... I'm not talking for myself, I know there are a lot of Engineers, mechanical, civil, and even Architects that would love to have a DWF file viewer.

As you know Linux now has DWG capable software natively, but as PDF is to DOC files, DWF is to DWG files, and we are missing DWF.....

"Design Web Format (DWF) is a secure file format developed by Autodesk for the efficient distribution and communication of rich design data to anyone who needs to view, review, or print design files." in: Wikipedia

Nowadays it is used by Portuguese Government entities to distribute designs to contractors, note that, at Portugal this is LAW, Decreto-Lei 60/2007 says that PDF should be used for written elements and DWF for drawings (really nice lobby for Autodesk).

But, DWF is an open format based on ISO/IEC 29500-2:2008, and Autodesk provides a Open-Source Toolkit for developers http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=823771. That's Halfway there .....

Do you think you can do it? I believe that are others that can do it too. The first will get the gold...

So, who would be the first to get there??? I'm expecting to see one of this names:

- Evince (I have great confidence in you guys!!!)
- Bricsys (Closed-Source, with a dwg software and project management interactive with Lotus)
- Graebert (Closed-source, also with dwg software, in there ARES beta there was a reference to dwf)
- QCAD (maybe yes, maybe not, I think they are too busy dealing with DWG support first)
- Adobe (Why not??)
- CUPS (They can make print to DWF "cups-dwf" :), the way back sure it will be really simple)
- Inkscape (The experts in vectorial files...)

And don't forget Antitrust (2001) Gary's words "We work hard to stay ahead because we know any kid working in his garage can put us out of business".

I think if you are in one of these teams you would be happy to get there first than the others.... I also believe that it will get your piece of software ahead of the others in a big niche (Engineering and Architecture)...

It is easy, so let's get to work....

Note that I will always be here to do beta testing in a daily basis (it's my job working with those files), and also provide you files to test.....

Moving Desktop Windows users to Linux

$
0
0
More than a year ago I wrote a post concerning my personal experience http://linuxmadeasy.blogspot.com/2009/09/linux-for-engineering-pratical-case.html.

I manage our computer systems at work and never tried to convert user Pc's to Linux, instead sometimes I showed them some of the nice stuff and played with them when their windows system crashed, or simply because network printers stopped working.

Since then all item number 7 is ok since we have Bricscad / Ares Commander, and I have moved from OWA to IMAP on my machine, and all my troubles were over.

So about a month ago a Engineer colleague that had Win Vista, said to me... "Can't stand with this Sh#$ anymore, please install Linux here". I've made him a bunch of questions about software he used, and explained that one printer in our office would not work, and all stuff that is different, in the end it was ok for him so we went for it.

Before Linux (Ubuntu 10.04) he could not:

- Print to our 42" HP plotter without problems
- Work one day without rebooting 2 or 3 times
- Start working 1 minute after power-up
- Transfer files to/from his Nokia and Blackberry via bluetooth

After installation when I showed him Nautilus working with tabs (Ctrl+T) and extra panel (F3) it became amazed with a so simple thing that come very handy...

I've had less complaints than ever from him, only thing that went wrong was a day that our Exchange Server went "mad" and he thought it was because of Evolution.

This week I've had two more colleague that want Linux also. Both with XP. I guess it was because they saw a not experienced user doing so well with Linux. Soon both computer will soon boot Ubuntu instead of XP.

This week also I got amazed when I saw him getting drawings out of our plotter. I didn't configured the plotter because I hadn't time. So he did it all by himself. It never happened when he had windows... Even Bluetooth configuration was made by him.

So who could say... More than ever I believe Linux is easier than windows and ready for common users...

Treepad Alternative - Cherrytree

$
0
0
After a few months I'm back on my writings... My 7 months old daughter take my breath and my time away...

So today I'll be writing about a wonderful project from an Italian programmer, named Giuseppe (aka Giuspen).

As you may notice from the title, Cherrytree is a Treepad alternative, a hierarchical note taking application, and a very good one. It has a lot of advantages comparing to treepad:

1 - It's Open Source and Linux is supported natively
2 - It supports Images, tables and other rich text features
3 - Export to html
4 - Import from treepad and other alike
5 - Syntax highlighting
6 - Save all stuff in a single file
.....


The project is supported by various translators (including me in Portuguese, not completed yet), and others are welcome.

The application runs real fast, can be docked to notification area, and it opens the last saved file. Recently it also allows multiple instances.

Giuspen, has a lot of ideas for making Cherrytree even better. If I could code as good as he, sure I'll give him a boost in Cherrytree, the program I use everyday for taking personal notes, and for work.

Finally one last taught about cherrytree.... What if Debian or Ubuntu packed it in repositories? I believe it would be great for most users that are not aware of this wonderful piece of software.

#! Crunchbang Statler - Enable Suspend Button on Exit

$
0
0

A few moons ago, I posted how to create a button for #! for suspend the computer on exit, but in those days, Crunchbang was based on Ubuntu, and the software worked diferent.

In the present time, Crunchbang is debian based, so things change a little

The "Exit" command on the openbox main menu opens several buttons so one can choose, those command are:

Cancel, Logout, Reboot and Shutdown

So suspend is out of the list.... those commands are all commands for gdm-control, but gdm-control for suspend is only possible after doing logout, but I wanted to suspend inside the session, so we have to do the trick in other way...

After taking a look at xfce-power-manager, it has suspend function, and after a litle dbus introspection, I found the correct message (http://ubuntuforums.org/archive/index.php/t-410570.html) for dbus that does the trick once xfce-power-manager api supports freedesktop directives (I'm not an expert on any of these things, I just catched some lines here and there)

 

dbus-send \
--session \
--dest=org.freedesktop.PowerManagement \
--type=method_call \
--print-reply \
--reply-timeout=2000 \
/org/freedesktop/PowerManagement \
org.freedesktop.PowerManagement.Suspend

So, for our How-to....

1 - on a command line sudo gedit /usr/bin/openbox-logout

2 - Change the file where bold text is the new text to add

-----------------------------------

#!/usr/bin/env python

 

import pygtk

pygtk.require('2.0')

import gtk

import os

 

class DoTheLogOut:

 

    # Cancel/exit

    def delete_event(self, widget, event, data=None):

        gtk.main_quit()

        return False

 

    # Logout

    def logout(self, widget):

        os.system("openbox --exit")

 

    # Reboot

    def reboot(self, widget):

        os.system("gdm-control --reboot && openbox --exit")

 

    # Shutdown

    def shutdown(self, widget):

        os.system("gdm-control --shutdown && openbox --exit")

 

    # Suspend

    def suspend(self, widget):

        os.system("dbus-send --session --dest=org.freedesktop.PowerManagement --type=method_call --print-reply --reply-timeout=2000 /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.Suspend")

 

    def __init__(self):

        # Create a new window

        self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)

        self.window.set_title("Exit? Choose an option:")

        self.window.set_resizable(False)

        self.window.set_position(1)

        self.window.connect("delete_event", self.delete_event)

        self.window.set_border_width(20)

 

        # Create a box to pack widgets into

        self.box1 = gtk.HBox(False, 0)

        self.window.add(self.box1)

 

        # Create cancel button

        self.button1 = gtk.Button("_Cancel")

        self.button1.set_border_width(10)

        self.button1.connect("clicked", self.delete_event, "Changed me mind :)")

        self.box1.pack_start(self.button1, True, True, 0)

        self.button1.show()

 

        # Create logout button

        self.button2 = gtk.Button("_Log out")

        self.button2.set_border_width(10)

        self.button2.connect("clicked", self.logout)

        self.box1.pack_start(self.button2, True, True, 0)

        self.button2.show()

 

        # Create reboot button

        self.button3 = gtk.Button("_Reboot")

        self.button3.set_border_width(10)

        self.button3.connect("clicked", self.reboot)

        self.box1.pack_start(self.button3, True, True, 0)

        self.button3.show()

 

        # Create shutdown button

        self.button4 = gtk.Button("_Shutdown")

        self.button4.set_border_width(10)

        self.button4.connect("clicked", self.shutdown)

        self.box1.pack_start(self.button4, True, True, 0)

        self.button4.show()

 

        # Create suspend button

        self.button5 = gtk.Button("Sus_pend")

        self.button5.set_border_width(10)

        self.button5.connect("clicked", self.suspend)

        self.box1.pack_start(self.button5, True, True, 0)

        self.button5.show()

 

 

        self.box1.show()

        self.window.show()

 

def main():

    gtk.main()

 

if __name__ == "__main__":

    gogogo = DoTheLogOut()

    main()

3 - Save the file, and there you go

--------------------

Hope this is any good for anyone, as it is for me... You can always configure xfce-power-manager to suspend when you do some action, as "close lid" "press power button" etc, etc....

Mechanical Engineering Useful Software in Linux

$
0
0
So, as usual, I've no wrote in this space for a long time, but today, as my daughter sleeps like a baby (10 months :P), I've got the time for some writings..
So since my last post, I've acquired a new 13" laptop to replace the good old asus eee 701, I needed a small, fast and good pc for some of my engineering work.
Just in short lines the PC is an Acer Travelmate 8371, and Linux Mint Debian Edition runs very smooth.... only one thing does not work at all, and that is the fingerprint reader, which I don't care at all.. One of the most important things for me in laptops is battery (6 hours) and suspend (all ACPI events works out of the box. Even the intel wireless card work without problems...So I'm very pleased with this little and robust machine...
So, back on the post title.... As I acquired this machine mainly for work, I started filling it up with software that I use on my day to day work (I work for a Portuguese big HVAC contractor, and own my own consulting company), and as you may think, I spend a lot of my time working...
So, starting from the basis...
1 - My desktop, the wood one, is full of interesting stuff, drawings, notes, specifications, catalogs, databooks, material samples, a real mess... so sometimes finding the calculator is hard... so I use the most powerful calculator on Linux... And that is Qcalculate (check the repositories)... Imagine this common situation for me, as manufacturers that I work with around the world all work in different units....
Pressure drop calculation:
- Heat Exchanger - 40kPa
- 3 way valve - 1 bar
- Pipes - 2 mca
etc etc...
So, normally to do this calculation and getting the result in bar, for instance, or you have a good datasheet, or you use qcalculate... just by typing....
"(40kPa+1bar+2mca) to bar" you get the fine answer "1,5960828 bars", note that the mca (column of water meters, very used here) is not one of supplied conversions, but you can program any conversion you want, Qalculate has a big database of units, currency conversion (automatic update of exchange rates), math functions, variables, phisycal constants, etc, etc.... It has capability of solving equations, plot functions, a lot of interesting stuff for you engineers to explore...


2 - So, in the CAD area, I've written a lot about this, but a list of the better ones available native:
Bricscad (Comercial, Autocad Clone),
- Varicad (3D based, for me its the best CAD software available for Linux)
Draftsight (free, Autocad Clone, but no Autolisp),
Ares Commander (the father of Draftsight, comercial, full featured),
 - Freecad (very good, sound promissing),
- QCAD (released a new version, looks a lot better and is cheap)
- Medusa4 (free personal version, very good commercial software)
And you have a lot of others, but for some reason to me are not worthy to be in this list, but here is a link to an updated regularly list of CAD software on Linux http://www.tech-edv.co.at/sl.php?058010. I recommend this list, I go there to take a look at the news very often... (thank you)
Remember that I'm writing about software that I really used or use for production purposes, so my opinions are not from a inexperienced person on this type of software.... I've been working with cad software since 1996 :)....

3 - On number 3 we have a non native Linux software, but as they support Linux through wine (and I've bought a license, cough, cough).... I'm talking about SF Pressure Drop 7.0 (7.15 version don't work) a full package software to calculate pressure drop in pipes. It has a full database of pipes, accessories, valves, etc, etc, it also has a full database of fluids (liquids and gases) with all the temperature and pressure properties, states, etc, etc. I also allows you to calculate pumps, reservoirs empty times, economical pipe diameter, etc etc.. It is very complete and deserves a look.
I finish this small review with a screenshot...


4 - I work with a lot of PDF files from OEM's, clients, tables from books, etc, etc, etc... and a lot of times I've to markup those to present to consultants, or simply to note something useful... So I'm talking about PDF annotation and manipulation.
I work with 2 software:
For Annotation I use Xournal (it's on every repository), and it allows me to do something like...

It has a shape recognizer that allow you to do straight lines, and squares, rectangles, circles, etc, etc... Files are saved with .xoj extension, and you can export them to PDF with the annotations, very useful, as it saves a lot of unnecessary printing...
For manipulation I use PDFChain (in repositories also). In the past I used PDFSam, but it is slower to work with due to the interface... So PDFChain allow me to crop, rotate, split and merge PDF's.
5 - On number 5 is Elmer+Gmsh (both on Debian Testing repositories), the software I use to make CFD calculations. I've started using them recently, and as I'm not very familiar, I'll take the option to just talk about the tricks to make them work with DXF files for complex layouts, and the rest of physical and equation stuff you will have to take a look at the software tutorials.... (beside that I'm a lot of rusty in finite element calculation)
So in the first time you draw something on draftsight for instance.... Save it as dxf.... Import it with Gmsh.... Create the mesh... and save mesh as "Mesh - Gmsh MSH (*.msh)" choose version 2 ASCII and "Save All".
Now the trick (that took me a all night to figure this out), open the generated file with a text editor and simply replace the "." (dots) with "," (commas), somehow Elmer mess things up...
Import mesh into Elmer, model the problem, and in the final you can have a result like this...

The above image represents the air speed inside a HVAC plenum, it was just a test, as the problem was not very well formulated, but you can get a idea of what this is capable...
6 - Other software that worth a look (in the repositories)
- Crunchbang - a less powerful calculator the qalculate
- Octave - Matlab Clone
- PSPP - SPSS clone (statistics) - Never tried it
- Electric - Draw electric Schematics (I've tried but I'm a mech engineer... )

So this is it for now.... and as I'm short on time, feel free to follow me on this social networks:
Twitter - @ECA_Engenharia
Identi.ca - @pirolocito
We can have a nice talk on a short spare time... And remember, linux is easy....
Viewing all 31 articles
Browse latest View live