Symptom: – Your default File Manager is e.g. Thunar but Firefox uses Nautilus when saving files which is driving you bananas. Solution (for XFCE): 1. Firstly make sure that your default Applilcation for that particular mime type (in this case it is the ‘inode/directory’ mime type) is actually setup properly. Open the “Preferred Applications” applet […]
X Window System
Tips and tricks related to configuring Linux’s GUI (the X Window System)
XWindow: How to find my window PID… (command line arguments/working directory)?
Summary: To find the PID of a running UNIX/XWindow process: $ xprop _NET_WM_PID If that fails: $ ps -ww -fp <PID> $ pwdx <PID> Detailed explanation: So How can you find the PID (not Window ID!) of a running UNIX/XWindow process? Method 1 (simple): $ xprop _NET_WM_PID … and then click on window of interest […]
Adding actions to Thunar’s “Send to” context menu (xfce)
Using Kdiff3 tool as example action to add to the SendTo menu of Thunar. Create the following file in ~/.local/share/Thunar/sendto and name it <whatever>.desktop (I named mine ‘kdiff3.desktop’) : # kdiff3.desktop – Integrate kdiff3 into # the “Send To” menu. [Desktop Entry] Type=Application Version=1.0 Encoding=UTF-8 TryExec=kdiff3 Exec=kdiff3 %F Icon=kdiff3 Name=Kdiff3 # MimeType=text/plain; The MimeType […]
How to edit the XFCE “Start” menu
Find the files in ~/.local/share/applications OR Download and install lxmed. However lxmed was not designed originally for the XFCE menu and so it does not see some of the menu entries and generally speaking does not always work. … and why the otherwise awesome XFCE has no standard menu editor out of the box — […]
Fixing wrong Shift+Numpad (keypad) behaviour in Emacs
I struggled for a about an hour today with S-kp-home trying to bind it to something that would work properly in emacs (i.e select the text between cursor and start of line) before I figured out that although the problem manifested itself in Emacs, it is really due to the way Xwindows maps the Shift+Home/End… […]
Lost window decorations in XFCE!
Yep, that happens from time to time – you start XFCE and you notice that all the window decorations are lost and your windows look like this: Luckily fixing this is pretty easy. To get back your window decorations simply delete all the files in ~/.cache/sessions! 🙂 There is also directories in there – do […]
How to disable Linux FC graphical boot (start in text mode)
For those of you wondering how to make Fedora Linux boot into text mode – here’s how to disable the graphics boot/login screen: If you are running an older distribution you need to edit the file /etc/inittab (must be root) and change id:5:initdefault: to id:3:initdefault: If you are running a NEWER distribution can […]
How do I add/remove/edit items in my WindowMaker menu?
The wmaker menu (the list which appears when you right-click on the desktop) is stored as a text file in ~/GNUstep/Default/WMRootMenu. Edit it with your favoruite editor to add new menu items to your Window Maker menu.
Desktop points to user’s home folder (~) in Fedora
Usually this problem means that the var XDG_DESKTOP_DIR got somehow set to $HOME instead of “$HOME/Desktop”… FIX: Edit the file ~/.config/user-dirs.dirs and fix it: XDG_DESKTOP_DIR=”$HOME/Desktop” … typically this file should look like this: XDG_DESKTOP_DIR=”$HOME/Desktop” XDG_DOWNLOAD_DIR=”$HOME/Download” XDG_TEMPLATES_DIR=”$HOME/Templates” XDG_PUBLICSHARE_DIR=”$HOME/Public” XDG_DOCUMENTS_DIR=”$HOME/Documents” XDG_MUSIC_DIR=”$HOME/Music” XDG_PICTURES_DIR=”$HOME/Pictures” XDG_VIDEOS_DIR=”$HOME/Videos”
How to write an ISO image with XCDRoast…
It may sound like a dumb question, since X-CD-Roast is a GUI tool for writing files and images, but it’s logic is so user-unfriendly and unnatural that in reality it’s not at all simple to create a CD or DVD from ISO using this app. Ok, so how do you write an ISO image with […]