Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
0
answers
20
views
Is it possible to change screen resolution without a desktop environment or a window manager
I looked up how I can use commands to resize the display, but all of them seem to require a window manager or a desktop environment, for example, `xrandr`, but it says `No display found`. I'm assuming that just means that I didn't install Xorg (but I could be wrong though.) I am using the Arch Linu...
I looked up how I can use commands to resize the display, but all of them seem to require a window manager or a desktop environment, for example,
xrandr
, but it says No display found
. I'm assuming that just means that I didn't install Xorg (but I could be wrong though.)
I am using the Arch Linux installation ISO. Since I don't have a desktop environment or a window manager, it seems that I can't resize the display.
Is it possible that even without a desktop environment or window manager, I can change the screen resolution, let's say from something like 1280x800 to 1366x720? If yes, how? Does the installation ISO already let me do that?
Sul4ur
(9 rep)
Aug 7, 2025, 05:33 AM
2
votes
1
answers
11454
views
How to change desktop environment in Raspbian?
I'm running Raspbian “wheezy”, a Debian based Linux distribution for the Raspberry Pi and I would like to know where I can change the desktop environment that boots with the OS. In particular, how can I replace LXDE with a custom QT or Java program?
I'm running Raspbian “wheezy”, a Debian based Linux distribution for the Raspberry Pi and I would like to know where I can change the desktop environment that boots with the OS.
In particular, how can I replace LXDE with a custom QT or Java program?
Eduardo Oliveira
(121 rep)
Aug 9, 2012, 02:11 PM
• Last activity: Aug 5, 2025, 12:08 AM
0
votes
2
answers
114
views
~/.local/share/ is not in $XDG_DATA_DIRS, however .desktop files under the applications folder is shown in GNOME launcher
I'm using GNOME under Arch Linux. According to [freedesktop Menu Specification](https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html#paths), `.desktop` files are under `$XDG_DATA_DIRS/applications/`. But when I was cleaning desktop entries today, I noticed that there's no `/home/ /.lo...
I'm using GNOME under Arch Linux.
According to [freedesktop Menu Specification](https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html#paths) ,
.desktop
files are under $XDG_DATA_DIRS/applications/
.
But when I was cleaning desktop entries today, I noticed that there's no /home//.local/share/
in $XDG_DATA_DIRS
, but .desktop
files under ~/.local/share/applications/
are shown in GNOME Launcher.
Am I missing something important?
FishBone000
(26 rep)
Jan 31, 2024, 08:19 AM
• Last activity: Aug 2, 2025, 03:13 AM
7
votes
1
answers
2254
views
Set default application to start on save/open file dialog
I am using i3wm on an up-to-date arch installation, and I would love to know how to change the application to open for the save/open file dialog. **How to reproduce** * If I open okular and select "Open File" I am greeted by an ugly file manager * If I click "save PDF" in chromium the same app opens...
I am using i3wm on an up-to-date arch installation, and I would love to know how to change the application to open for the save/open file dialog.
**How to reproduce**
* If I open okular and select "Open File" I am greeted by an ugly file manager
* If I click "save PDF" in chromium the same app opens up
**What I have tried**
* set the default in exo-preferred-applications
* set manually in every mime config file I could find on my machine (inode/directory=Nautilus.desktop;)
* and a bunch of other fixes I found online
* xdg-open and mimeo are opening the right app when opening a directory
I also have gnome installed on my PC, and when starting up chrome on this desktop manager it opens nautilus, so I think it might be handled by the desktop/window manager, thus i3 in my case.
poel22
(71 rep)
Jun 1, 2018, 10:09 AM
• Last activity: Jul 28, 2025, 10:09 AM
2
votes
2
answers
5500
views
How to configure Deepin Desktop Environment (DDE) to change keyboard layout with caps lock?
My system is Manjaro Linux. But I think this does not metter. In settings panel I cannot make `CapsLock` as keyboard layout changer. _Please help_.
My system is Manjaro Linux. But I think this does not metter.
In settings panel I cannot make
CapsLock
as keyboard layout changer.
_Please help_.
kyb
(430 rep)
Apr 17, 2017, 06:49 PM
• Last activity: Jul 25, 2025, 02:03 AM
3
votes
2
answers
677
views
How should I handle two seemingly conflicting XDG Desktop Entry requirements?
According to my understanding of the [File Naming section](https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s02.html) in the XDG Desktop Entry Specification, I should name my `.desktop` file following reverse-DNS notation: > The name of the desktop entry should follow the "revers...
According to my understanding of the [File Naming section](https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s02.html) in the XDG Desktop Entry Specification, I should name my
.desktop
file following reverse-DNS notation:
> The name of the desktop entry should follow the "reverse DNS" convention: it should start with a reversed DNS domain name controlled by the author of the application, in lower case. The domain name should be followed by the name of the application, which is conventionally written with words run together and initial capital letters (CamelCase). For example, if the owner of example.org writes "Foo Viewer", they might choose the name org.example.FooViewer, resulting in a file named org.example.FooViewer.desktop.
Naming the desktop file this way and placing it in XDG_DATA_HOME/applications
and then running xdg-desktop-menu forceupdate
afterwards does indeed result in my application showing up in all the usual places.. except for gnome. For some reason, my application won't show up in the "Recommended Applications", Gnome's equivalent to the "Open with.." in other File Managers/Desktop Environments.
The desktop is valid according to desktop-file-validate
.
After a quite a bit of digging, I came across recommendations to use another program, xdg-desktop-menu install
to validate the file. When I did, it produced the following error:
> xdg-desktop-menu: filename 'org.example.FooViewer.desktop' does not have a proper vendor prefix
A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
with a dash ("-"). An example filename is 'example-org.example.FooViewer.desktop'
Use --novendor to override or 'xdg-desktop-menu --manual' for additional info.
When I tried this by removing the reverse DNS notation and just naming the file example-FooViewer.desktop
, it finally showed up in gnome.
Now I'm confused. Why is gnome breaking when I name my file according to the spec? Why does xdg-desktop-menu
deny processing this file despite it conforming to the spec? Why is gnome NOT breaking for other similarly-named desktop entry files - all Flatpaks show up in gnome's "open with" menu despite their desktop entries being named in reverse-DNS notation and most not containing vendor prefixes or so much as a single dash!
What is going on here? and how should I handle this conflict as an independent third-party packager? Am I missing something?
Tenders McChiken
(1319 rep)
Jan 15, 2023, 07:14 PM
• Last activity: Jul 17, 2025, 05:34 PM
6
votes
3
answers
11257
views
.desktop file not working
I wrote the following `.desktop` file for my application named Qtag: [Desktop entry] Name=Qtag Comment=Audio tag editor Exec=qtag Icon=/usr/share/pixmaps/Qtag.png Terminal=false Categories=Multimedia; Version=1.0 Type=Application I copied it to `/usr/share/applications`, but I still cannot find my a...
I wrote the following
.desktop
file for my application named Qtag:
[Desktop entry]
Name=Qtag
Comment=Audio tag editor
Exec=qtag
Icon=/usr/share/pixmaps/Qtag.png
Terminal=false
Categories=Multimedia;
Version=1.0
Type=Application
I copied it to /usr/share/applications
, but I still cannot find my app in the menu (I use KDE Plasma 5 application launcher). When I try to open the file in Dolphin (the KDE file manager), it says that there is no Type=...
entry in the file.
I use KDE Plasma 5. The executable and the icon are in the right places (qtag is in /usr/local/bin
).
amethystAnt
(143 rep)
May 10, 2015, 06:48 PM
• Last activity: Jul 17, 2025, 04:00 PM
8
votes
3
answers
12914
views
gtk-launch only works when present working directory is Desktop
I just figured out how to manually create a `.desktop` file which allows a program to be launched by issuing the command `gtk-launch` [program.desktop]. Problem is it only seems to work if my present working directory is the Desktop directory for my username. Thus when I enter the command `gtk-launc...
I just figured out how to manually create a
.desktop
file which allows a program to be launched by issuing the command gtk-launch
[program.desktop]. Problem is it only seems to work if my present working directory is the Desktop directory for my username. Thus when I enter the command gtk-launch program.desktop
it runs.
The problem is when I try to enter gtk-launch /home/userName/Desktop/program.desktop
. Instead I get a message from terminal saying: **gtk-launch: no such application.** I know the file is there and cat works just fine reading it.
Why does gtk-launch only seem to be working from inside Desktop? Can I get around this? I'm using Kali linux with GNOME from a persistent USB.
Shadow43375
(261 rep)
Sep 19, 2017, 12:14 AM
• Last activity: Jul 12, 2025, 03:50 AM
0
votes
2
answers
1884
views
CentOS 7 VNC users dont share desktop session
I installed VNC server on a CentOS machine. I set up a user, and then enabled the VNC server for them on startup following these steps: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-remote-access-for-the-gnome-desktop-on-centos-7. I can successfully log into the m...
I installed VNC server on a CentOS machine. I set up a user, and then enabled the VNC server for them on startup following these steps: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-remote-access-for-the-gnome-desktop-on-centos-7 . I can successfully log into the machine over VNC, but it appears that the VNC users are not sharing the same session... as if I log into the physical machine and start up a process, when the VNC connection is made, nothing is active on the desktop at all. What did I do wrong? I need VNC to allow users to log in and remotely debug software which may or may not have been started by someone logged into the physical machine
Mark W
(243 rep)
Mar 12, 2015, 01:49 PM
• Last activity: Jul 4, 2025, 03:04 PM
1
votes
0
answers
31
views
How to set which tty to run GUI in?
I have set up a runit service to autologin in `/dev/tty16` and the shell profile executes `dbus-run-session Hyprland`, however, I noticed that Hyprland, or GUIs start on the 'active' or the currently shown tty. How can I specify what tty to use a GUI application in?
I have set up a runit service to autologin in
/dev/tty16
and the shell profile executes dbus-run-session Hyprland
, however, I noticed that Hyprland, or GUIs start on the 'active' or the currently shown tty. How can I specify what tty to use a GUI application in?
Caesar
(25 rep)
Jun 29, 2025, 08:10 PM
4
votes
1
answers
2063
views
Linux Deepin language switcher - making it smoother like in Ubuntu
I installed the latest Linux Deepin 2014.2 distro. It's a Chinese distro based on Ubuntu 14.04. The OS is great, but there's one annoying flaw - when switching language, there appears a transparent switcher, and you need to switch **again** to actually make the change happen. It looks like this: 
yuvi
(141 rep)
Jan 20, 2015, 09:27 AM
• Last activity: Jun 28, 2025, 12:19 AM
0
votes
0
answers
60
views
Debian 13 w/ gdm3 boots to black screen with a blinking underscore
I recently installed **Debian 13 RC (trixie)** on VMWare using the net install image and during the installation I opted out the desktop environment. After the installation, I installed the `gdm3` packages and rebooted to a black screen with a blinking underscore. For comparison, I repeated the exac...
I recently installed **Debian 13 RC (trixie)** on VMWare using the net install image and during the installation I opted out the desktop environment. After the installation, I installed the
gdm3
packages and rebooted to a black screen with a blinking underscore.
For comparison, I repeated the exact same process on **Debian 12 (bookworm)** and was able to boot into the graphical interface without any problem.
I'm using VMware Workstation 17 Pro, so I'm not sure if this is nvidia GPU related.
I was wondering what would be the root cause of this issue.
PS: I do notice that the dependencies for gdm3
packages for trixie and bookworm are slighly different.
Yiyang Yan
(27 rep)
Jun 23, 2025, 03:53 AM
• Last activity: Jun 25, 2025, 07:28 AM
3
votes
2
answers
110
views
How to know which user did reboot or shutdown when multiple desktop sessions are active?
I have a Ubuntu installation where multiple users have desktop sessions at the same time, some over XRDP and another directly on VT7. How can I find out which of these users initiated a shutdown or reboot, e.g by the XRDP mechanism [![XRDP SESSION][1]][1] or by the systray popup menu? [

Paz Leviim
(31 rep)
Nov 5, 2024, 10:51 AM
• Last activity: Jun 24, 2025, 10:14 AM
0
votes
0
answers
2039
views
Plugin "null" could not be loaded, do you want to remove it from xfce4-panel configuration?
I have nethunter android tablet. I set up the local Kex server, when i start the `KEX` client I get this error: > **Plugin "null" could not be loaded, do you want to remove it from xfce4-panel configuration?** > > this plugin is in the current xfce4-panel configuration but could not > be loaded, pro...
I have nethunter android tablet. I set up the local Kex server, when i start the
I run those commands
sudo apt install --reinstall xfce4-panel
sudo apt install xfce4-goodies
but the error still persists. Whereever I click on the screen opens the start menu
KEX
client I get this error:
> **Plugin "null" could not be loaded, do you want to remove it from xfce4-panel configuration?**
>
> this plugin is in the current xfce4-panel configuration but could not
> be loaded, probably due to an installation issue.

Yilmaz
(417 rep)
Jan 2, 2025, 12:42 AM
• Last activity: Jun 19, 2025, 02:24 AM
2
votes
1
answers
6439
views
How do I add shortcuts on Desktop in Debian 12 (Bookworm)?
I changed from Kali Linux to simple Debian and I dislike the results so far. Previously I had shortcuts on the desktop but switching to Debian 12 there are no shortcuts? How do I add them?
I changed from Kali Linux to simple Debian and I dislike the results so far.
Previously I had shortcuts on the desktop but switching to Debian 12 there are no shortcuts?
How do I add them?
Apoliticalboy
(121 rep)
Oct 2, 2023, 10:52 AM
• Last activity: Jun 18, 2025, 08:02 AM
2
votes
2
answers
8555
views
Minimize and maximize buttons missing only for certain programs in Pop! OS
Unfortunately, for some but not all programs (Thunderbird, Signal, Libre Office, QGIS) the minimize and maximize were suddenly missing and appear maximized (not full screen. I noticed it suddenly without having installed anything previously). All other programs appear with minimize and maximize butt...
Unfortunately, for some but not all programs (Thunderbird, Signal, Libre Office, QGIS) the minimize and maximize were suddenly missing and appear maximized (not full screen. I noticed it suddenly without having installed anything previously). All other programs appear with minimize and maximize buttons.
Since, I have updated my Pop! OS (to Pop!_OS 22.04 LTS) and tried reinstalling the programs as well as changing the settings in GNOME 3, but without any success. Especially for QGIS without the buttons I cannot move the different window of the program and thus can hardly use it.
sit_lilli
(21 rep)
Jun 7, 2022, 09:35 AM
• Last activity: Jun 16, 2025, 05:45 AM
0
votes
1
answers
2297
views
Linux Mint suddenly not loading GUI
I was using Linux Mint 18.1 just fine last week. When I turned my laptop today, the headphones were not working. Later, some keyboard functions, as lock screen shortcut also was not working. Then I restarted the OS and when it came back, it was totally messed. There is no title bar, no panel (task b...
I was using Linux Mint 18.1 just fine last week.
When I turned my laptop today, the headphones were not working. Later, some keyboard functions, as lock screen shortcut also was not working.
Then I restarted the OS and when it came back, it was totally messed. There is no title bar, no panel (task bar).
Is there anything I can do, mostly by command line, to repair this?
EDIT: desktop environments available are cinnamon2d, cinnamon and xfce.
user387058
(1 rep)
Dec 19, 2019, 04:03 PM
• Last activity: Jun 15, 2025, 02:08 AM
0
votes
2
answers
6437
views
How to drag and drop to desktop in Ubuntu 20.04
Answers on this thread: https://askubuntu.com/questions/1230884/cannot-move-files-from-and-to-desktop mention that the drag and drop to desktop does not work because in the experimental version of Nautlius. But as another answer points out, it does not seem to be possible to disable this. This discu...
Answers on this thread: https://askubuntu.com/questions/1230884/cannot-move-files-from-and-to-desktop mention that the drag and drop to desktop does not work because in the experimental version of Nautlius. But as another answer points out, it does not seem to be possible to disable this.
This discussion about whether or not this is a feature or a bug: https://itsfoss.community/t/ubuntu-20-04-desktop-are-these-features-or-bugs/4610/13 did not seem to reach a consensus: some people claimed it was a bug and others said it was a feature.
Are we simply stuck with no drag and drop to desktop, or is there a work around? If not, will this eventually be possible, or is it an intended, permanent feature?
P.S. Please let us not turn this into a philosphical discussion whether this *should* be possible. I'm just wondering whether it is or will be.
Zack Helms
(1 rep)
Jan 8, 2021, 12:41 AM
• Last activity: Jun 8, 2025, 07:11 AM
1
votes
2
answers
788
views
I have a problem with windows xterm in airgeddon
VMware Linux 2024.3 This problem appeared with me after updating Kali Linux windows xterm It became small and I had to enlarge it manually. When I search for networks or attack the evil twin, the windows that appear automatically are very small. They used to appear normally before the update. What i...
VMware
Linux 2024.3
This problem appeared with me after updating Kali Linux windows xterm It became small and I had to enlarge it manually. When I search for networks or attack the evil twin, the windows that appear automatically are very small. They used to appear normally before the update. What is the solution to the problem?

Ahmed magdy
(11 rep)
Sep 22, 2024, 11:57 PM
• Last activity: May 29, 2025, 10:05 AM
0
votes
1
answers
71
views
Wayland terminal with fixed font
I am switching from regular Xorg setup to Plasma KDE on Wayland. There is no better look that I know for a terminal than transparent urxvt with fixed xorg 7x14 font. Urxvt has issues with wayland and it is not supported so I am curious if there is any modern terminal which can take regular xorg font...
I am switching from regular Xorg setup to Plasma KDE on Wayland. There is no better look that I know for a terminal than transparent urxvt with fixed xorg 7x14 font. Urxvt has issues with wayland and it is not supported so I am curious if there is any modern terminal which can take regular xorg font description as its primary font? Is it possible in a wayland world at all?
I tried Konsole and Alacritty, they both support xft scaled fonts only like TTF or whatever.
kab00m
(233 rep)
May 20, 2025, 05:39 PM
• Last activity: May 23, 2025, 04:11 PM
Showing page 1 of 20 total questions