Versie 7 sinds 2018-07-23 12:00:43

Bericht wissen

The Linux CAD Page

CAD and Linux were difficult to combine until a few years ago. Ironically, because many CAD systems have started on Unix. But that aside.

There are a few basic CAD programs for small projects. But for serious and professional work, there was actually nothing. Bricsys has changed that with a closed source application BricsCAD.

This page deals with a system for that with tips and tricks. We keep it reasonably up-to-date.

A workstation based on Xubuntu ... Level: A little familiar with Linux is desirable and otherwise your search engine is your friend.

Version Xubuntu 17.10. Why this version? Many Ubuntu flavors have already been tried. All these flavors have their pros and cons, but net Xubuntu is the most appealing, it is simple like Windows 7 classic, XP and still offers many possibilities by installing packages of other linux flavors. Tailoring a system requires effort. For many people, Ubuntu is standard out of the box - just like OS-X and Windows - also good enough. For power users, the following can be inspiring. Don't expect eye candy on Xubuntu.

Bricsys running on the newest versions is not a good idea. That is why we always lag behind with versions. It is also very tempting to go for Debian with XFCE, but for now we stick to Xubuntu, which is close.

General

  • terminal: In a terminal you enter commands, search in your menu, try ctrl + alt + t or do it raw via Ctrl + Alt + F1 (F2 ... F6, Ctrl + Alt + F7 is again for X-Windows).

  • sudo: Sudo ensures that you can perform tasks as installations as "root" (admin). If you read: sudo command_x, remember that you can also permanently work as root by first typing "sudo su", back to the user: "exit". If it says "# command", do it as root and if it says "$ command", do it as a user.

  • RMB is short for Right Mouse Button. Commands are between double quotes ("..."), don't type quotes of course.

Basic installation

Download

Download an iso file from https://xubuntu.org/download.

Installation

  • Start up and usually call F12 / F11 for a startup menu when starting a computer. Some old computers have difficulty installing from USB, then bake a DVD first. Conversely, UEFI can be annoying, dive into the BIOS (F2 or Del) and make sure you can start without UEFI. General: installation is straightforward, follow all instructions and everything is (usually) good. It is to consider arranging some things differently ...
  • Selecting other partitions can be useful. /boat is too small by default, often causes unexpected problems with flooding. The question is whether LVM makes sense for a workstation. Swap-file is not really necessary if you have enough RAM, but the kernel likes it when it's there. The pluses outweigh the minuses, for a system that is reinstalled after a limited number of years - we are talking about a workstation here. In summary: KISS! So new partition table and one ext4 partition with mount-point "/" and a swap partition that is about as large as the amount of RAM.
  • Just follow the installation steps and you can't go wrong.
  • Also do all updates when finished

Software

