Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

-1 votes
2 answers
60 views
Fedora "Files" app gives wrong "Detailed Type" description
I'm on Fedora 41 (Gnome 47). I installed Foxit Reader to read PDFs, didn't like it, and uninstalled it. Now, the `Detailed Type` description in the `Files` program for all PDF documents is `FoxitReader Document`. [![Screenshot of the Files application showing the wrong Detailed Type][1]][1] How do I...
I'm on Fedora 41 (Gnome 47). I installed Foxit Reader to read PDFs, didn't like it, and uninstalled it. Now, the Detailed Type description in the Files program for all PDF documents is FoxitReader Document. Screenshot of the Files application showing the wrong Detailed Type How do I remove this reference to Foxit Reader?
Ari Cooper-Davis (121 rep)
Mar 18, 2025, 03:44 PM • Last activity: Mar 19, 2025, 09:52 AM
3 votes
2 answers
3895 views
Config files for mime settings
I have an Aweseome-wm + xfce system. Where does `xfce4-mime-settings` stores its values? In particular as regards default apps. The GUI values are different for me from those on `~/.config/mimeapps.list` and they have precedence over the latter. Some defaults programs are stored in: ~/.config/xfce4/...
I have an Aweseome-wm + xfce system. Where does xfce4-mime-settings stores its values? In particular as regards default apps. The GUI values are different for me from those on ~/.config/mimeapps.list and they have precedence over the latter. Some defaults programs are stored in: ~/.config/xfce4/helpers.rc /etc/xdg/xfce4/helpers.rc But that does not include PDF types.
antonio (1533 rep)
Mar 22, 2019, 10:42 AM • Last activity: Jan 19, 2025, 03:47 AM
0 votes
0 answers
30 views
gnome3 desktop application show up in activities overview but not in default applications
I have two identical systems running both debian bullseye with gnome3 (3.38.5) and I wanted to add bettebird as my default application for mails. I've created a desktop file in `~/.local/share/applications` on system 1 and everything works fine on system 1 - I can select betterbird as the default ma...
I have two identical systems running both debian bullseye with gnome3 (3.38.5) and I wanted to add bettebird as my default application for mails. I've created a desktop file in ~/.local/share/applications on system 1 and everything works fine on system 1 - I can select betterbird as the default mail program... I've copied this file to system 2 and betterbird does show up in the activities overview, however, in the 'default application' settings it's not visible. I'm really puzzled & running out of ideas how I can fix this. What I checked/tried after googling for a long time but no success: - Icon & Exec are correct (I can start Betterbird from activities menu) - I have other custom desktop files in ~/.local/share/applications/ and they do work - I changed rights from 644 to 755 (though other desktop files in ~/.local/share/applications do have 644 and do work...) -> no luck of course - I copied thunderbird.desktop from /usr/share/applications to my local folder & adapted entries/renamed file accordingly -> no luck - I tried to open a file with betterbird from my file explorer (nautilus) but Betterbird is also not available from the application list Any ideas how to proceed?
Chris (11 rep)
Nov 27, 2024, 03:45 PM
0 votes
1 answers
42 views
How to rebuild "~/.local/share" after switching distributions
I recently switched from Ubuntu LTS to Debian 12 bookworm. I'm having issues with default application settings so would like to create a 'fresh' `~/.local/share` (or perhaps even better `~/.local`) folder that matches the apps in bookworm, but if I look in `/etc/skel/`, there's no `.local/` folder....
I recently switched from Ubuntu LTS to Debian 12 bookworm. I'm having issues with default application settings so would like to create a 'fresh' ~/.local/share (or perhaps even better ~/.local) folder that matches the apps in bookworm, but if I look in /etc/skel/, there's no .local/ folder. I can someone help me understand how the .local folder is generated and/or updated?
mikemtnbikes (241 rep)
Oct 30, 2024, 12:15 PM • Last activity: Oct 30, 2024, 12:55 PM
6 votes
1 answers
857 views
Automatic generation of mimeapps.list database
In a previous [question](https://unix.stackexchange.com/q/507943/44919) I enquired about manually setting default applications for different mime types. Other than use tools one among [several tools](https://wiki.archlinux.org/index.php/default_applications#Resource_openers), it boiled down to add a...
In a previous [question](https://unix.stackexchange.com/q/507943/44919) I enquired about manually setting default applications for different mime types. Other than use tools one among [several tools](https://wiki.archlinux.org/index.php/default_applications#Resource_openers) , it boiled down to add an entry to ~/.config/mimeapps.list, which overrides system wide settings cached in /usr/share/applications/mimeinfo.cache. YMMV depending on your system [XDG Base Directory](https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.7.html) settings and compliance. Our distros usually sport a large mimeapps.list (more than 50 lines in my case). While there are (GUI) tools to add/modify single entries, I didn't find any standard procedure and/or tool to automatically generate the whole mimeapps.list database. If I delete mimeapps.list and install new applications, it is not rebuilt. So, _what process generates mimeapps.list?_
antonio (1533 rep)
Jul 5, 2019, 01:30 PM • Last activity: Aug 9, 2023, 08:47 AM
1 votes
1 answers
559 views
Where does xfce4-screenshooter save by default?
I did a screenshot and also saved it, but I'm unable to figure out where it is. Looking into [the official docs](https://docs.xfce.org/apps/xfce4-screenshooter/usage) didn't tell me more and I also didn't find something quickly searching both the SE network and the whole internet. So this Q/A might...
I did a screenshot and also saved it, but I'm unable to figure out where it is. Looking into [the official docs](https://docs.xfce.org/apps/xfce4-screenshooter/usage) didn't tell me more and I also didn't find something quickly searching both the SE network and the whole internet. So this Q/A might provide an answer to the next person to be in the same situation. To reproduce run xfce4-screenshooter, select anything enter image description here and click on Open with a program. enter image description here I chose *Gnome Paint Drawing Editor*, but this program also didn't (easily) tell me the location of the file. I failed save as but need the file.
Cadoiz (298 rep)
Feb 14, 2023, 01:10 PM • Last activity: Feb 14, 2023, 02:13 PM
0 votes
0 answers
217 views
How to switch from root to my unix user and solve (code .) command issue?
When I open ubuntu(wsl) on windows , usually, it opens as karim_123 user and not as root user. But this time it opened as a root user. How can I return back to my unix linux account(karim_123)? I used **su - karim_123** command but when I close the terminal and reopen it, it opens as root user again...
When I open ubuntu(wsl) on windows , usually, it opens as karim_123 user and not as root user. But this time it opened as a root user. How can I return back to my unix linux account(karim_123)? I used **su - karim_123** command but when I close the terminal and reopen it, it opens as root user again so I have to switch back to my user(karim_123) every time I open ubuntu terminal. Additionally, I’m not capable of using **code .** command anymore to open my files in VS code. So it is very annoying and I can’t work on my projects!
Karim (1 rep)
Sep 22, 2022, 07:14 PM
-1 votes
1 answers
629 views
Setting Default Applications without a Desktop Environment
Since [Awesome Window Manager][1] is mainly a window manager, and not quite a full desktop environment, I don't know how to manage the concept of **default applications**. Without a desktop environment installed, where do I go to configure which web-browser gets launched upon clicking a hyperlink wi...
Since Awesome Window Manager is mainly a window manager, and not quite a full desktop environment, I don't know how to manage the concept of **default applications**. Without a desktop environment installed, where do I go to configure which web-browser gets launched upon clicking a hyperlink within an application that simply expects my environment to provide a default web browser for servicing URL clicks?
Lonnie Best (5415 rep)
Jan 17, 2022, 01:34 PM • Last activity: Jan 17, 2022, 04:03 PM
10 votes
3 answers
8628 views
How to set downloaded Firefox to default web browser in Debian?
How do I set a manually downloaded Firefox as my default web browser so that clicking a link in another application will open the link in this Firefox? I tried these commands, but they didn't seem to work: update-alternatives --install /usr/bin/x-www-browser x-www-browser /home/user/firefox/firefox...
How do I set a manually downloaded Firefox as my default web browser so that clicking a link in another application will open the link in this Firefox? I tried these commands, but they didn't seem to work: update-alternatives --install /usr/bin/x-www-browser x-www-browser /home/user/firefox/firefox 100 update-alternatives --set x-www-browser /home/user/firefox/firefox What do I have to do?
Chalist (417 rep)
Aug 27, 2012, 12:25 AM • Last activity: Feb 26, 2021, 07:14 PM
1 votes
0 answers
1327 views
How do I unset my default xdg browser?
I want to debug a program's behaviour when the user has no default web browser set, but I'm not sure how I'd return to this state after setting one. I know that I can **set** my default browser via `xdg-settings set default-web-browser `, but what if I want to unset it, i.e., make it so that I don't...
I want to debug a program's behaviour when the user has no default web browser set, but I'm not sure how I'd return to this state after setting one. I know that I can **set** my default browser via xdg-settings set default-web-browser , but what if I want to unset it, i.e., make it so that I don't have a default browser? So far I've tried running $ xdg-settings set default-web-browser '' Which resulted in xdg-settings: no parameter value given I also tried $ xdg-settings set default-web-browser ' ' Which resulted in xdg-settings: invalid application name I'm using a minimal installation of Alpine Linux running i3 in X.Org.
Newbyte (1380 rep)
Nov 22, 2020, 08:49 AM • Last activity: Nov 22, 2020, 01:29 PM
6 votes
2 answers
6223 views
How can I set default application for unknown file on xdg-open / mimeopen?
On my Lubuntu (18.10), `xdg-open` launches VLC Player when the file is not associated to any applications. $ xdg-mime query filetype jquery.js application/javascript $ xdg-mime query default application/javascript # no output $ xdg-open jquery.js Error: no "view" mailcap rules found for type "applic...
On my Lubuntu (18.10), xdg-open launches VLC Player when the file is not associated to any applications. $ xdg-mime query filetype jquery.js application/javascript $ xdg-mime query default application/javascript # no output $ xdg-open jquery.js Error: no "view" mailcap rules found for type "application/javascript" Opening "/tmp/jquery.js" with VLC media player (application/javascript) On some files, it launches Calibre's E-book viewer (.rb for example). ---- **EDIT** I digged into xdg-open and found it executes following commands: 1. Check filetype with xdg-mime query filename "$file" and xdg-mime query default $filetype 1. run-mailcap --action=view "$file" 1. mimeopen -L -n "$file" The problem lies in mimeopen. Then how can I change mimeopen to open any **unknown files** with featherpad, or specific app? In other words, I'd like to set default fallback application if mimeopen can not find any suitable apps.
user291449
Nov 6, 2018, 08:25 AM • Last activity: Aug 16, 2019, 08:46 AM
0 votes
1 answers
495 views
MAXWEEKS on Solaris is equals to 13
I have a server where MAXWEEKS is set to 13 in etc/default/passwd. I know that this setting means that password will expire after 13 weeks. My question is if the user does NOT change the password, does the account become locked out after this or does the system will force the user to change the pass...
I have a server where MAXWEEKS is set to 13 in etc/default/passwd. I know that this setting means that password will expire after 13 weeks. My question is if the user does NOT change the password, does the account become locked out after this or does the system will force the user to change the password when the user logon? What setting can be set to automatically revoke access after certain weeks on inactivity?
Ethic Or Logics (3 rep)
Nov 7, 2018, 10:23 AM • Last activity: Nov 7, 2018, 11:47 AM
2 votes
3 answers
43232 views
How do I set the default ftp root folder for an Ubuntu user connecting to VSFTPD?
How do I set/change the default ftp root folder for a specific user? I want to be able to create a developer account that homes to different sites on a development box depending on what is currently being worked on. EDIT: The server is running Ubuntu and vsftpd.
How do I set/change the default ftp root folder for a specific user? I want to be able to create a developer account that homes to different sites on a development box depending on what is currently being worked on. EDIT: The server is running Ubuntu and vsftpd.
Larry Smithmier (465 rep)
Aug 10, 2010, 11:16 PM • Last activity: Oct 25, 2017, 12:04 PM
1 votes
0 answers
43 views
Problem using Access control lists for new users, ex ( afolder created in skel directoy have acl set, it should apply to new users)
I have a doubt regarding ACL I want to give permissions to a group using ACL A directory created in SKEL directory needs to have a default ACL set that allows the members of the group “linux” to read all files and subdirectories. But after doing above steps, if i add new user to a system with group...
I have a doubt regarding ACL I want to give permissions to a group using ACL A directory created in SKEL directory needs to have a default ACL set that allows the members of the group “linux” to read all files and subdirectories. But after doing above steps, if i add new user to a system with group as linux it is not applying default ACL.Need some help
Nandakrishna Mangalore (11 rep)
Jan 27, 2015, 10:18 AM • Last activity: Jan 27, 2015, 01:10 PM
5 votes
2 answers
2956 views
How do I make KDE open mail links to a webmail client in a browser?
I use webmail,specifically gmail. How do I make it so that when I click a mailto: link it opens gmail, in a browser (chromium) with the email address, in KDE? *bonus points for listing other browsers and other popular webmails*
I use webmail,specifically gmail. How do I make it so that when I click a mailto: link it opens gmail, in a browser (chromium) with the email address, in KDE? *bonus points for listing other browsers and other popular webmails*
xenoterracide (61203 rep)
Oct 24, 2010, 05:02 AM • Last activity: Nov 2, 2010, 01:22 PM
Showing page 1 of 15 total questions