debian install:
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
apt search package-name
change for all users:
nano /etc/bash.bashrc
export TIME_STYLE=long-iso
bash.bashrc -- sysem-wide .bashrc file for interactive bash shells
prikazi koje su trenutne postavke:
locale
prikazi dostupne podrske:
locale -a
dodaj podrske:
dpkg-reconfigure locales
rucno stavi defaultnu
nano /etc/default/locale
ALI gnome ima postavke i na Settings > Region&Languages koje nekako override-aju ove gore koje bi trebale biti globalne. (npr ovdje /var/lib/AccountsService/users/USERNAME)
Za ispravna prikaz datuma i formata treba staviti
en_DK.UTF-8
https://unix.stackexchange.com/questions/62316/why-is-there-no-euro-english-locale
exit to current directory
touch ~/.bash_aliases
nano ~/.bash_aliases
add:
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
ne ponasa se bas pouzadano, nekad odmah radi nekad ne radi!? npr kod odabira outputa ne čuje se zvuk iz zvučnika, čak se ne može playat nikakav sadržaj koji ima zvuk.
za setupiranje detalja treba pokrenuti:
pavucontrol
disable pulseaudio's bluetooth in gdm:
nano /var/lib/gdm3/.config/pulse/default.pa
!/usr/bin/pulseaudio -nF
#
load system wide configuration
.include /etc/pulse/default.pa
unload driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
unload-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
unload-module module-bluetooth-discover
.endif
disable multitouch etc...
check settings:
synclient
copy
/usr/share/X11/xorg.conf.d/70-synaptics.conf
to
/etc/X11/xorg.conf.d/70-synaptics.conf
and edit.
Changing Gnome 3 interface default fonts
GLOBAL
Put this in your (create) /etc/fonts/local.conf file:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<test qual="any" name="family"><string>Cantarell</string></test>
<edit name="family" mode="assign" binding="same"><string>Open Sans</string></edit>
</match>
</fontconfig>
LOCAL
setting font size of the top bar:
- "Activate the "User Themes" gnome-shell extension
- Create the ~/.themes/CustomFontTheme/gnome-shell directory
- Create gnome-shell.css containing:
#panel {
font-size: 14px;
} - Open Gnome Tweak Tool and select your CustomFontTheme."
xrdb -query
echo "Xft.lcdfilter: lcddefault" > ~/.Xresources
gnome-session-quit
xrdb -query
"GNOME Shell Integration" plugin
also installed firefox extension which caused problems (didn't show the download switch just bulb).
after unistall it worked
- GRUB press E (edit)
- add "init=/bin/bash" or "init=/bin/sh" at the end of kernel line (line starting with linux)
- F10 proceed to boot
- mount -n -o remount,rw /
- passwd
...
reboot
shred --help
shred -uvz FileName.ext
shred -vz /dev/sdc1
ima i command line "wicd-curses"
sudo apt-get update
sudo apt-get install wicd-curses
sudo wicd-curses