<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=-mcalpus</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=-mcalpus"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/-mcalpus"/>
	<updated>2026-05-01T14:33:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=File_management&amp;diff=30574</id>
		<title>File management</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=File_management&amp;diff=30574"/>
		<updated>2025-07-24T08:30:16Z</updated>

		<summary type="html">&lt;p&gt;-mcalpus: Note encrypted device mount, rename automount to gvfs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;File management and storage access in Alpine Linux [[Desktop environments and Window managers|Desktop environments]] involves various components. In Alpine Linux, [[#File managers|file managers]] require additional software packages to:&lt;br /&gt;
&lt;br /&gt;
* Automatically mount removable media&lt;br /&gt;
* Browse storage across shared networks&lt;br /&gt;
* Display and access partitions using different [[Filesystems|filesystems]] with other installed operating systems&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Enable [[Polkit]]&lt;br /&gt;
&lt;br /&gt;
== File managers ==&lt;br /&gt;
&lt;br /&gt;
[https://en.wikipedia.org/wiki/File_manager File managers] are computer programs that provides a user interface to file management i.e manage files and folders. A partial list of file managers available in Alpine Linux is given below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;width:100%; border:1px #0771a6 solid; background:#f9f9f9; text-align:left; border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-style=&amp;quot;background:#333333; color:#ffffff; font-size: 1.2em; text-align:center;&amp;quot;&lt;br /&gt;
|width=&amp;quot;18%&amp;quot; | Tool &lt;br /&gt;
|width=&amp;quot;10%&amp;quot;| Graphical/CLI&lt;br /&gt;
|Brief Notes&lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|caja}} ||Graphical||The file manager for the [[MATE|MATE desktop]]&lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|dolphin}} ||Graphical||File manager for [[KDE]] Plasma desktop &lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|konqueror}} ||Graphical||[[KDE]] File Manager &amp;amp; Web Browser&lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|lf}} ||CLI||Terminal filemanager written in Go with vim-style keybindings&lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|mc}} ||CLI||Filemanager/shell that emulates Norton Commander&lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|nautilus}}||Graphical||[[Gnome|GNOME]] file manager also known as &#039;GNOME Files&#039;&lt;br /&gt;
|-&lt;br /&gt;
|{{Pkg|nemo}} ||Graphical||File manager for Cinnamon desktop environment&lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|nnn}} ||CLI||The unorthodox terminal file manager&lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|pcmanfm}} ||Graphical||Extremely fast and lightweight file manager for LXDE&lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|pcmanfm-qt}} ||Graphical|| Qt port of pcmanfm&lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|ranger}} ||CLI||VIM-inspired filemanager for the console&lt;br /&gt;
|-&lt;br /&gt;
|{{pkg|thunar}} ||Graphical||File manager for [[Xfce]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Disk management ==&lt;br /&gt;
&lt;br /&gt;
Managing disks including removable drives like USB is much easier with [https://www.freedesktop.org/wiki/Software/udisks/ udisks]. Install the {{pkg|udisks2}} package:{{Cmd|# apk add {{pkg|udisks2}}}} &lt;br /&gt;
&lt;br /&gt;
To see the mounted disks:{{Cmd|$ udisksctl status}} &lt;br /&gt;
To mount a disk {{Path|/dev/sdb1}}:{{Cmd|$ udisksctl mount -b /dev/sdb1}}&lt;br /&gt;
{{Note|To mount encrypted devices ensure to have [https://pkgs.alpinelinux.org/package/edge/main/x86/device-mapper device-mapper] and [https://pkgs.alpinelinux.org/package/edge/main/x86/lvm2 lvm2] packages installed. }}&lt;br /&gt;
&lt;br /&gt;
To unmount a disk {{Path|/dev/sdb1}}:{{Cmd|$ udisksctl unmount -b /dev/sdb1}}&lt;br /&gt;
&lt;br /&gt;
== GVfs ==&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.gnome.org/GNOME/gvfs GVfs] is a userspace virtual filesystem implementation for GIO,a library available in GLib. GVfs comes with a set of backends, including trash support, SFTP,SMB, HTTP, DAV, and many others.&lt;br /&gt;
&lt;br /&gt;
Many GUI file managers rely on [https://pkgs.alpinelinux.org/package/edge/community/x86/gvfs-fuse gvfs-fuse] to mount external storage devices&lt;br /&gt;
and [https://pkgs.alpinelinux.org/package/edge/community/x86/gvfs-mtp gvfs-mtp] to mount android devices.&lt;br /&gt;
 &lt;br /&gt;
Depending on what devices you intend to mount, additional packages may be installed from the below list:&lt;br /&gt;
{{Cmd|# apk add \&lt;br /&gt;
    ntfs-3g      \ # Stable, full-featured, read-write NTFS (driver)&lt;br /&gt;
    gvfs-cdda    \ # CDDA support for gvfs&lt;br /&gt;
    gvfs-afp     \ # AFP support for gvfs&lt;br /&gt;
    gvfs-goa     \ # GNOME Online Accounts support for gvfs&lt;br /&gt;
    gvfs-mtp     \ # MTP support for gvfs&lt;br /&gt;
    gvfs-smb     \ # Windows fileshare support for gvfs&lt;br /&gt;
    gvfs-lang    \ # Languages for package gvfs&lt;br /&gt;
    gvfs-afc     \ # Apple mobile devices support for gvfs&lt;br /&gt;
    gvfs-nfs     \ # NFS support for gvfs&lt;br /&gt;
    gvfs-dev     \ # Backends for the gio framework in GLib (development files)&lt;br /&gt;
    gvfs-archive \ # Archiving support for gvfs&lt;br /&gt;
    gvfs-dav     \ # WebDAV support for gvfs&lt;br /&gt;
    gvfs-fuse    \ # FUSE support for gvfs&lt;br /&gt;
    gvfs-gphoto2 \ # gphoto2 support for gvfs&lt;br /&gt;
    gvfs-avahi   \ # DNS-SD support for gvfs}}&lt;br /&gt;
&lt;br /&gt;
To list descriptions of all gvfs- packages:{{cmd|$ apk info -d gvfs-*}}&lt;br /&gt;
&lt;br /&gt;
== Network browsing ==&lt;br /&gt;
&lt;br /&gt;
For browsing of network shares that works seamlessly with file associations, install the gvfs packages for the required network protocols. For example, to browse in a SMB/cifs windows network:{{Cmd|# apk add gvfs-smb}}&lt;br /&gt;
&lt;br /&gt;
The OpenRC script for fuse is in a separate package.{{Cmd|# apk add fuse-openrc}}&lt;br /&gt;
&lt;br /&gt;
Then the fuse service can be started manually. {{Cmd|# rc-service fuse start}}&lt;br /&gt;
&lt;br /&gt;
If the desktop sessions are already in progress, they need to be restarted for the changes to take effect, i.e. log out and log in again. &lt;br /&gt;
&lt;br /&gt;
Test the network browsing with your favourite file manager and if it works, the fuse service can be added to start up automatically at boot time:{{Cmd|# rc-update add fuse}}&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Error due to missing polkit ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Error mounting /dev/sda1: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorized: Not authorized to perform operation (polkit authority not available and caller is not uid 0)&#039;&#039;  &lt;br /&gt;
&lt;br /&gt;
If [[Polkit]] is not available, the above error will occur.  In this case either install and enable [[Polkit]] or using [[Setting up a new user#doas|doas]] is recommended.&lt;br /&gt;
&lt;br /&gt;
[[Category:Storage]]&lt;br /&gt;
[[Category:Desktop]]&lt;/div&gt;</summary>
		<author><name>-mcalpus</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Xorg&amp;diff=30557</id>
		<title>Xorg</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Xorg&amp;diff=30557"/>
		<updated>2025-07-22T17:38:41Z</updated>

		<summary type="html">&lt;p&gt;-mcalpus: Add installation and start session sections&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Xorg is a x.org implementation of X window system.&lt;br /&gt;
It is de-facto standard way to launch graphical applications.&lt;br /&gt;
Its most popular alternative is [https://wiki.alpinelinux.org/wiki/Wayland Wayland]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Can be installed automatically with [https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts#setup-xorg-base setup-xorg-base]&lt;br /&gt;
&lt;br /&gt;
{{Note|ensure you have the necessary video drivers}}&lt;br /&gt;
&lt;br /&gt;
== Start session ==&lt;br /&gt;
&lt;br /&gt;
Xorg can be started via [https://wiki.alpinelinux.org/wiki/Display_manager display manager]&lt;br /&gt;
or manually with command:&lt;br /&gt;
{{Cmd|# startx }}&lt;br /&gt;
&lt;br /&gt;
{{Note| startx is intended to run as user.}}&lt;br /&gt;
&lt;br /&gt;
You may also want per-user configuration:&lt;br /&gt;
{{Cmd|# cp /etc/X11/xinit/xinitrc ~/.xinitrc}}&lt;br /&gt;
&lt;br /&gt;
{{Warning| carefully read the default configuration, it may look for itself to execute, &lt;br /&gt;
which causes terminal to hang!&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Video Drivers ==&lt;br /&gt;
{{Main|Graphics driver}}&lt;br /&gt;
&lt;br /&gt;
To install X11 based [[Desktop environments and Window managers|desktop]], you may want to install specific Xorg xf86 driver packages for your video card&#039;s chipset, as they may support specific features, effects and acceleration modes, and avoid error messages during X initialization. However, the most basic X features should work fine with just using the default kernel video-modesetting drivers. &lt;br /&gt;
&lt;br /&gt;
{{Tip| xf86 driver packages follow standard naming conventions. So information found in  [https://wiki.archlinux.org/title/Xorg#Driver_installation ArchWiki], or [https://packages.gentoo.org/categories/x11-drivers Gentoo wiki] are to a large degree, also applicable to configuring the video hardware on Alpine Linux, except for proprietary drivers which are not available.}}&lt;br /&gt;
&lt;br /&gt;
To see available xf86 video driver packages run:&lt;br /&gt;
{{cmd|$ apk search xf86-video}}&lt;br /&gt;
&lt;br /&gt;
* For Sis video chipset install {{pkg|xf86-video-sis}}&lt;br /&gt;
* For VMware guests use {{pkg|xf86-video-vmware}}&lt;br /&gt;
* For VirtualBox guests use {{pkg|xf86-video-vboxvideo}}. Refer [[VirtualBox_guest_additions|VirtualBox guest additions]]&lt;br /&gt;
* For Hyper-V guests use {{pkg|xf86-video-fbdev}}. Refer [[Hyper-V_guest_services|Hyper-V guest services]].&lt;br /&gt;
* For KVM/QEMU guests refer [[QEMU#Using_Xorg_inside_Qemu|Xorg within QEMU]]&lt;br /&gt;
&lt;br /&gt;
== Input packages ==&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;b&amp;gt;Numlock&amp;lt;/b&amp;gt; settings are not working, or getting &amp;lt;b&amp;gt;&#039;setleds not found&#039;&amp;lt;/b&amp;gt; errors:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add kbd}}&lt;br /&gt;
&lt;br /&gt;
If some input device is not working at all, the available xf86-input drivers can be listed with:&lt;br /&gt;
{{cmd|$ apk search xf86-input}}&lt;br /&gt;
&lt;br /&gt;
You probably at least want {{cmd| xf86-input-libinput}} or {{cmd| xf86-input-evdev}} &lt;br /&gt;
&lt;br /&gt;
libinput is for Wayland with wrapper for Xorg. evdev is Xorg only.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Typical legacy drivers (not packaged. at least as of 2/2022):&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add xf86-input-mouse xf86-input-keyboard}}&lt;br /&gt;
&lt;br /&gt;
And for touchpad tapping support on many laptops, also:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add xf86-input-synaptics}}&lt;br /&gt;
&lt;br /&gt;
== Configure xorg-server (optional) ==&lt;br /&gt;
&lt;br /&gt;
On most systems, xorg should be able to autodetect all devices. However you can still configure xorg-server by hand by launching:&lt;br /&gt;
{{Cmd|# Xorg -configure}}&lt;br /&gt;
This will create a {{Path|/root/xorg.conf.new}} file. You can modify this file to fit your needs.&amp;lt;BR&amp;gt;&lt;br /&gt;
(When finished modifying and testing the above configuration file, move it to {{Path|/etc/X11/xorg.conf}} for normal usage.)&lt;br /&gt;
&lt;br /&gt;
== Keyboard Layout (optional) ==&lt;br /&gt;
&lt;br /&gt;
If you use a keyboard layout different than &amp;quot;us&amp;quot;, and you are using a window manager or desktop environment that does not support to configure the keyboard layout itself, then you need to&lt;br /&gt;
&lt;br /&gt;
* [[Repositories#Enabling_the_community_repository|Enable the &amp;quot;community&amp;quot; repository]]&lt;br /&gt;
&lt;br /&gt;
and install setxkbmap:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add setxkbmap}}&lt;br /&gt;
&lt;br /&gt;
Then try&lt;br /&gt;
{{Cmd|# setxkbmap &amp;lt;%a language layout from /usr/share/X11/xkb/rules/xorg.lst%&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to make it persistent add this section to {{Path|/etc/X11/xorg.conf}}:&lt;br /&gt;
{{Cmd|Section &amp;quot;InputClass&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Keyboard Default&amp;quot;&lt;br /&gt;
	MatchIsKeyboard	&amp;quot;yes&amp;quot;&lt;br /&gt;
	Option		&amp;quot;XkbLayout&amp;quot; &amp;quot;&amp;lt;%a language layout from /usr/share/X11/xkb/rules/xorg.lst%&amp;gt;&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Another way to change the keymap when logging into X is to use {{Path|~/.xinitrc}}.  The following example loads a British keymap, simply add this line to the beginning of the file:&lt;br /&gt;
&amp;lt;code&amp;gt;setxkbmap gb &amp;amp;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to create the {{Path|~/.xinitrc}} file, you may also want to add a second line like &amp;lt;code&amp;gt;exec openbox-session&amp;lt;/code&amp;gt; to still start the window manager with &amp;lt;code&amp;gt;startx&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;xinit&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:Graphics]]&lt;br /&gt;
[[category: Drivers]]&lt;br /&gt;
[[category: Desktop]]&lt;/div&gt;</summary>
		<author><name>-mcalpus</name></author>
	</entry>
</feed>