Different users can have different settings
The root /1/ has own settings. You could change the root's settings by starting the System Settings with the command:
kdesudo systemsettings
Root's gtk apps
As default the root's folder doesn't have the link to the oxygen-gtk.
To fix this you need to copy the hidden file .gtkrc-2.0-kde4 (note the dot !) from your home directory to the /root/ with name .gtkrc-2.0 (note the dot !) /2/, /3/.
Command line:
sudo cp .gtkrc-2.0-kde4 /root/.gtkrc-2.0
If you have the Root Actions Servicemenu /4/ installed you could use it to copy and rename.
System's default mouse theme (KDM cursor)
The Debian and the Debian based are using the alternatives /5/ to set the environmental variables.
:~$ man update-alternatives /6/
NAME
update-alternatives - maintain symbolic links determining default commands
SYNOPSIS
update-alternatives [options] command
DESCRIPTION
update-alternatives creates, removes, maintains and displays
information about the symbolic links comprising the Debian alternatives
system.
It is possible for several programs fulfilling the same or similar functions
to be installed on a single system at the same time.
To set the cursor theme with the alternatives command line:
sudo update-alternatives --config x-cursor-theme
With KDE gui:
Package: kalternatives /7/ - graphical alternatives system configuration tool
More: Change system default X11 cursor theme /8/.
Sometimes
Quote: "Sometimes, in KDE applications under my ordinary user, fonts spontaneously change to Ubuntu font - why this happens and how can I avoid it?"
Yes, I have noticed this. Why - beats me. The Kubuntu is resetting to the default Kubuntu settings (/usr/share/kubuntu-default-settings/kde4-profile/default/share/config/)
To fix this i have edited the Kubuntu defaults: /usr/share/kubuntu-default-settings/kde4-profile/default/share/config/kdeglobals.
Default Kubuntu kdeglobals has:
[General]
BrowserApplication[$e]=!rekonq
XftHintStyle=hintmedium
font=Ubuntu,9,-1,5,50,0,0,0,0,0
menuFont=Ubuntu,9,-1,5,50,0,0,0,0,0
desktopFont=Ubuntu,9,-1,5,50,0,0,0,0,0
toolBarFont=Ubuntu,8,-1,5,50,0,0,0,0,0
smallestReadableFont=Ubuntu,8,-1,5,50,0,0,0,0,0
taskbarFont=Ubuntu,9,-1,5,50,0,0,0,0,0
Looking my own kdeglobals: ~/.kde/share/config/kdeglobals and copying them to the defaults. Here:
[General]
BrowserApplication[$e]=!rekonq
XftHintStyle=hintmedium
font=Sans Serif,9,-1,5,50,0,0,0,0,0
menuFont=Sans Serif,9,-1,5,50,0,0,0,0,0
desktopFont=Sans Serif,9,-1,5,50,0,0,0,0,0
toolBarFont=Sans Serif,8,-1,5,50,0,0,0,0,0
smallestReadableFont=Sans Serif,8,-1,5,50,0,0,0,0,0
taskbarFont=Sans Serif,9,-1,5,50,0,0,0,0,0
Links:
- https://help.ubuntu.com/community/RootSudo
- http://forum.kde.org/viewtopic.php?f=63&t=62352
- http://kubuntuforums.net/forums/index.php?topic=3092288.msg201654#msg201654
- http://kde-apps.org/content/show.php/Root+Actions+Servicemenu?content=48411
- http://www.debian-administration.org/articles/91
- http://en.wikipedia.org/wiki/Man_page
- http://packages.ubuntu.com/oneiric/kalternatives
- http://kubuntuforums.net/forums/index.php?topic=3112235.0
I am not sure this is exactly what is asked. I will be posting on
how to make Firefox downloads list open a file in a desired application.
Some newly installed applications take over the "default" status in Firefox's about:preferences
instead of the per-filetype normal application set at system level (e.g. Palemoon takes over as default instead of gwenview for JPEG files, Inkscape or File Roller takes over instead of Okular for a PDF file.).
"Always ask" is the choice that should be used in this case and then trying to create a per-user file ~/.local/share/applications/mimeinfo.cache
with the lines:
[MIME Cache]
application/pdf=okularApplication_pdf.desktop
The disadvantage of the above is that it is a per-file-type setting. To have a solution for all files (as said in this answer), run:
cd .local/share/applications/
ln -s mimeapps.list defaults.list
In case this stops working: see that the undesired application is not again selected under about:preferences
: be sure "Always ask" is selected there. Setting manually a different program (even the default for your file-type at system level, but which is not marked as "default" in the list for your file under about:preferences
) might not work.
Tested in Firefox 60.0 in Kubuntu 18.04.
Best Answer
The first thing when you install KDE Distro is to install gtk3-engines-oxygen.
Then re-apply gtk settings in System Settings/Application Appearance/GTK
re-select a GTK2 Theme: oxygen-gtk
re-select a GTK3 Theme: oxygen-gtk
and click apply...
Then every program include Firefox should appear correctly.