Showing posts with label Fedora. Show all posts
Showing posts with label Fedora. Show all posts

Thursday, July 16, 2026

Thursday, April 16, 2026

Distrobox with systemd: "save as" does not work in chromium and brave

If "save as" window does not work in chromium and brave executed in distrobox, this maybe because, container's systemd hijacked debus from the host. Thus you can disable it in the container and restart the container:
systemctl --user mask dbus.socket dbus-broker.service
systemctl --user stop dbus.socket dbus-broker.service

In my case I was using fedora 43 in the container, on gentoo host running systemd and xfce4 (x11). The XDG portal (xdg-desktop-portal-gtk) on host was installed and running.

Monday, April 13, 2026

Sunday, April 12, 2026

fedora: krusader can't change default application to open files.

Could not find the "keditfiletype" executable in PATH. Install: sudo dnf install keditfiletype

Saturday, April 11, 2026

Fedora 43: Install latest foxitreader

Download latest version (FoxitReader.enu.setup.2.4.5.0727). Foxitreader is no longer maintained, so this is the oldest version.
wget https://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/2.4/en_us/FoxitReader.enu.setup.2.4.5.0727.x64.run.tar.gz
tar xzvf FoxitReader*.tar.gz
chmod +x ./"FoxitReader.enu.setup.2.4.5.0727(rb70e8df).x64.run"
sudo ./"FoxitReader.enu.setup.2.4.5.0727(rb70e8df).x64.run"
Follow the prompts.

gentoo with xfce4: krusader does not start from distrobox

kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "No jobs" msgid_plural: "" msgctxt: ""

Authorization required, but no authorization protocol specified

10:26:41.584-warning qt.qpa.xcb unknown@0 # could not connect to display :0.0 10:26:41.584-warning qt.qpa.plugin unknown@0 # From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. 10:26:41.584-info qt.qpa.plugin unknown@0 # Could not load the Qt platform plugin "xcb" in "" even though it was found. 10:26:41.584-fatal default unknown@0 # This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, wayland-brcm, wayland-egl, wayland, vkkhrdisplay, vnc, offscreen, xcb, minimalegl, eglfs, minimal.

install xhost in gentoo host: sudo emerge x11-apps/xhost
and allow access to display: xhost +
now can enter the fedora distrobox

Monday, January 26, 2026

Bazzite (Fedora atomic): install virtualbox on Bazzite custom image

Bazzite has rpm fusion repositories added in /etc/yum.repos.d/. However, even though they are enabled, by default you can't install any packages from them. You can force the use of the RPM repo as follows:

sudo dnf --enablerepo=rpmfusion-free install virtualbox
This will still NOT install the virtualbox in atomic fedora as its read-only system. But can be useful for building custom atomic images which would contain the virtualbox or other packages.

Example of how the virtualbox can be installed in a custom image of Bazzite is here:
https://github.com/ettfemnio/bazzite-virtualbox

distrobox: Basic programs for archlinux and fedora in distrobox

yay --noconfirm -S mc vim fish htop tmux fd zoxide fzf terminator freerdp rdesktop bash-completion firefox firefox-developer-edition brave-bin vscodium-bin libreoffice-fresh gwenview okular wine krusader krename kdiff3 konsole sshfs xarchiver xdg-desktop-portal-kde tigervnc fluxbox rofi xterm xorg-xeyes vlc mpv vlc-plugins-all chromium ipython librewolf-bin go python-uv gimp ttf-roboto otf-font-awesome rar p7zip octave ebook-tools kdegraphics-mobipocket gnome-boxes qt6-imageformats kimageformats curl wget foxitreader thunar npm kate

sudo dnf -y install --skip-unavailable vim firefox brave-browser krusader krename konsole kate keditfiletype kdiff3 chromium okular vlc htop tmux mc fish go python-uv codium unrar p7zip nvtop glx-utils xfreerdp rdesktop tigervnc libreoffice gwenview wine sshfs xarchiver xdg-desktop-portal-kde mpv gnome-boxes curl wget fzf zoxide terminator fontawesome-fonts-all librewolf gimp thunar octave yazi nodejs kwrite firefox-devedition Note: Will have to add custom repos to fedora for firefox-dev, brave-browser, codium and rpmfusion for codeks

Wednesday, November 05, 2025

distrobox fedora with systemd

distrobox create --nvidia -i quay.io/fedora/fedora:43 -n fbox -H ~/home-fbox --init --additional-packages "systemd"
https://distrobox.it/compatibility/#Host-Distros

Friday, July 19, 2024

Fedora LXQT autologin

Edit /etc/sddm.conf
Add

[Autologin]
User=USERNAME
Session=DENAME.desktop
Relogin=false

