The atom from the host does not start, but it works in the toolbox itself

$ toolbox -v run atom
DEBU Running as real user ID 1000                 
DEBU Resolved absolute path to the executable as /usr/bin/toolbox 
DEBU Running on a cgroups v2 host                 
DEBU Checking if /etc/subgid and /etc/subuid have entries for user slawa 
DEBU TOOLBOX_PATH is /usr/bin/toolbox             
DEBU Toolbox config directory is /var/home/slawa/.config/toolbox 
DEBU Current Podman version is 3.1.2              
DEBU Creating runtime directory /run/user/1000/toolbox 
DEBU Old Podman version is 3.1.2                  
DEBU Migration not needed: Podman version 3.1.2 is unchanged 
DEBU Resolving container and image names          
DEBU Container: ''                                
DEBU Distribution: ''                             
DEBU Image: ''                                    
DEBU Release: ''                                  
DEBU Resolved container and image names           
DEBU Container: 'fedora-toolbox-33'               
DEBU Image: 'fedora-toolbox:33'                   
DEBU Release: '33'                                
DEBU Checking if container fedora-toolbox-33 exists 
DEBU Inspecting mounts of container fedora-toolbox-33 
DEBU Starting container fedora-toolbox-33         
DEBU Inspecting entry point of container fedora-toolbox-33 
DEBU Entry point PID is a float64                 
DEBU Entry point of container fedora-toolbox-33 is toolbox (PID=8922) 
DEBU Waiting for container fedora-toolbox-33 to finish initializing 
DEBU Creating runtime directory /run/user/1000/toolbox 
DEBU Checking if initialization stamp /run/user/1000/toolbox/container-initialized-8922 exists 
DEBU Container fedora-toolbox-33 is initialized   
DEBU Looking for command atom in container fedora-toolbox-33 
DEBU Checking if 'podman exec' supports disabling the detach keys 
DEBU 'podman exec' supports disabling the detach keys 
DEBU Creating list of environment variables to forward 
DEBU COLORTERM=truecolor                          
DEBU DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus 
DEBU DBUS_SYSTEM_BUS_ADDRESS is unset             
DEBU DESKTOP_SESSION=gnome-xorg                   
DEBU DISPLAY=:0                                   
DEBU LANG=en_US.UTF-8                             
DEBU SHELL=/bin/bash                              
DEBU SSH_AUTH_SOCK=/run/user/1000/keyring/ssh     
DEBU TERM=xterm-256color                          
DEBU TOOLBOX_PATH=/usr/bin/toolbox                
DEBU USER=slawa                                   
DEBU VTE_VERSION=6203                             
DEBU WAYLAND_DISPLAY is unset                     
DEBU XAUTHORITY=/run/user/1000/gdm/Xauthority     
DEBU XDG_CURRENT_DESKTOP=GNOME                    
DEBU XDG_DATA_DIRS=/var/home/slawa/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/ 
DEBU XDG_MENU_PREFIX=gnome-                       
DEBU XDG_RUNTIME_DIR=/run/user/1000               
DEBU XDG_SEAT is unset                            
DEBU XDG_SESSION_DESKTOP=gnome-xorg               
DEBU XDG_SESSION_ID is unset                      
DEBU XDG_SESSION_TYPE=x11                         
DEBU XDG_VTNR is unset                            
DEBU Running in container fedora-toolbox-33:      
DEBU podman                                       
DEBU --log-level                                  
DEBU error                                        
DEBU exec                                         
DEBU --detach-keys                                
DEBU                                              
DEBU --interactive                                
DEBU --tty                                        
DEBU --user                                       
DEBU slawa                                        
DEBU --workdir                                    
DEBU /var/home/slawa                              
DEBU --env=COLORTERM=truecolor                    
DEBU --env=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus 
DEBU --env=DESKTOP_SESSION=gnome-xorg             
DEBU --env=DISPLAY=:0                             
DEBU --env=LANG=en_US.UTF-8                       
DEBU --env=SHELL=/bin/bash                        
DEBU --env=SSH_AUTH_SOCK=/run/user/1000/keyring/ssh 
DEBU --env=TERM=xterm-256color                    
DEBU --env=TOOLBOX_PATH=/usr/bin/toolbox          
DEBU --env=USER=slawa                             
DEBU --env=VTE_VERSION=6203                       
DEBU --env=XAUTHORITY=/run/user/1000/gdm/Xauthority 
DEBU --env=XDG_CURRENT_DESKTOP=GNOME              
DEBU --env=XDG_DATA_DIRS=/var/home/slawa/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/ 
DEBU --env=XDG_MENU_PREFIX=gnome-                 
DEBU --env=XDG_RUNTIME_DIR=/run/user/1000         
DEBU --env=XDG_SESSION_DESKTOP=gnome-xorg         
DEBU --env=XDG_SESSION_TYPE=x11                   
DEBU fedora-toolbox-33                            
DEBU capsh                                        
DEBU --caps=                                      
DEBU --                                           
DEBU -c                                           
DEBU exec "$@"                                    
DEBU /bin/sh                                      
DEBU atom

