welcome: please sign in
location: Diff for "Ubuntu"
Differences between revisions 57 and 58
Revision 57 as of 2018-10-10 09:10:17
Size: 8226
Editor: 172
Revision 58 as of 2018-10-10 09:10:42
Size: 8219
Editor: 172
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
 * qpdf - command line tool to remove encrypt pdf files  * qpdf - command line tool to encrypt pdf files

Sammlung von Ubuntu Befehlen

gimicks für Ubuntu

  • to see right away that you are root atm; add following line to root .bashrc export PS1='\[\e[31m\]\u@\h:\w\[\e[0m\]\$'.

Software unter Ubuntu

Chat Clients


  • https://about.riot.im/

  • Debian / Ubuntu repo:
    • Add the repository ("artful" is codename for 17.10, use the approriate codename depending on your distribution):

      sudo sh -c "echo 'deb https://riot.im/packages/debian/ $(lsb_release -cs) main' > /etc/apt/sources.list.d/matrix-riot-im.list"

      • For MINT OS use the newest debian - repository at the moment it is bionic (at 2018-10-10)

    • Add the public key:

      curl -L https://riot.im/packages/debian/repo-key.asc | sudo apt-key add -

    • Update and install Riot:

      sudo apt-get update && sudo apt-get install riot-web


currently testing:

  • (pidgin) has no carbon copy support you can get it from here https://github.com/gkdr/carbons. BUT it did not work well for me, your own message is not send to other clients just messages from others.

not using following clients anymore for different reasons:

  • jitsi crashed after reawake from suspend

    • Version: jitsi_2.10.5550-1_amd64.deb (stand 14.2.2017)

    • for this I had to solve two dependencies

      • jitsi-archive-keyring_1.0.1_all.deb

      • and missing libappindicator1

    • Installation:

      • after downloading, switch to folder with downloaded files, or wget -c https://download.jitsi.org/stable/jitsi_2.10.5550-1_amd64.deb to add 

      • sudo dpkg -i jitsi_2.10.5550-1_amd64.deb

      • sudo apt-get -f install (will mostly solve second dependency, if not sudo apt-get install libaapindicator1)

      • if first dependency occures, download it from jitsi repository.

      • sudo dpkg -i jitsi-archive-keyring_1.0.1_all.deb

  • --gajim - jabber (XMPP) Chat client with carbon-copy support--
    • getting old messages from time to time, that's really annoying
  • empathy has no carbon copy support

Programm Languages


  • Installing Java 8 on Ubuntu
     sudo add-apt-repository ppa:webupd8team/java
     sudo apt-get update
     sudo apt-get install oracle-java8-installer
  • Configuring Java8 Environment
    • In Webupd8 ppa repository also providing a package to set environment variables, Install this package using following command.
     sudo apt-get install oracle-java8-set-default


  • sudo aptitude install python-pip



System Settings

  • Multiple workspaces, with the following two simple comands you can activate and configurate compiz. Arrangements of virtual desktops can be adjust with hsize (horizontal) and vsize (vertikal):
    gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 4
    gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ vsize 1
  • Alternative there is gui tool: unity-tweak-tool
    sudo apt-get install unity-tweak-tool
  • Listenansicht: list-view oder icon-view gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'

Drucker/ Printer

  • download and extract to Downloads


  • or use Dell_5130cdn.ppd

  • open printer-window -> New printer -> Network Printer -> find Network Printer -> enter current IP-address of printer (if it is not in same subnet as your laptop) -> press Find -> Choose IPP (xxx.xx.xxx.xx) -> press Forward -> provide PPD file -> choose your extract ppd file -> choose 2-Tray option and finish installation with a test page

Verwalten von ppa/ Management of ppa

Hinzufügen/ add

  • sudo add-apt-repository ''ppa:benutzer/paketname''
    • Beispiel für java8: sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo aptitude update
    sudo apt-get dist-upgrade
  • Installieren von software per commandline:
    sudo aptitude install ProgrammName

Entfernen/ remove

  • sudo ppa-purge ''ppa:benutzer/paketname''

Anschauen von FremdPPAs/ checking foreign ppas

  • find /etc/apt -name „*\.list“ -exec grep -v „\s*#“ ‚{}‘ \; | grep -v „deb-src“ | grep -Piso „ppa.launchpad.net/[^/]+/[^/ ]+“ | sed -r ’s~^ppa.launchpad.net/~ppa:~‘

Probleme mit google PPA (depracted)

  • sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"

PPA - list

  • indicator-multiload/stable-daily  - paket: indicator-multiload

SSH -key

Generieren eines SSH-keys

  • ssh-keygen -t rsa

Ausgabe :

  • Enter file in which to save the key (/home/demo/.ssh/id_rsa):

Mit Enter wird eine Datei id_rsa im Verzeichnis .ssh erstellt.

  • Enter passphrase (empty for no passphrase):

Public key auf server kopieren

  • cat ~/.ssh/id_rsa.pub | ssh user@ "mkdir -p ~/.ssh && cat >>  ~/.ssh/authorized_keys"

video converting by using ffmpeg

ffmpeg -i <input-file> -ar 44100 -ab 96 -f flv <output-file; e.g test.flv>

If you want to cut end of movie, you can use -t option: -t duration Set the recording time in seconds. “hh:mm:ss[.xxx]” syntax is also supported

hepe: Ubuntu (last edited 2018-10-10 09:10:42 by 172)