Skip to content

dimara/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To install everything:

apt-get install git python pep8 pylint
cd ~/dotfiles
python install.py

submodules
----------

git submodule init
git submodule update

spell
-----

apt-get install vim-scripts
rm /usr/share/vim/vim73/spell/*.spl
rm /usr/share/vim/vim73/spell/*.sug

command-t
---------

apt-get install ruby ruby-dev
cd ~/.vim/bundle/command-t/ruby/command-t
ruby extconf.rb
make

virtualenvwrapper
-----------------

apt-get install virtualenvwrapper

http://docs.python-guide.org/en/latest/dev/virtualenvs/#virtualenvwrapper

xmonad
------

apt-get install xmonad xmobar suckless-tools slim rxvt-unicode-256color \
                xscreensaver lxappearance gnupg-agent hsetroot scrot xcompmgr \
                xbacklight laptop-mode-tools

For laptop-mode-tools:

/etc/laptop-mode/conf.d/auto-hibernate.conf:
ENABLE_AUTO_HIBERNATION=1
HIBERNATE_COMMAND=/usr/share/laptop-mode-tools/module-helpers/pm-suspend


/etc/laptop-mode/conf.d/cpufreq.conf:
CONTROL_CPU_FREQUENCY=0

/etc/laptop-mode/conf.d/ethernet.conf:
CONTROL_ETHERNET=0



# This is from jessie
apt-get install xss-lock

xmonad --recompile

reboot

Uncomment LID_SLEEP=true in /etc/default/acpi-support so that
/etc/acpi/lid.sh will suspend the PC upon lid close.

pulseaudio
----------

Prevent applications from auto-adjusting mic gain:

sudo sed -i.bak 's/volume = merge/volume = zero/' /usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf
pulseaudio -k
pavucontrol

https://askubuntu.com/questions/279407/how-to-disable-microphone-from-auto-adjusting-its-input-volume
https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Enable_Echo/Noise-Cancellation
https://nzeid.net/pulseaudio-disable-auto-volume


Rescan output devices

pacmd unload-module module-udev-detect && pacmd load-module module-udev-detect

https://superuser.com/questions/845645/pulseaudio-how-to-rescan-audio-devices


Telegram
--------

telegramdesktop/tdesktop#9825

https://github.com/telegramdesktop/tdesktop/commit/41e0e4fba703eddfe599ab8935cf0b64549a933f

Use chrome instead of firefox

copy /usr/share/applications/google-chrome.desktop to /usr/share/applications/google-chrome-default.desktop
and pass --profile-directory=Default

xdg-mime default google-chrome-default.desktop x-scheme-handler/https x-scheme-handler/http

This sets .local/share/applications/mimeapps.list

This breaks slack links since it for some reason it opens incognito with the followin args

--profile-directory=Default --flag-switches-begin --disable-quic --flag-switches-end --origin-trial-disabled-features=CaptureHandle --product-version
--profile-directory='Default' jthornber/thin-provisioning-tools#192 (comment) /usr/bin/google-chrome-stable --profile-directory='Default' /usr/bin/google-chrome-stable --incognito https://www.eurosport.com/

workaround: remove /usr/share/applications/firefox-esr.desktop that was referenced in mimeinfo.cache
and update-alternatives --query x-www-browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published