but it works in the toolbox itself

$ toolbox enter
@toolbox ~]$ atom
@toolbox ~]$ atom -v
Atom    : 1.57.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1

can anyone help?

$ flatpak list
Name                     Application ID                   Version      Branch     Installation
Fedora Platform          org.fedoraproject.Platform       34           f34        system
GNOME Calculator         org.gnome.Calculator             40.1         stable     system
Calendar                 org.gnome.Calendar               40.1         stable     system
GNOME Characters         org.gnome.Characters             40.0         stable     system
Contacts                 org.gnome.Contacts               40.0         stable     system
Evince                   org.gnome.Evince                 40.1         stable     system
Extensions               org.gnome.Extensions             40.0         stable     system
File Roller              org.gnome.FileRoller             3.38.0       stable     system
GNOME Logs               org.gnome.Logs                   3.34.0       stable     system
GNOME Maps               org.gnome.Maps                   40.0         stable     system
Sushi                    org.gnome.NautilusPreviewer      3.38.0       stable     system
GNOME Screenshot         org.gnome.Screenshot             40.0         stable     system
Weather                  org.gnome.Weather                40.0         stable     system
Disk Usage Analyzer      org.gnome.baobab                 40.0         stable     system
GNOME Clocks             org.gnome.clocks                 40.0         stable     system
Eye of GNOME             org.gnome.eog                    40.1         stable     system
GNOME Fonts              org.gnome.font-viewer            40.0         stable     system
gedit                    org.gnome.gedit                  40.1         stable     system

also sublime-text ,

atom and sublime-text did not install via flatpack

Found a solution, I don’t know how much correct
toolbox run /usr/bin/atom -f
toolbox run -c sublime-text sublime_text -

(add “-f” and “-”)

can anyone come in handy

[Desktop Entry]
Name=Atom-toolbox
Comment=A hackable text editor for the 21st Century.
GenericName=Text Editor
Exec=env ATOM_DISABLE_SHELLING_OUT_FOR_ENVIRONMENT=false toolbox run /usr/bin/atom -f %F
Icon=atom
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;TextEditor;Development;
MimeType=text/plain;
StartupWMClass=atom
X-Desktop-File-Install-Version=0.26

and sublime-text

[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime-toolbox
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=toolbox run -c sublime-text sublime_text - %F
Terminal=false
MimeType=text/plain;
Icon=sublime-text
Categories=TextEditor;Development;
StartupNotify=true
Actions=new-window;new-file;
StartupWMClass=sublime_text

[Desktop Action new-window]
Name=New Window
Exec=toolbox run -c sublime-text sublime_text --launch-or-new-window
StartupWMClass=sublime_text
OnlyShowIn=Unity;

[Desktop Action new-file]
Name=New File
Exec=toolbox run -c sublime-text sublime_text --command new_file
StartupWMClass=sublime_text
OnlyShowIn=Unity;
1 Like