Archive of software notes
This page attempts to organize tips that are too small for their own page. Created on Wednesday, October 27.
Contents
- Access Samba shares from Thunar Fri Jan 14 2022
- Force dark theme in Firefox Fri Jan 14 2022
- How to type in Farsi on Linux Wed Oct 27 2021
- How to find app-ids in Wayland Sat Oct 30 2021
Access Samba shares from Thunar 🔗
If you deployed a Samba server so that Windows computers could access files on a
Linux server (or for any other reason), you can also view these files from a
graphical Linux file manager. In addition the Thunar file manager, I installed
gvfs
and gvfs-smb
(on Arch Linux).
This added the smb://
functionality to Thunar.
I was able to browse to smb://nas/share
and add a shorcut.
Force dark theme in Firefox 🔗
- Visit about:config in the url bar.
- In the search box, type ui.systemUsesDarkTheme
- Click the Number radio button below the search box.
- Press the plus (+) on the far right side.
- Set the value to 1 and press enter.
How to type in Farsi on Linux 🔗
Install emacs
. I use vim to edit text, but emacs has this feature out of the box. On most distributions, the package should simply be called emacs
.
For example:
# pacman -S emacs
# apt install emacs
Once you have emacs open, press CTRL + \ (control plus backwards slash) to
select an input method. Type farsi
and press TAB to see what options are
available to you. I used farsi-isiri-9147
.
Now you should be able to type in Farsi. I wish you well in your learning!
!خداحافظ
Note: a more permanent solution may be IBus. I am going to try to implement IBus, and will update this article.
How to find app-ids in Wayland 🔗
On my laptop, I have been enjoying the River tiling window manager for Wayland. I use bspwm on my desktop, but I experience occasional visual hiccups. Wayland just feels smooth, and River’s tiling is well-implemented.
A problem is that there is very little content online about this setup, so I often turn to irc for help. Recently, I wanted to set special rules for certain applications to float instead of tile.
Solution
There is a program called lswt
that
can provide this information. It lists all windows and their app-ids.