Monday, July 10, 2023

Don't add an exfat partition to fstab

 To give honor to the title of this blog I put an new media partition in fstab, but it wasn't an ntfs partition but an exat partition. An exfat can't take permissions of a folder or file level. The whole partition has to be loaded as user to be able to write on it.

So remove the partition  from fstab and do: systemctl daemon-reload

Now we  need the software to manage exfat.  That is not exfatprogs but exfat-utls. I had to remove the first, that came pre-installed, to rbe able to install exfat utils. Then make a mount pooint for the media partition:

sudo mkdir /media/exfats

Now make sure that the partition is not (auto)mounted and if so unmount it. Now you can do , only once necessary:

sudo mount -t exfat /dev/sda2 /media/exfats
Change sda2 to your needed configuration.

source

Thursday, July 6, 2023

Autologin problem? Editing sytemd configuration might help

 Got to /etc/systemd/system/

Mkdir getty@.service.d

Create file override.conf with following ocntent:

 

[Service]
ExecStart=
ExecStart=-/sbin/agetty -i -J --nohostname --skip-login --login-options "-f <yourusername>" %I 38400 linux


Saturday, April 23, 2022

Make conky transparent

 Following lines in /home/user/.config/conky are not sufficient to make the conky window transparent:

own_window_type = 'desktop',
    own_window_transparent = true,
    own_window_class = 'override',
        own_window_transparent = true,

These two lines are also necessary:

own_window_argb_visual = false,
    own_window_argb_value = 0,

Saturday, April 16, 2022

Screen tear in openbox because of composite manager

 An recurring annoyance in Openbox is screen tear. It is especially likely to occur when using xcompmgr or another composite manager. The solution is to disable xcompmgr in /home/user/.config/openbox 

Or better still create a bash script and connect this to a hotkey as described here

Monday, November 9, 2020

Desktop Notification for Audacious in Openbox environment

 First install libnotify, #pacman -S libnotify

Then notification-daemon and create The folders $XDG_DATA_HOME ; in there the folder dbus-1 and in there a folder services; in there the file org.freedesktop.Notifications.service

Edit with leafpad:

[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/notification-daemon-1.0/notification-daemon
Now start the service:
 /usr/lib/notification-daemon-1.0/notification-daemon start &
Test with: notify-send "test"
Now add to /home/username/.config/openbox/autostart
a line with: start /usr/lib/notification-daemon-1.0/notification-daemon &

Be sure to have the Desktop Notifications plugin activated,In Services. Plugins.


Wednesday, July 29, 2020

mpv resume

Mpv player has the option to set resume at latest point reached.
In  /home/user/.config/mpv/ mpv.conf by adding line
save-position-on-quit

Another useful opton is to repeat;add following line
loop-file=yes

Monday, June 8, 2020

qt5ct segmentation fault

Solution:
Back up your Qt5ct config:
 $ mv ~/.config/qt5ct/qt5ct.conf ~/.config/qt5ct/qt5ct.conf.bck 
Start qt5ct:
 $ qt5ct 

Why this  problem?
gtk2 theme didn´t work together with qt5 anymore.
Kept default theme Fusion now.

Blog Archive