$projectroot = '/path/here';
<Location /git/repos>
Require valid-user
Require ldap-group CN=groupname,OU=organizationalunit,DC=domain,DC=extension
</Location>
<LocationMatch "/git/repos/.*/git-receive-pack$">
Require ldap-user "joe"
</LocationMatch>
AliasMatch ^/git/repos/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /physical/path/to/git/repo/$1
AliasMatch ^/git/repos/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /physical/path/to/git/repo/$1
<Location /git/repos>
SetEnv GIT_PROJECT_ROOT /physical/path/to/git/repo/folder
SetEnv GIT_HTTP_EXPORT_ALL
SetEnv REMOTE_USER $REDIRECT_REMOTE_USER
</Location>
Alias /gitweb /usr/share/gitweb
ScriptAlias /git/repos/ /usr/lib/git-core/git-http-backend/
<Location /gitweb>
SetEnv GITWEB_CONFIG /physical/path/to/gitweb.conf
</Location>
RedirectMatch ^/git/repos/?$ /gitweb?p=repos
C:\apps\TrueCrypt\TrueCrypt.exe /q /v \Path\To\File.tc /le
client dev tun remote server.com 1194 proto udp resolv-retry infinite nobind user nobody group nogroup persist-key persist-tun ca ca.crt cert client.crt key client.key comp-lzo log /var/log/openvpn-client.log verb 3
http://forum.kde.org/viewtopic.php?f=66&t=101878
# cd /usr/share/icons # tar cvf oxygen-disabled.tar oxy-* # rm oxy-* -r
http://ubuntuforums.org/showthread.php?t=1484156
#!/bin/bash case "$1" in hibernate|suspend) ACTION BEFORE SUSPEND/HIBERNATE ;; thaw|resume) ACTION AFTER RESUME ;; *) ;; esac exit $?
http://ubuntuforums.org/showthread.php?t=874833
in the address bar type in:
about:config
in the search bar search for:
browser.download.manager.showAlertOnComplete
mingw-get install mintty
Add -mintty argument to msys.bat in MinGW Shell start menu shortcut.
Mostly follow http://en.wikibooks.org/wiki/QEMU/MinGW
For glib:
export LIBFFI_CFLAGS="-I/opt/qemu/lib/libffi-3.0.13/include" export LIBFFI_LIBS="-L/opt/qemu/lib -lffi"
For pkg-config:
export GLIB_CFLAGS="-I/opt/qemu/include/glib-2.0 -I/opt/qemu/lib/glib-2.0/include" export GLIB_LIBS="-L/opt/qemu/lib -lglib-2.0" export PKG_CONFIG_PATH=/opt/qemu/lib/pkgconfig export ACLOCAL_PATH=/opt/qemu/share/aclocal
For qemu:
I got errors about PKG_PROG_PKG_CONFIG when building pixman. I just commented out the 7 lines starting with PKG_PROG_PKG_CONFIG in the generated “pixman/configure” script since I wasn't using GTK anyway.
Out of the box on a Kubuntu 14.04.1 install, k3b will give Input/Output errors at the end of writing a blu-ray, even though the data appears to write successfully. This is due to growisofs having bugs. Installing the cdrecord package manually from http://sourceforge.net/projects/cdrtools/files/alpha/ (defaults to /opt/schily) will allow k3b to use cdrecord instead of wodim. Then, configuring the k3b project to not be multi-session will force k3b to use mkisofs instead of growisofs and avoid the bug, allowing blu-ray burning to complete successfully. Reference https://bugs.kde.org/show_bug.cgi?id=281818.
In /etc/fstab options field, add:
noauto,x-systemd.automount
Then run:
systemctl daemon-reload
to make the change take effect immediately.
apt-get install libstdc++5:i386 pulseaudio:i386
Use a launcher script like this:
#!/bin/sh # Clear LD_PRELOAD to avoid Steam trying to load its overlay which won't work with UT2004 in 32-bit mode on Linux export LD_PRELOAD= exec /usr/bin/linux32 padsp $HOME/ut2004/ut2004 >/home/josh/ut2004.log 2>&1
Alias /cgit/ /opt/cgit/
<Directory /opt/cgit/>
Options +ExecCGI
AcceptPathInfo On
AddHandler cgi-script .cgi
</Directory>
css=/cgit/cgit.css logo=/cgit/cgit.png snapshots=zip tar.xz section-from-path=1 readme=:README.html readme=:README enable-index-owner=0 enable-http-clone=0 clone-prefix=http://server/git root-title=Git Repositories root-desc= index-header=/opt/git-mkrepo/conf/cgit/index-header.html scan-path=/var/git/git/repos
Add launch options:
-controller steam
Use distribution's Appearance settings to change the Icon style.
I was getting a “Unable to establish a wireless data connection” error on my HTC One M8 on Ting using Sprint's network. The technician suggested calling ##72786#' to do a “Carrier Reset”. It retried to activate several times unsuccessfully, but on the last attempt I stepped outside and then it succeeded. Since then my mobile data connection seems to work fine again.
In $HOME/.config/xfce4/terminal/accels.scm:
(gtk_accel_path "<Actions>/terminal-window/contents" "")
sudo apt install \ libxml2-dev \ libglade2-dev \ libjpeg62-dev \ libgl1-mesa-dev \ libglu1-mesa-dev \ libxmu-dev \ libxpm-dev \ libxt-dev ./configure --prefix=$HOME/local --with-x-app-defaults=$HOME/local/etc/X11/app-defaults make
From http://unix.stackexchange.com/questions/290544/double-click-selection-in-gnome-terminal:
Run:
# Find profile ID: dconf list /org/gnome/terminal/legacy/profiles:/ # Set to $pid or replace $pid below: dconf write /org/gnome/terminal/legacy/profiles:/$pid/word-char-exceptions '@ms "-=&#:/.?@+~_%;"'
Disable the lock screen that appears before the login screen: http://windows.wonderhowto.com/how-to/disable-lock-screen-windows-10-0162965/
$HOME/.xbindkeysrc:
"/usr/bin/xte 'mouseclick 1' 'mouseclick 1'" b:8 + Release
$HOME/.xbindkeysrc:
"/usr/bin/xte 'key XF86Back'" b:9 + Release
$HOME/.xbindkeysrc:
"amixer set Master 2-" XF86AudioLowerVolume "amixer set Master 2+" XF86AudioRaiseVolume
Follow Cat_Is_Not_SP directions at https://www.virtualbox.org/ticket/5732 to change UAC settings.
See https://askubuntu.com/questions/18127/start-stop-taking-too-much-time
Edit squid config file and set:
shutdown_lifetime 3 seconds
Finally in Kubuntu 20.04 the settings GUI works to disable this! System Settings → Workspace → Workspace Behavior → Screen Locking → Appearance → Media controls.
Previously:
See https://bugs.kde.org/show_bug.cgi?id=384264.
Edit /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml and change active: true to active: false in the Loader section for MediaControls.qml.
For example, after installing the ppa:mythbuntu/0.28 PPA, create the file /etc/apt/preferences.d/mythbuntu-0-28 with the contents:
Package: * Pin: release o=LP-PPA-mythbuntu-0.28 Pin-Priority: 600
See https://help.ubuntu.com/community/PinningHowto for more info.
Boot into GRUB, then open GRUB command line and do:
loopback loop (hd0,msdos1)/xubuntu-18.04-desktop-amd64.iso linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/xubuntu-18.04-desktop-amd64.iso initrd (loop)/casper/initrd.lz boot
See https://www.reddit.com/r/Minecraft/comments/8ip8vh/issue_with_minecraft_java_launcher_and_ubuntu_1804/ and https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty/50103533#50103533.
sudo apt install openjdk-8-jdk sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java /usr/bin/printf '\xfe\xed\xfe\xed\x00\x00\x00\x02\x00\x00\x00\x00\xe2\x68\x6e\x45\xfb\x43\xdf\xa4\xd9\x92\xdd\x41\xce\xb6\xb2\x1c\x63\x30\xd7\x92' > /etc/ssl/certs/java/cacerts /var/lib/dpkg/info/ca-certificates-java.postinst configure
When turning on Group by Program name but turning off Combine into a single button, the maximum task manager button size decreases.
I fixed this by editing preferredMaxWidth() in /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/code/layout.js:
function preferredMaxWidth() { if (tasks.iconsOnly) { if (tasks.vertical) { return tasks.width + verticalMargins(); } else { return tasks.height + horizontalMargins(); } } // if (plasmoid.configuration.groupingStrategy != 0 && !plasmoid.configuration.groupPopups) { // return preferredMinWidth(); // } return Math.floor(preferredMinWidth() * 1.6); }
plasmashell can be restarted to see the change take effect with:
killall plasmashell; kstart5 plasmashel