What is the best way of integrating .AppImages with Gnome?

Or should I do it at all?

My current workflow is downloading the .AppImages to a repository (~/Applications) and run them from the command line, I would like to integrate the .AppImages with gnome, but there doesn´t seem to exist an obvious way of doing it.

I found out that there is a daemon for it (appimaged) but it doesn´t seem to be supported anymore. The site points to an alternative codebase but it is not clear (at least to me) if it is stable or not.

Share your workflow and your toughts (:

gnome – Is there any way to label each desktop individually?

I’m usually working with 3×3 Desktops, with the tendency to separate them by active projects or clients for the workday (for example, all consoles going to project A on one desktop, all consoles going to project B on another).

This is fine in most cases, but when there’s a lot of stuff going on at once it can quickly become confusing.

Is there some way to label a Desktop? Either on the 3×3 Grid view (when switching around with CTRL+ALT+Arrows), some kind of gnome plugin to just add a Box with a word in it, or a custom background for each desktop?

Maybe there’s an obvious solution, but I never really played around with gnome. I still use the defaults.

Gnome Shell: 3.28.4

Ubuntu: 18.04.5 LTS

firefox – Gnome shell: automating windows and placement

First off, sorry if this isn’t the best formed question. I’ve tried to research the best part of the stack to focus on, but I’m still not 100% sure I’ve got it.

So, I’ll explain the outcome I’m after:

On Ubuntu 20.04 (GNOME Shell 3.36.9) I have a window configuration I set up every morning (for our company stand up): one Firefox window snapped to the right column with a URL open, and one snapped to the left column with another URL.

I understand how to open a URL in a browser, but the thing I want to automate is a little different:

  1. Open a new browser window in a new workspace (ideally at the top of the workspaces)
  2. Snap that window to the right
  3. Open another new browser window in the same workspace, snapped left
  4. Have both browser windows open the URLs I’m after
  5. Bonus points for opening them in the Firefox containers I use, but I appreciate that’s a Firefox issue, not a Gnome one.

Ideally this would be something I can script using bash or python.

My question is: is this sort of thing even possible? What APIs or tooling should I be looking at, or are there projects that do this sort of thing already? It seems like a useful thing to have, as everyone must have a set of common window setups they want to save.

My lack of understanding of the Gnome ecosystem is making this hard to search for.

browser – Firefox tooltip windows are unreadable (black on black) gnome pop-os ubuntu21.04

In Mozilla Firefox, if I hover-over to a tooltip, the tooltip appears to be black-on-black.
No matter what kind of theme I try, it stays like this. I have tried changing the tooltip bg-color in the gtk.css file. And also tried to change the Firefox theme.

What else can I try?

Thanks for any kind of help!

Attempted Ubuntu Minimal via Ubuntu Server + GNOME: VM Barely Responsive

In a VMware Player virtual machine (VM) on a Windows 10 host, I followed a suggestion to achieve something like Ubuntu Minimal by installing Ubuntu Server 21.04 and then running a command to install the GNOME desktop. The recommended command was this:

sudo apt-get install --no-install-recommends ubuntu-gnome-desktop

After a reboot, I have what looks like GNOME, but the desktop is sluggish to unresponsive. I was able to run sudo apt install open-vm-tools to verify that that package is installed and updated. (The VM has 2 processor cores and 4GB RAM assigned. VMware Player is working OK with other VMs.)

My question: why is this Ubuntu installation nearly unresponsive?

I wondered whether there was perhaps a problem with running Server in a VM, or a missing ingredient that such an installation would require.

boot – Can’t log in to Gnome session

Since just now, I booted (I will number this boot (-1)) and I cannot log into a Gnome session. I have Ubuntu 20.04.3 LTS.
The problem: Entering my password, flashes the screen as it would do in a normal login to display my desktop, but instead it brings me back to the login screen.
Login fails with any of the two users (see below), so I guess it is not something related to any of the users, that I could solve by logging in in a console and mv ~/.config ~/.config-old + rebooting.

This is a timeline of what happened

  (A)      (B)      (C)             (D)              (E)          (F)                 (E)
  work     (-2)     some       login ok VT1    failed login VT1   (-1)   failed login VT1 + No X VT2
normally          tinkering     both users        both users                both users       

and I will describe it next.

  • I was working normally (A), rebooted (B) = (-2), and still working normally.
    I had only user user1 that I used for everything.

  • At (C) I created user guest a couple of days ago, to test something about login screens (and the failure may be related to this).
    I was logged into a gnome session with user1 in virtual terminal VT2 (Ctrl+Alt+F2) and I could work normally.
    I could log in normally with both users in VT1 (Ctrl+Alt+F1) as well.
    I was testing killing the sessions in VT1 with killall -3 gnome-shell and related commands, but still did not see any problem (D).

  • At some point (E) I started seeing in VT1 the problem above. I do not know what I did in between (D) and (E), perhaps some of the commands tested generated the problem.

  • After sleeping the PC and resuming, it was frozen, so I cold booted it (F) = (-1).
    I slept / hibernated / resumed the PC a few times before, in between (E) and (F).

    Now VT1 has the problem, and VT2 only gives me a console, not an X session.

So I have two terribly combined problems: (1) non-functional X session in VT1, (2) no X session in VT2.

I mean to solve both.

Solving #2 could at least make it much easier working to solve #1, within an X session in the same PC that I have the problem.
My attempt: Logging into VT2 and running

$ startx -- :0

(or :1) gives me

...
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Further possibly relevant info:

  1. Up until boot (-1), VT2 was shown on startup, and this is my experience with all Ubuntu’s I installed since a few years ago, probably all after the change of layout of X sessions / consoles). Now VT1 is shown on startup.

