
Davincium - Linux - Solved Problems and Howtos
As I use Ubuntu some of these problems may be Ubuntu/Debian related.
- P: Problem
- S: Solution
- $: Command
P: Fixing strange language settings and symbol malfunctions.
S: Play around with this, unselect and select the wanted locales,
chosing defaults.
$ sudo dpkg-reconfigure locales
P: How to auto send pmsges to the status window in irssi.
S: Write this in a running irssi window.
$ /set autocreate_query_level DCCMSGS
P: Customizing aterm.
S:To turn on transparency, removing the scrollbar, default font,
startup window size and increasing the number of saved lines to maximum.
Write this to the file /home/$USER/.Xresources
Aterm.foreground: white
Aterm.background: black
Aterm.transparent: true
Aterm.shading: 40
Aterm.scrollBar: false
Aterm.font: 7x14
Aterm.geometry: 100x25
Aterm.saveLineS: 32767
And then run the command:
$ xrdb -merge /home/$USER/.Xresources
P: Changing the UID (User identification number)
$ sudo usermod -u (UID) (username)
But remember to change the owner of the home dir afterwards.
$ sudo chown -R (username) /home/$USER
P: Mass renaming filetypes.
S: $ ls -d *.A | sed 's/\(.*\).A$/mv "&" "\1.B"/' | sh
.A being what they are.
.B being what they will become.
P: Batch resizing images.
S: $ mogrify -resize 25% *
This will resize all the images in the folder you're in,
overwriting the contents. If you want to create a resized
image somewhere else you need to use the command convert.
|