As preparation, a list of packages that are handy and not in the standard installation follows, "apt install" is the command for this. You can paste the table into Calc, select a column in an editor, put "apt-get install" in it and paste it again on the command line as root (#), "sudo su" first. Under the table are ready-made blocks that can be pasted on the command line.

Do not simply take over blocks with commands, make sure you understand what the commands in general and the programs in particular do. The three groups: 1 is often useful, 3 is often not necessary and in 2 there are programs in between. Copy the commands in a text editor, remove things when in doubt, you can always add them later.

PROGRAMMA

TOEPASSING

FUNCTIE

V

# COMMANDO

dkms

system

kernel comp.

1

apt-get install dkms

scite

ascii

ascii bewerken

2

apt-get install scite

geany

ascii

ascii bewerken

1

apt-get install geany

pcmanfm

bestanden

browser

1

apt-get install pcmanfm

brasero

bestanden

cd/dvd branden

2

apt-get install brasero

p7zip

bestanden

compressie

1

apt-get install p7zip

p7zip-full

bestanden

compressie

1

apt-get install p7zip-full

fslint

bestanden

doublures

2

apt-get install fslint

gprename

bestanden

hernoemen

2

apt-get install gprename

k4dirstat

bestanden

in kaart brengen

1

apt-get install k4dirstat

exfat-utils

bestanden

ondersteuning exfat

1

apt-get install exfat-utils

grsync

bestanden

synchronisatie, gui

2

apt-get install grsync

meld

bestanden

vergelijken

2

apt-get install meld

gimp

bitmaps bewerken

basis

1

apt-get install gimp

hugin

bitmaps bewerken

pano, perspectief.

2

apt-get install hugin

rawtherapee

bitmaps bewerken

raw

1

apt-get install rawtherapee

fonts-crosextra-caladea

fonts

caladea (cambria)

1

apt-get install fonts-crosextra-caladea

fonts-crosextra-carlito

fonts

carlito (calibri)

1

apt-get install fonts-crosextra-carlito

fonts-croscore

fonts

tinos (times new roman), arimo (arial) en cousine (courier)

1

apt-get install fonts-croscore

audacity

geluid

bewerken

1

apt-get install audacity

blender

grafisch

3d

1

apt-get install blender

graphviz

grafisch

diagrammen

1

apt-get install graphviz

inkscape

grafisch

vector en meta-afbeeldingen

1

apt-get install inkscape

mpack

mail

mime

2

apt-get install mpack

pdfchain

pdf

samenstellen

2

apt-get install pdfchain

pdfsam

pdf

samenstellen

2

apt-get install pdfsam

pdfshuffler

pdf

samenstellen

1

apt-get install pdfshuffler

okular

pdf

viewer

3

apt-get install okular

vokoscreen

screencast

opnemen

3

apt-get install vokoscreen

key-mon

screencast

toetsaanslagen

3

apt-get install key-mon

wmctrl

screencast

vensterinformatie

3

apt-get install wmctrl

gnome-system-monitor

systeem

controle

2

apt-get install gnome-system-monitor

synaptic

systeem

softwarebeheer

1

apt-get install synaptic

smartmontools

systeem

controle harde schijven

1

apt-get install smartmontools

bleachbit

systeem

opschonen

1

apt-get install bleachbit

gparted

systeem

partitioneren

1

apt-get install gparted

cifs-utils

systeem

samba

1

apt-get install cifs-utils

hunspell-de-de

taal

spelling

2

apt-get install hunspell-de-de

myspell-en-gb

taal

spelling

2

apt-get install myspell-en-gb

myspell-nl

taal

spelling

2

apt-get install myspell-nl

avidemux

video

bewerken

2

apt-get install avidemux

dvbcut

video

bewerken

2

apt-get install dvbcut

kino

video

bewerken

3

apt-get install kino

openshot

video

bewerken

3

apt-get install openshot

youtube-dl

video

downloader

2

apt-get install youtube-dl

winff

video

ffmpeg gui

2

apt-get install winff

handbrake

video

omzetten

3

apt-get install handbrake

handbrake-cli

video

omzetten

3

apt-get install handbrake-cli

gnome-subtitles

video

ondertitels bewerken

2

apt-get install gnome-subtitles

vlc

video (en audio)

afspelen

1

apt-get install vlc

virtualbox

virtuele omgeving

basis

1

apt-get install virtualbox

virtualbox-guest-additions-iso

virtuele omgeving

extra's

1

apt-get install virtualbox-guest-additions-iso

virtualbox-guest-utils

virtuele omgeving

extra's

1

apt-get install virtualbox-guest-utils

ssvnc

vnc

viewer ssl/ssh

3

apt-get install ssvnc

openvpn

vpn

netwerkverbindingen

3

apt-get install openvpn

keepassx

wachtwoorden

beheer

1

apt-get install keepassx

chromium-browser

webbrowser

chrome-achtig

1

apt-get install chromium-browser

kate

ascii

bewerken

3

apt-get install kate

cryptsetup

beveiliging

versleuteling van schijven

2

apt-get install cryptsetup

calibre

e-book

bewerken

3

apt-get install calibre

bluefish

html

bewerken

2

apt-get install bluefish

uget

internet

download manager

3

apt-get install uget

minidlna

multimedia

netwerkdeling

3

apt-get install minidlna

xsane

scanner

software

3

apt-get install xsane

shutter

screen dumps

uitgebreide versie

3

apt-get install shutter

gramps

stambomen

bewerken

3

apt-get install gramps

hunspell-fr

taal

spelling

2

apt-get install hunspell-fr

Groep 1

apt-get install audacity bleachbit blender chromium-browser cifs-utils dkms exfat-utils fonts-croscore fonts-crosextra-caladea fonts-crosextra-carlito geany gimp gparted graphviz inkscape k4dirstat keepassx p7zip p7zip-full pcmanfm pdfshuffler rawtherapee smartmontools synaptic virtualbox virtualbox-guest-additions-iso virtualbox-guest-utils vlc

Groep 2

apt-get install avidemux bluefish brasero cryptsetup dvbcut fslint gnome-subtitles gnome-system-monitor gprename grsync hugin hunspell-de-de hunspell-fr meld mpack myspell-en-gb myspell-nl pdfchain pdfsam scite winff youtube-dl

Groep 3

apt-get install calibre gramps handbrake handbrake-cli kate key-mon kino minidlna okular openshot openvpn shutter ssvnc uget vokoscreen wmctrl xsane

Enkele opmerkingen.

  • Check de output van je terminal goed op fouten.
  • Bulk Rename is onderdeel van thunar. RealtimeSync is onderdeel van FreeFileSync, niet in repo standaard.

  • Gedit en gnome-system-monitor roepen Zeitgeist aan, los van privacy, zeitgeist veroorzaakt time-outs bij uitloggen, dus zeitgeist via synaptic eruit.
  • LibreOffice bevat niet standaard myspell, dus apart geïnstalleerd. Echter: hunspell heeft voorkeur boven myspell, en-us is al geinstalleerd met LO.

  • Fonts die compatibel zijn met MS-fonts qua geometrie: fonts-croscore voor Times New Roman (Tinos), Arial (Arimo) en Courier (Cousine), fonts-crosextra-carlito voor Calibri en fonts-crosextra-caladea voor Cambria.
  • Het is verstandig om de lijst met software op je gemak via een zoekmachine te bekijken. Je wil mogelijk niet alles hebben.

Tuning

GUI

  • Optioneel, want huidige versie ziet er prima uit. Taakbalk naar onderen: rmb Panel > Panel Prefs > unlock, rmb move (aan handle, rand)

  • Desktop: rmb, etc.
  • Settings > Power Manager, standaard niet slecht

  • Tekstgrootte, schaal, in het algemeen: Settings > Appearance > Font > dpi van 96 naar bijvoorbeeld 88 of 80

  • Panel > rmb > Add New Items > Action Buttons, Keyboard Layouts, Screenshot, Show Desktop

    • Verander eventueel met rmb Clock > Properties: format %A, %d-%m-%Y, %T, verplaatsen: rmb en Move (kun je voor andere icoontjes natuurlijk ook doen)

Toetsenbord

  • Maak een toetsenbordkoppeling: rmb vlag VS > Keyboard Settings > Application Shortcuts > Add > bij command: "xfce4-session-logout --suspend" > bij vraag: "ctrl-alt-s".

  • Settings > Keyboard, of Rmb vlag > Keyboard Settings: tab Layout [] Use sys defaults, Add, English US international with dead keys > OK > Change Layout option: Left Ctrl + Left Shift (Compose key: Right Win als suggestie)

Software tuning

File browsers

Een goede filebrowser is een zegen. Helaas hebben de meeste browser wel wat makken naast fantastische functies. Op het moment van schrijven heeft PCmanFM de troeven in handen, die moet je hebben. Dual pane (F3), snel en stabiel. Nadeel: bij veel schrijfbewerkingen tegelijkertijd kan PCman crashen.

Tenzij verbeterd niet installeren... Dolphin is een heel fijne filebrowser maar heeft ook wat makken omdat het normaal onder KDE draait en soms crasht tijdens het schrijven van grote bestanden (Gigabytes). Er is altijd wel wat mee - zoals in 15.10 opeens geen icoontjes meer en wordt FISH (rectstreekse toegang tot internetserver) niet meer ondersteund.

Thunar is een redelijk alternatief en de standaard voor xubuntu, sneller en vooral veel eenvoudiger maar helaas zonder dual pane (wel tabbladen). Hier is overigens een (bug)fix voor! Thunar ondersteunt niet het FISH-protocol maar wel SSH als (beter) alternatief om een internetserver direct koppelen. Thunar is niet handig met bestandsassociaties onder RMB, een directory met muziek met RMB levert niets op waarbij je met Dolphin zo VLC los laat op alle bestanden. De laatste versies hebben veel last van crashes bij RMB dingen als kopiëren en plakken.

Configuratie

  • Dolphin:
    • Als eerste apt-get install synaptic dolphin
    • Dolphin: Ctrl-M (menubar), settings > conf Dolphin: Startup: [v]split, [v] show full path, [v]show filter bar. Services: [v]Copy to en delete. General: tab Conformations: [ ] Closing Dolphin ... , tab Status Bar [v] Show space.

    • Verder: Maak bijv. /home/naam in orde, show hidden files en view mode details. Opslaan van dit profiel via General: [o] use common properties for all folders. Om Dolphin default te maken: Settings > Preferred Apps., echter voor basiswerk is Thunar beter.

Scite

Onderstaande is achterhaald...

In ~/.SciTEUser.properties (zie voor meer Scite site):

font.base=$(font.monospace)
font.small=$(font.monospace)
font.comment=$(font.monospace)
font.text=$(font.monospace)
font.text.comment=$(font.monospace)
font.embedded.base=$(font.monospace)
font.embedded.comment=$(font.monospace)
font.vbs=$(font.monospace)

Chromium

Firefox is sterk vanwege plug-ins als adblocker. Chromium ondersteunt andere zaken beter. Whatsapp (web.whatsapp.com) draait onder Chromium bijvoorbeeld, zie https://chrome.google.com/webstore/detail/web-whatsapp-chromium-fix/pgfmfnebbllpikciccdlbclochnangbi. Zo ook Telegram. Chrome is intrusive, Chromium niet, dus dit is allemaal goed nieuws.

PPA

PPA staat voor Personal Package Archives, een manier om buiten de officiele kanalen toch updates te ontvangen. Als er geen reden voor gebruik is dan niet toepassen maar als je up to date pakketten wil heben omdat de huidige niet stabiel is of eigenschappen mist dan is dit een goede weg. Bedenk dat je afhankelijk bent van een maintainer die de pakketten onderhoudt - meestal één persoon die beperkt tijd hiervoor heeft.

Alles als root,

sudo su
  • Blender
    add-apt-repository -y ppa:thomas-schiex/blender
    apt-get update
    apt-get install blender
  • Brackets
    add-apt-repository ppa:webupd8team/brackets
    apt-get update
    apt-get install brackets
  • LibreOffice - een bug zorgt voor onleesbare tekst in dialoogvensters in versie 5.1, check eerst of dat zo is...

    add-apt-repository ppa:libreoffice/ppa
    apt update
    apt upgrade

Diversen

  • Als de juiste browser niet gestart wordt - ondanks Settings > preferred apps - dan kan het volgende helpen: Preferred Applications > Web Browser > Debian Sensible Browser en bijvoorbeeld

    sudo update-alternatives --set x-www-browser /usr/bin/firefox
  • Screen locker uit via Settings > Session and Startup > Appl. Autostart > [ ] Screen Locker (bij 14.04 ook "# xset s 0 0")

Netwerk

SMB Linux-client

  • Alles als root.
  • Installeer: apt install cifs-utils.

  • Achterhaal het IP-nummer van de server met de naam van de share. Bijvoorbeeld 10.105.1.1/sharenaam.
    • Maak een directory /data/servernaam/sharenaam, bijvoorbeeld mkdir -p /data/pake/data. Verander de rechten van sharenaam in 2770 en owner en group in gebruikersnaam. Bijvoorbeeld cd /data/pake/, dan chown wiebe:wiebe data/, dan chmod 2770 data/ Voeg de volgende regel toe aan /etc/fstab:

//10.105.1.1/data  /data/servernaam/sharenaam  cifs  uid=1000,gid=1000,credentials=/etc/samba/user,noexec  0 0

Stop gegevens in bestand /etc/samba/user:

username=gebruikersnaam
password=jewachtw00rd

Eventueel symlinks maken (ln -s /locat/ie Linknaam) op bijv. Desktop en bij places toevoegen in Dolphin (slepen)

Daarnaast is het ook wel heel fijn om commando's te kunnen plakken. Indien root-rechten gewenst zijn dan is de procedure als volgt zodat niet iedere keer sudo hoeft te worden gedaan:

sudo su

Network

SMB Linux client

Everything as root. Install cifs-utils. Obtain the IP number of the server with the name of the share. For example, 10.105.1.1/hair name. Create a directory / data / server name / share name, for example 'mkdir -p / data / pake / data' . Change the rights of share name to 2770 and owner and group to username. For example 'cd / data / pake /' , then 'chown wiebe: wiebe data /' , then 'chmod 2770 data /' Add the following line to / etc / fstab:

//10.105.1.1/data / data / server name / share name cifs uid = 1000, gid = 1000, credentials = / etc / samba / user, noexec 0 0

Stop data in file / etc / samba / user:

username = username
password = yewachtw00rd

If necessary, create symlinks (ln -s / locat / ie Linkname) on eg Desktop and add to places in Dolphin (dragging)

In addition, it is also very nice to be able to paste commands. If root permissions are required, then the procedure is as follows so that {sudo does not have to be done every time:

sudo su

Xubuntu 15.10 most annoying bugs

  • Connecting to smb: network is not up before attempt. Workaround: # mount -a. In /etc/rc.local: sleep 5 mount -a does not work.

  • Dual monitor support is bad. http://askubuntu.com/questions/91221/how-to-tell-xubuntu-not-to-clone-but-to-expand-the-laptop-display-to-the-externa . What I did:

    • Create Launcher with command ~/.screenlayout/basic.sh
    • basic.sh:
      xrandr --output VGA-0 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal
    • Next item: Start --> Setting --> Sessions and Startup --> Add basic.sh, not tested yet

    • Probably not needed!!!... Next an autostart in ~/.config/autostart/screens.desktop with:
      [Desktop Entry]
      Version=1.0
      Encoding=UTF-8
      Name=Script
      Type=Application
      Exec=/home/wiebe/.screenlayout/basic.sh
      Icon=
      Terminal=false
      StartupNotify=false
      Hidden=false
      GenericName=
      GenericName[en_US]=

PROGRAM APLICATION FUNCTION V # COMMAND dkms system kernel comp. 1 apt install dkms

  • ascii ascii bewerken 2 apt install

geany ascii ascii bewerken 1 apt install geany pcmanfm bestanden browser 1 apt install pcmanfm

  • bestanden cd/dvd branden 2 apt install

p7zip bestanden compressie 1 apt install p7zip p7zip-full bestanden compressie 1 apt install p7zip-full fslint bestanden doublures 2 apt install fslint gprename bestanden hernoemen 2 apt install gprename k4dirstat bestanden in kaart brengen 1 apt install k4dirstat exfat-utils bestanden ondersteuning exfat 1 apt install exfat-utils grsync bestanden synchronisatie, gui 2 apt install grsync meld bestanden vergelijken 2 apt install meld gimp bitmaps bewerken basis 1 apt install gimp hugin bitmaps bewerken pano, perspectief. 2 apt install hugin rawtherapee bitmaps bewerken raw 1 apt install rawtherapee fonts-crosextra-caladea fonts caladea (cambria) 1 apt install fonts-crosextra-caladea fonts-crosextra-carlito fonts carlito (calibri) 1 apt install fonts-crosextra-carlito fonts-croscore fonts tinos (times new roman), arimo (arial) en cousine (courier) 1 apt install fonts-croscore audacity geluid bewerken 1 apt install audacity blender grafisch 3d 1 apt install blender graphviz grafisch diagrammen 1 apt install graphviz inkscape grafisch vector en meta-afbeeldingen 1 apt install inkscape mpack mail mime 2 apt install mpack pdfchain pdf samenstellen 2 apt install pdfchain pdfsam pdf samenstellen 2 apt install pdfsam pdfshuffler pdf samenstellen 1 apt install pdfshuffler okular pdf viewer 3 apt install okular vokoscreen screencast opnemen 3 apt install vokoscreen screenkey screencast toetsaanslagen 3 apt install screenkey wmctrl screencast vensterinformatie 3 apt install wmctrl gnome-system-monitor systeem controle 2 apt install gnome-system-monitor synaptic systeem softwarebeheer 1 apt install synaptic smartmontools systeem controle harde schijven 1 apt install smartmontools bleachbit systeem opschonen 1 apt install bleachbit gparted systeem partitioneren 1 apt install gparted cifs-utils systeem samba 1 apt install cifs-utils hunspell-de-de taal spelling 2 apt install hunspell-de-de myspell-en-gb taal spelling 2 apt install myspell-en-gb myspell-nl taal spelling 2 apt install myspell-nl avidemux video bewerken 2 apt install avidemux dvbcut video bewerken 2 apt install dvbcut kino video bewerken 3 apt install kino openshot video bewerken 3 apt install openshot youtube-dl video downloader 2 apt install youtube-dl winff video ffmpeg gui 2 apt install winff handbrake video omzetten 3 apt install handbrake handbrake-cli video omzetten 3 apt install handbrake-cli gnome-subtitles video ondertitels bewerken 2 apt install gnome-subtitles vlc video (en audio) afspelen 1 apt install vlc virtualbox virtuele omgeving basis 1 apt install virtualbox virtualbox-guest-additions-iso virtuele omgeving extra's 1 apt install virtualbox-guest-additions-iso virtualbox-guest-utils virtuele omgeving extra's 1 apt install virtualbox-guest-utils ssvnc vnc viewer ssl/ssh 3 apt install ssvnc openvpn vpn netwerkverbindingen 3 apt install openvpn keepassx wachtwoorden beheer 1 apt install keepassx chromium-browser webbrowser chrome-achtig 1 apt install chromium-browser kate ascii bewerken 3 apt install kate cryptsetup beveiliging versleuteling van schijven 2 apt install cryptsetup calibre e-book bewerken 3 apt install calibre bluefish html bewerken 2 apt install bluefish uget internet download manager 3 apt install uget minidlna multimedia netwerkdeling 3 apt install minidlna xsane scanner software 3 apt install xsane shutter screen dumps uitgebreide versie 3 apt install shutter gramps stambomen bewerken 3 apt install gramps hunspell-fr taal spelling 2 apt install hunspell-fr

This site is hosted by NedCAD.

De inhoud van deze site wordt aangeboden zoals het is, zonder enige vorm van garantie en heeft verschillende licenties. Meer informatie over licenties staat hier.