gnome – Can’t figure out how to change Ubuntu 21.04 lock screen image

After googling a lot I couldn’t figure out how to effectively change the lock screen. By far, I got that I have to extract the .gresource from /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource edit the lockDialogGroup ID in extracted file gdm3.css and then recompile. Here’s where I encountered the problem; I couldn’t figure out how to get the XML file needed to recompile the .gresource.

I’m new to Linux modding so sorry if there are lot of mistakes in what I did.

gnome – Changing gtk.css files in /usr/share/themes/my-Yaru-dark doesn’t change anything

I am trying to change the desktop icon font colour on ubuntu. I created a copy of the Yaru-dark theme named my-Yaru-dark. Then changed Name field in index.theme file as follows:

(X-GNOME-Metatheme)
Name=my-Yaru-dark
Type=X-GNOME-Metatheme
Comment=Ubuntu Yaru-dark theme
Encoding=UTF-8
GtkTheme=Yaru-dark
IconTheme=Yaru-dark
CursorTheme=Yaru-dark
CursorSize=24

Then I changed the gtk theme to my-Yaru-dark using

$ gsettings set org.gnome.desktop.interface gtk-theme my-Yaru-dark

I found gtk-2.0, gtk-3.0, gtk-3.20, gtk-4.0 directories in my-Yaru-dark. In each directory(except gtk-2.0), there was gtk.css and gtk-dark.css.

I tried looking for my gtk version. I ran $ gtk-launch --version. This gave output: 3.24.25. I assumed that I should edit gtk files in gtk-3.0 or gtk-3.20. In each gtk.css and gtk-dark.css file under both directories, after the import line, I added

.nautilus-desktop.nautilus-canvas-item {
    color: #000000;
    text-shadow: 1px 1px white;
}

Then I rebooted the system. I didn’t observe any change. I am still using my-Yaru-dark them but dektop font color is not changed.

I am using ubuntu 21.04. Thanks in advance.

gnome – PWA .desktop file opening new browser window instead of the app

I’ve created a web app with Brave’s Create shortcut tool and it appeared on my desktop as .desktop file. I’ve “allowed launching” but it keeps opening a new empty Brave window instead of the correct web app address.

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=YouTube
Exec=/snap/brave/123/opt/brave.com/brave/brave-browser --profile-directory=Default --app-id=agimnkijcaahngcdmfeangaknmldooml
Icon=brave-agimnkijcaahngcdmfeangaknmldooml-Default
StartupWMClass=crx_agimnkijcaahngcdmfeangaknmldooml

Ubuntu 21.04

GNOME Shell 3.38.4

gnome – After Super+L one of my monitors stays off 20.04

I’m writing this question from my second monitor because my main monitor stays black after trying to log back in after Super+L. However, this only occurs to me after being logged out for a longer time.

The funny thing is that I can log back in without actually seeing anything and after that I can move things to my second monitor (like the browser and askubuntu) and use them normally while my main monitor stays dark.

This also occurs on my laptop that has the same version of ubuntu installed.

What I tried up to this point:

I’m a new user and I love Linux. I hope someone can help me. Thx