![]() Startx can be used to launch applications and manage windows. It is the default interface on many Linux distributions and is also available for other operating systems. They start early and do not have access to any X11 display (and often start before the display manager does). How To Install Startx On Arch Linux Startx is a graphical user interface for Linux and other Unix-like operating systems. System-wide services, on the other hand, should be started as systemd services, by creating an /etc/systemd/system/.service unit file. On the other hand, there are some situations where it would hurt – that is, when it's necessary to know when the service has fully initialized. However, it won't hurt, and could possibly make startup faster since bash detaches before even starting the process. Some services, including xbindkeys, "detach" themselves so the & is not strictly required. Same applies to display managers that invoke startx, such as SLiM. If you are using only startx, put the same line in your ~/.xinitrc instead, before the part which starts your desktop environment. Usually this can be done through cinnamon-session-properties or similar.Īnother method is to put the command in the ~/.xprofile script, which is run by most display managers (GDM, KDM, LXDM, LightDM): xbindkeys & ![]() In most desktop environments, create ~/.config/autostart/sktop according to the XDG Autostart specification: You correctly determined that xbindkeys should start along with the desktop environment, as it needs access to your X11 display, which "start on boot" services would not have. Be careful about the type of service you're trying to start. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |