scratch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
scratch [2017/04/27 23:10] adminscratch [2019/01/31 07:17] admin
Line 1: Line 1:
  
-====== Maustasten belegen in Linux Mint (bzw. Ubuntu) ======+====== Maustasten belegen ====== 
 + 
 +===== Linux Mint (bzw. Ubuntu) =====
  
 https://help.ubuntu.com/community/ManyButtonsMouseHowto https://help.ubuntu.com/community/ManyButtonsMouseHowto
Line 14: Line 16:
    
      
-~./imwheelrc: +~/.imwheelrc: 
-  ".*" +  ".*"   
-  None, ExtBt7,   Control_L|Alt_L|Shift_L|M+  None, ExtBt7,   Alt_L|F9
  
 Und schließlich unter //Einstellungen / Tastatur / Tastenkombinationen / Fenster / Fenster verkleinern// \\ Und schließlich unter //Einstellungen / Tastatur / Tastenkombinationen / Fenster / Fenster verkleinern// \\
-//Ctrl + Alt + Shift M// einstellen.+//Alt + F9// einstellen (sollte aber auch Default sein). 
 + 
 + 
 +===== Arch Linux ===== 
 +xorg-xev, xbindkeys und xdotool installieren: 
 +  pacman -S xbindkeys xdotool xorg-xev 
 + 
 +mit //xev// Button Nummer herausfinden. 
 + 
 +Maustasten mit xbindkeys auf Tastendrücke legen: 
 +~./xbindkeysrc: 
 +  # Button 10 sends ALT+F9 
 +  "xdotool key alt+F9" 
 +  b:10 
 + 
 +xbindkeys automatisch beim Einloggen starten: 
 +~/.xprofile: 
 +  xbindkeys & 
 + 
 +In Desktop-Einstellungen ALT-F9 auf gewünschte Funktion, z.B. //Fenster minimieren// setzen. 
 + 
 + 
 +====== Mausgeschwindigkeit einstellen ====== 
 +Per 'xset'. 
 +Z.B.: 
 +''xset m 5/4 0'' 
 + 
 +Das ganze dann als Startup definieren, 
 + 
 +#cat ~/.config/autostart/mouse.desktop 
 +  [Desktop Entry] 
 +  Name=Set mouse sensitivity 
 +  Exec=xset m 5/4 0 
 +  Type=Application 
 +  Comment=Use xset to set mouse params 
 +  Comment[en_US]=Use xset to set mouse params 
 +  Comment[de_DE]=Benutzt xset um die Maus-Geschwindigkeit einzustellen 
 + 
 + 
 + 
 +Siehe auch: http://www.pontikis.net/blog/fix-mouse-sensitivity-ubuntu 
  
  
Line 48: Line 91:
 ====== Floppy auf 720 kB formatieren (USB-Laufwerk) ====== ====== Floppy auf 720 kB formatieren (USB-Laufwerk) ======
 Von https://unix.stackexchange.com/questions/219533/how-to-format-720k-fat-ie-ms-dos-floppy-on-linux-using-usb-floppy-drive Von https://unix.stackexchange.com/questions/219533/how-to-format-720k-fat-ie-ms-dos-floppy-on-linux-using-usb-floppy-drive
 +und https://fitzcarraldoblog.wordpress.com/2017/01/17/using-an-external-usb-3-5-inch-floppy-disk-drive-in-linux/
  
 '' ''
Line 59: Line 103:
 '' ''
  
 +====== Git ======
 +  # Create branch
 +  git branch <branch>
 +  git checkout <branch>
 +   
 +  # Do the work
 +  kate main.cpp
 +  ...
 +  
 +  # Commit the branch
 +  git commit -m "Insert commit message here"
 +  
 +  ### Rebase ###
 +  
 +  # Update master copy
 +  git checkout master
 +  git pull
 +  # go to branch which should be merged to master and make sure that remote is equal with your copy
 +  git checkout <branch>
 +  git pull
 +  # Start rebase
 +  git rebase master
 +  # solve conflicts with an editor e.g foo.cxx has a conflict
 +  kate foo.cxx # remove conflict
 +  git add foo.cxx
 +  # continue rebasing
 +  git rebase --continue
 +  # if there are no other conflicts to solve, push your branch to remote otherwise solve conflicts
 +  git push --force
  
  • scratch.txt
  • Last modified: 2019/03/10 13:03
  • by admin