where DENAME must be replaced with the name of one of the files found under /usr/share/xsessions/ or /usr/share/wayland-sessions/
More at : https://wiki.debian.org/SDDM#Enable_autologin

Saturday, March 07, 2015

Fedora 21: VirtualBox additions

su -
dnf update kernel*

dnf install kernel-headers kernel-devel dkms make bzip2 perl and reboot.
Optinally (usually not needed) KERN_DIR=/usr/src/kernels/`uname -r`

Saturday, February 28, 2015

Fedora 21: to do after install

dnf install @xfce-desktop
dnf upgrade
su -c "curl https://satya164.github.io/fedy/fedy-installer -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"
dnf install terminator vim mc htop git bless okular chromium-browser krusader krename kdiff3 vnc4server gimp boost-devel yumex gcc-c++ ImageMagick ImageMagick-devel ImageMagick-c++-devel python3-matplotlib python3-ipython python3-scipy kernel-devel kernel-headers dkms make bzip2 perl eqlipse-pydev python3-devel python-devel kate ufraw imagej kde-baseapps
vim etc/gdm/custom.conf

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=mz2



sudo grub2-set-default "Windows Vista (loader) (on /dev/sdb1)"

Friday, February 13, 2015

Wednesday, December 24, 2014

terminator: windows size and position

Example of a confing file: ~/.config/terminator/config


[global_config]
[keybindings]
[profiles]
  [[default]]
    use_system_font = False
    font = Monospace 12
    background_image = None
[layouts]
  [[default]]
    [[[child1]]]
      profile = default
      type = Terminal
      parent = window0
    [[[window0]]]
      type = Window
      parent = ""
      position = 1110:1043
      size = 1300, 450 

[plugins]

Monday, December 07, 2009

Easy installation of Microsoft Office 2007 in Fedora 12 using Wine

As far as I'm concerned, the only thing that forces me to use Windows or Mac from time to time is lack of Microsoft Office World, Excel and PowerPoint 2007 in Linux. In the web you can find info how to install it using wine in Ubuntu, but I could not find much about Fedora, especially Fedora 12. Here I present my experience of installing Office 2007 in Fedora 12. I must admit though, the what I'm going to write is based on my memory, so please feel free to comment if I skipped or made some mistakes.

First thing that we need to do is to install wine (in fedora 12 it is wine-1.1.32-1) sudo yum install wineNow we can install Microsoft Office 2007 from CD. I used Microsoft Office 2007 Enterprise and I install only Word, Excel and PowerPoint and some default common office tools. For the installation I did not had to do any tweaking of wine, or did not had to use winetricks to download any additional dlls!

After the installation, I could start Word and Excel, but not PowerPoint. Also Equation editor in Word did not work, since the windows with default equation formulas were empty!

To fix it, it was necessary to go to Libraries in winecfg and in "New override for library" select usp10 and then set it to native as seen below:


This was enough to make equations work and also enough to start PowerPoint, though I'm not sure of the former.

I also tried to install Microsoft Office 2007 Service Pack 2, but without success. To install this service packed I tried installing some stuff from winetricks, changing some dlls from build in to native, but nothing seemed to work.

In concussion, to install and run Microsoft World 2007, Excel 2007 and PowerPoint 2007 nothing special was necessary. Just install wine from repositories, and set usp10 library to native in winecfg window. However, as I said at the beginning I'm writing this from my memory and I hope I did not skip something. Nevertheless, I think this post might be useful to other Linux users.

Sunday, December 06, 2009

Installing xdebug in xampp (lampp) on fedora 12

xdebug is a PHP extension for powerful debugging. It supports stack and function traces, profiling information and memory allocation and script execution analysis.

By default xampp-linux-1.7.1 does not come with this extension. Therefore, it is necessary to install it.

First, assuming that there is already xampp-linux-1.7.1 installed in /opt/lampp it is necessary to download xampp development package. In my case it was xampp-linux-devel-1.7.1.tar.gz and unpack it
su
tar xvfz xampp-linux-devel-1.7.1.tar.gz -C /opt


Second, install autoconf package (as a root) yum install autoconf


Thrid, xdebug can be installed (as a root)/opt/lampp/bin/pecl install xdebugIf compilation was successful you should get Build process completed successfully
Installing '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so'
install ok: channel://pecl.php.net/xdebug-2.0.5
configuration option "php_ini" is not set to php.ini location
You should add "extension=xdebug.so" to php.ini
Finally, localization of xdebug.so should be added to php.ini. In my case, xdebug.so was in opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/. This extension should be added using "zend_extension" and not "extension", therefore, you should ignore the prompt about adding "extension=xdebug.so" to php.ini. Hance, add the following line to /opt/lampp/etc/php.ini restart your lampp server
zend_extension="/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so"
If everything went wine, using phpinfo() you should get: