Fedorum YouTube Channel
We are just days away from uploading the first Fedora Workstation 36 videos.
Fedorum YouTube Channel
We are just days away from uploading the first Fedora Workstation 36 videos.
This page hosts quick fixes to Fedora issues and small problems which could pop up from time to time. If it is not mentioned here on the tips page then it is possible that a blog article exists which has instructions on how to solve various issues.
Likewise, if a blog article is not needed to provide a fix for Fedora then it will be posted here at the tips page.
Open the terminal and type or copy/paste:
sudo systemctl status firewalld (enter password when prompted)
Go to Settings > Power and turn on Automatic Suspend.
The recommended time-out value when idle is 30 minutes.
asusctl allows ASUS laptops to switch profiles and the DP connection will only work when set to dedicated mode.
You just installed and configured the LAMP stack for a local developer environment. Now you run a text.php page and instead get an html page, showing you the actual PHP code instead of running it.
Here is the fix. Open a terminal and issue this command:
sudo dnf install httpd php-fpm
Lastly, restart the httpd daemon with: sudo systemctl restart httpd
If you live in a high-rise then it’s better to use an inexpensive network switch and connect each computer with a CAT 6 network cable. This will also give you better transfer speeds.
Yes, that will work fine. Down the road, IPv6 will become necessary but we are not there yet. And as they say “less is more”. There is no harm in leaving it turned on and Gnome has a setting to use it for local network traffic only via Settings > Network > cogwheel > IPv6 tab > check mark at the bottom of the window.
Go to Settings > Network and click the small cog wheel. A new window will pop up. Select IPv4 and check the bottom option “Use this connection only for resources on its network“.
Click on the blue APPLY button to close the window and then toggle the switch beside the cog wheel off and on to restart the network.
Go to Settings > Power and turn off Automatic Suspend.
This way, your computer won’t enter suspend mode although the monitor will turn off while the system accepts SSH access.
Go to Settings > Network and click the little cog wheel. From the popup window, select the IPv4 tab and uncheck the “Use this connection only for resources on its network” option at the bottom of the window. Click the blue APPLY button and lastly restart the network by turning the switch next to the small cog wheel off and then on again.
First, share a Windows directory (like Downloads) and assign the Windows user for access.
From Fedora, open Gnome Files > Other Locations (type): smb/192.168.x.xxx and press ENTER.
Provide your windows user name and password, press CONNECT and you should see the contents of the Windows user directory.
Why I am including Microsoft Windows tips? (after all, there is an “m” in Fedorum)
Error message: You don’t have permission to capture on that device socket: Operation not permitted)
Etherape must be run as root in order to capture network traffic so extreme caution is advised. After installing the application it is also necessary to reboot. To learn more about the options, it’s best to watch
If you install Unreal Engine 5 and get this error “No usable version of libssl was found” then open the terminal and use: sudo dnf install openssl1.1 to install the missing package.
Here is some more information: https://linux-packages.com/fedora-36/package/openssl11x86-64
Disable the touch pad while USB mouse is plugged in:
gsettings set org.gnome.desktop.peripherals.touchpad send-events disabled-on-external-mouse
Enable (revert above comment) touch pad if no USB mouse is detected:
gsettings set org.gnome.desktop.peripherals.touchpad send-events enabled
After installing Fedora and configuring asusctl, you can turn on the backlit keys by pressing Fn + F3.
Every time you press this key combination, the brightness level increases.
To decrease, press Fn + F2.
Featured Quick Tip
How to enable webp support in Fedora 36 (not necessary for Fedora 37)
sudo dnf install webp-pixbuf-loader
The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn.
Alvin Toffler
XAMPP instead of LAMP
Many so called “experts” tell us that the LAMP stack is the way to go. I say the opposite. When you are starting out, use XAMPP and save yourself time and frustration combing trough outdated and incorrect solutions.
The LAMP stack is very good if your profession includes administering website back-end tasks but for casual web designers working with mostly WordPress, XAMPP is hard to beat.
If you still want to install the three individual components then read on.
As a web designer, I constantly need to add new databases and users. Here are some helpful copy/paste commands. To use them, I establish an SSH connection to the server and begin with:
sudo mariadb
CREATE DATABASE ‘yourDB’;
SHOW DATABASES;
CREATE USER ‘a_username’@’localhost’ IDENTIFIED BY ‘a_password’;
Check status: SELECT User FROM mysql.user;
GRANT ALL PRIVILEGES ON . TO ‘a_username’@’localhost’ IDENTIFIED BY ‘a_password’;
FLUSH PRIVILEGES;
SHOW GRANTS FOR ‘a_username’@’localhost’;
To delete a user:
DROP USER ‘username_to_be_deleted’@’localhost’;
For WordPress development, it’s much faster to just use phpMyAdmin. Both, Fedora and openSUSE have great instructions on installing the LAMP stack.
Fedora Server:
openSUSE Server: sudo zypper install apache2
To start, stop and check the server status, use these commands: