You will want to clean up your package cache from obsolete packages from time to time.
Be sure to have installed
# pacman -S pacman-contrib
When this is done:
# paccache -rk 2
to keep the latest after uodating and your previous package.
STumbling In Linux Land, STupid and Unlucky Pablo? The tribulations and happy discoveries of a Linux former Newbie, now bit more experienced user
Sunday, November 10, 2019
Monday, March 18, 2019
Umlaut
First set the right alt key {AltGr} to compose
Now to type umlaut:
press the Alt Gr button
release it
then type in u
followed by "
which gives you a ΓΌ
setxkbmap -layout us -option caps:ctrl_modifier,compose:ralt,terminate:ctrl_alt_bksp
Now to type umlaut:
press the Alt Gr button
release it
then type in u
followed by "
which gives you a ΓΌ
Thursday, August 2, 2018
When you're login is borked
Using lxdm as login manager for entering an openbox desktop environment, I was rather surprised I suddenly experienced a halt halfway starting up.
This was years ago something like that happened.
First I checked if the hard drive by entering another installation on that particular hard drive; that was OK so HD was not damaged.
Another boot into Archbang led to the same failure to get to see lxdm doing, what it is suppose to do.
Using ctl+alt+f2 I was able to start another terminal session, tty2.
Loging in as user and giving password I was able to start openbox by using:
startx
I couldn't discover what was wrong with lxdm and decided to check .xinitrc in /user/home/
Was OK with rule
As alternative to lxdm I decided to choose to autologin using systemd
Commands:
This was years ago something like that happened.
First I checked if the hard drive by entering another installation on that particular hard drive; that was OK so HD was not damaged.
Another boot into Archbang led to the same failure to get to see lxdm doing, what it is suppose to do.
Using ctl+alt+f2 I was able to start another terminal session, tty2.
Loging in as user and giving password I was able to start openbox by using:
startx
I couldn't discover what was wrong with lxdm and decided to check .xinitrc in /user/home/
Was OK with rule
exec openbox-session
Now checking ~/.bash_profilemaking sure following rule was active:
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
As alternative to lxdm I decided to choose to autologin using systemd
Commands:
cp /usr/lib/systemd/system/getty@.service /etc/systemd/system/autologin@.service
Symbolic linking:
ln -s /etc/systemd/system/autologin@.service /etc/systemd/system/getty.target.wants/getty@tty1.service
If the link is already active you can edit getty@tty1.service in /etc/systemd/system/getty.target.wants
by changing
ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM
to in my case
ExecStart=-/sbin/agetty -a paul %I 38400
Reload daemon:
systemctl daemon-reload
And restart service:
systemctl start getty@tty1.service
Wednesday, August 1, 2018
Friday, April 20, 2018
Mp3cut in Linux Arch
Install from Aur
$yaourt -S mp3cut
I downloaded a radioconcert from which I wanted to save a part from 8 minutes 49 seconds to 1 hour 11 minutes 42 seconds
Open terminal in the folder in which the file you want to cut (concert.mp3).
$mp3cut -t 00:08:49-01:11:42 concert.mp3
The output will be written as concert.out.mp3
$yaourt -S mp3cut
I downloaded a radioconcert from which I wanted to save a part from 8 minutes 49 seconds to 1 hour 11 minutes 42 seconds
Open terminal in the folder in which the file you want to cut (concert.mp3).
$mp3cut -t 00:08:49-01:11:42 concert.mp3
The output will be written as concert.out.mp3
Friday, April 6, 2018
Update issue Arch kfilemetadata4 libbaloo4
looking for conflicting packages...
:: poppler and poppler-qt4 are in conflict. Remove poppler-qt4? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: kfilemetadata4: removing poppler-qt4 breaks dependency 'poppler-qt'
Solution:
:: poppler and poppler-qt4 are in conflict. Remove poppler-qt4? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: kfilemetadata4: removing poppler-qt4 breaks dependency 'poppler-qt'
Solution:
#pacman -R kfilemetadata4 libbaloo4
Saturday, February 17, 2018
list folder content by only directory names using the terminal
$ ls -d */
is the command that you need in the terminal that is opened in a certain folder to list only the sub-directory names and not the sub-directories content.
I use it for instance to make a text file to list music and ebook folders I have.
Subscribe to:
Posts (Atom)