This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:fedora_tips [2016/10/06 11:49] – [Dropbox] jansen | linux:fedora_tips [2019/03/20 09:53] – [Cache directory ; XDG basedir standards] jansen | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Useful tips for Fedora and its applications. Most of these tips apply to Fedora in general, but some are specific to the Sterrewacht | + | Useful tips for Fedora and its applications. Most of these tips apply to Fedora in general, but some are specific to our environment and the software we have installed on our systems. |
==== Media players , audio cds and dvds ==== | ==== Media players , audio cds and dvds ==== | ||
---- | ---- | ||
By default, Fedora installs some media players that can hardly play any media. This is because of software patents and other restrictions which do not apply here. So, we have other media players available and you can select one that works. | By default, Fedora installs some media players that can hardly play any media. This is because of software patents and other restrictions which do not apply here. So, we have other media players available and you can select one that works. | ||
- | Go to the menu " | + | Go to the menu " |
Audio cd:'' | Audio cd:'' | ||
Line 13: | Line 13: | ||
Video dvd:'' | Video dvd:'' | ||
- | Or execute these commands: | ||
- | gconftool-2 --set / | ||
- | gconftool-2 --set / | ||
- | |||
- | Another good choice for media is VLC | ||
In the same preferences window, under " | In the same preferences window, under " | ||
- | To select in more detail which player to use to play media files from disk (eg if you want a certain media player for MP3s and another for other audio formats), right-click on the file in the nautilus file manager and select " | + | To select in more detail which player to use to play media files from disk (eg if you want a certain media player for MP3s and another for other audio formats), right-click on the file in the nautilus file manager and select " |
===== Keyboard settings ===== | ===== Keyboard settings ===== | ||
Line 71: | Line 66: | ||
You can also check, if earlier versions of Gimp left behind their directories, | You can also check, if earlier versions of Gimp left behind their directories, | ||
- | ===== XDG basedir standards ===== | + | ===== Cache directory ; XDG basedir standards ===== |
---- | ---- | ||
- | A lot of programs are using the (relatively new) freedesktop | + | A lot of programs are using the Freedesktop |
However, the data and cache parts can become quite big, causing two problems: quota usage on the home disk, and performance loss (since the home disk is remote, and this can cause lots of read and write access). | However, the data and cache parts can become quite big, causing two problems: quota usage on the home disk, and performance loss (since the home disk is remote, and this can cause lots of read and write access). | ||
- | Now the XDG standard provides a mechanism to move those files to another location, and we suggest users move them to one of their local data disks. We also provide a script that takes care of the environment setup, but selecting a location and moving the files is something you have to do yourself. | + | Now the XDG standard provides a mechanism to move those files to another location, and we suggest users move them to one of their local data disks. We also provide a script |
- | Follow these steps to get started: | + | |
+ | A quick solution (shown here just for the cache), is to move the cache to a data disk and link to that location: | ||
+ | |||
+ | mv ~/.cache / | ||
+ | ln -s / | ||
+ | |||
+ | a more complete setup works like this: | ||
- close programs that may have files open in the XDG directories. This is especially important for Evolution (mail client). | - close programs that may have files open in the XDG directories. This is especially important for Evolution (mail client). | ||
- | - Run ' | + | - Run '[[sfinx-xdg]]' with the path where you want to store the files. Default is / |
- If the specified directory doesn' | - If the specified directory doesn' | ||
- | - Set the environment in your current shell, and move the existing files to their new locations: | + | - If your setup includes moveing application data, set the environment in your current shell, and move the existing files to their new locations |
- | eval `sfinx-xdg` | + | |
- | mv ~/.cache/* $XDG_CACHE_HOME/ | + | eval `sfinx-xdg` |
mv ~/ | mv ~/ | ||
+ | |||
- Log out, and on your next login, all programs should find their data and cache in the new location. | - Log out, and on your next login, all programs should find their data and cache in the new location. | ||
- Witness the increase in performance, | - Witness the increase in performance, | ||
Line 103: | Line 105: | ||
* Next to the item " | * Next to the item " | ||
* Next, remove the files already created. Akonadi takes approx 140 MB in '' | * Next, remove the files already created. Akonadi takes approx 140 MB in '' | ||
+ | * There is also '' | ||
=====GNOME/ | =====GNOME/ | ||
- | GNOME and Cinnamon desktops have a program '' | + | GNOME and Cinnamon desktops have a program '' |
* First disable the program in your list of startup applications | * First disable the program in your list of startup applications | ||
* Remove directory '' | * Remove directory '' | ||
+ | For some reason, '' | ||
+ | balooctl disable | ||
+ | |||
+ | See also [[modify desktop session]] | ||
+ | |||
+ | ===== Evolution ===== | ||
+ | Evolution is a mail/ | ||
+ | |||
+ | systemctl --user daemon-reload | ||
+ | systemctl --user disable --now evolution-source-registry | ||
+ | systemctl --user disable --now evolution-calendar-factory | ||
+ | systemctl --user disable --now evolution-addressbook-factory | ||
+ | |||
+ |