(91) 350-9520 support@omarine.org M-F: 7 AM - 7 PM; Weekends: 9 AM - 5 PM

Omarine-tip

Wed Jun 13 23:06:48 UTC 2018

Note the filename containing the spaces!

When using filenames (or directories) containing spaces on the command line, you need to enclose them in quotes. For example:

clamdscan "/path/to/name of directory"

Sun Jun 10 04:06:21 UTC 2018

How to install additional fonts?

See this article.


Sat Jun 9 09:27:38 UTC 2018

Can I manipulate Microsoft Office documents such as .docx, .xlsx, .pptx?

Yes, of course. You copy them to your home directory and then open them.


Mon May 21 04:30:38 UTC 2018

How to take photos and videos using a webcam?

You run Cheese program.


Sat May 19 23:12:35 UTC 2018

Why do not I see k3b when querying with rpm?

Because k3b and some other application packages that belong to the kde category are included in one package. It’s kde-apps package.


Sat May 19 13:34:50 UTC 2018

Notice the addition of Thunderbird!

When packing omarine-3.1-dvd.iso I have to remove some packages so that the size of omarine-3.1-dvd.iso is smaller than 4.7GB (not GiB), from which users can burn it to a regular DVD. These packages include Thunderbird. So, after installing Omarine 3.1 from omarine-3.1-dvd.iso, if you want to use Thunderbird and other packages below, download and install them:


Fri May 18 09:01:42 UTC 2018

I started ktorrent on GNOME and it disappeared. Where is it?

The program window is minimized to the lower left corner of the screen:


Fri May 18 06:01:34 UTC 2018

How to customize maximum number of directories to be protected by Clam AntiVirus?

See How to set number of directories to be protected by Clam AntiVirus?.


Thu May 17 18:31:32 UTC 2018

How to use Clam AntiVirus program?

First you run the following command to initialize the virus database:

sudo freshclam

Then start the clamav-daemon service:

sudo systemctl enable clamav-daemon
sudo systemctl start clamav-daemon

To protect your Downloads directory with on-access prevention, run the following command:

sudo tee -a /etc/clamd.conf << EOF
ScanOnAccess yes
OnAccessIncludePath $HOME/Downloads
OnAccessPrevention yes
OnAccessMaxFileSize 100M
EOF

Then restart the clamav-daemon service:

sudo systemctl restart clamav-daemon

See clamd.conf(5) for more details.

To schedule a virus scan of your home directory automatically at 3 AM every day you run this command:

echo "1 3 * * *       /usr/bin/clamdscan /home" \
    | sudo tee -a /var/spool/cron/crontabs/root

If you want to scan files and directories manually, you can use clamscan or clamdscan. For example, scanning the Downloads directory with the archive recursion level limit set to 20:

clamscan --max-recursion=20 ~/Downloads

See clamscan(1) and clamdscan(1) for more details.

Log files are located in /var/log/clamav.


Thu May 17 04:09:40 UTC 2018

Notice when upgrading to XScreenSaver 5.39

If you are using XScreenSaver, after upgrading you need to restore xscreensaver.desktop:

sudo cp /usr/share/xscreensaver/xscreensaver.desktop /etc/xdg/autostart/

Mon Apr 30 13:50:50 UTC 2018

My computer has only one network interface that is Ethernet interface and I can not connect to the Internet!

You try disabling ipstatic service:

sudo systemctl disable ipstatic

Then restart your computer.


Fri Mar 30 14:01:23 UTC 2018

Fixing multipathd service:

The multipathd service is known to fail. We fix as follows:

sudo tee /etc/multipath.conf << EOF
defaults {
    multipath_dir "/lib"
}
EOF
sudo sed 's,scsi_dh_alua scsi_dh_emc scsi_dh_rdac\s,,' -i /lib/systemd/system/multipathd.service
sudo mkdir -p /etc/multipath/
sudo dracut --force -o multipath


Fri Mar 30 03:00:02 UTC 2018

Resolving Dracut error message:
    dracut-install: ERROR: installing '/etc/idmapd.conf'
If this message appears when running dracut, it is because your system has not configured NFSv4 and does not yet have the /etc/idmapd.conf file. The immediate solution is to add this file:

sudo touch /etc/idmapd.conf


Thu Mar 29 07:25:40 UTC 2018

How to generate and use an initramfs/initrd image?

sudo dracut &&
sudo grub-mkconfig -o /boot/grub/grub.cfg

See Dracut man page for details.


Mon Mar 26 03:30:40 UTC 2018

How to take screenshots in Plasma?

You run KScreenGenie: Applications > Utilities


Sun Mar 25 06:15:07 UTC 2018

How to capture the screen right at the login screen?

The user at the login screen is gdm. This user has the home directory at /var/lib/gdm.
You take screenshots as usual (press PrtSc key). The image files will be saved in /var/lib/gdm.


Sat Mar 24 06:38:09 UTC 2018

How to configure static IP?
The configuration file is /etc/sysconfig/ipstatic. It looks like this:

You modify the file then restart the computer.

Install JRE CA-Certificates (JRE Certificate Authority Certificates)

sudo rm -f /opt/jdk/jre/lib/security/cacerts &&
sudo makeca -f &&
sudo makeca-java

The above commands will generate keystore /opt/jdk/jre/lib/security/cacerts.
The default password used to protect the integrity of the keystore is "changeit". To change the password you run this command:

sudo keytool -storepasswd -keystore /opt/jdk/jre/lib/security/cacerts

Once changed the password, you need to modify the makeca-java script for the next update:

sudo sed -e '/declare\s-i/i read -s -p "Enter keystore password: " storepassword\n' \
    -e 's,changeit,$storepassword,' -i /usr/sbin/makeca-java

Have fun!


Fri Mar 23 09:45:34 UTC 2018

SCREENSAVER AND BLANKING THE SCREEN

1) XScreenSaver has a smart animation and i like it:

First of all you need to turn off screen blanking and screen locking of GNOME and Plasma.

GNOME: All Settings > Power

Plasma:
- System Settings > Desktop Behavior > Screen Locking

- System Settings > Power Management > Activity Settings

Then run Screensaver program.

GNOME:

Plasma: Applications > Settings

2) I don't use XScreenSaver:

Well, you can turn off XScreenSaver.

Remove xscreensaver.desktop:

sudo rm /etc/xdg/autostart/xscreensaver.desktop

Remove .xscreensaver:

rm -f ~/.xscreensaver

Reboot your machine.

How to use the internationalization input method?
See Using the input method.


Wed Mar 21 05:17:55 UTC 2018

How to check SHA256 digest?

echo "c2f012673bb0c41fda36c3d8776ddcb598a824adf0300bfb9f03fee7abbb2325 omarine-3.0-dvd.iso" | sha256sum -c

Setup Canon LBP printer driver, for example LBP2900:

sudo captprinter-setup LBP2900

Upgrade (or install, query) package files directly from the internet, for example makeca-1.0.2-1.x86_64.rpm:

sudo rpm -U ftp://ftp.omarine.org/phamtyn/packages/01-base/makeca-1.0.2-1.x86_64.rpm

 

Advertisements
%d bloggers like this: