All Questions

Tagged with
Filter by
Sorted by
Tagged with
16
votes
4answers
29k views

How can I run a script that starts before my login screen?

I was calibrating my touch screen, and saw that the best tool around was xinput_calibrator. So I used it. It have two options (one of which did not work), so I am here for the second. It says I should ...
5
votes
2answers
13k views

How to get the list of all active X sessions and owners of them

I'm implementing USB plug/unplug notification (here's related question), and I need to execute something like notify-send "device plugged" "My Device Title". The problem is that to make this command ...
4
votes
2answers
563 views

Run an app with a window manager behind in a separate X server

I want to launch an app in a separate X server. It needs a window manager behind it, though. I created a script #!/bin/sh x-window-manager & my-gui-app and launched it with xinit myscript....
4
votes
1answer
2k views

Remember applications on logout from LXDE

When I start my computer I want that remember my applications opened before close the last session such as Ubuntu, and other distros do normally. Googling, I see that I can run apps when I start ...
3
votes
2answers
471 views

Make X11 source my ~/.Xkbmap

I want to remap capslock to ctrl, I found the answer online: setxkbmap -option ctrl:nocaps I tried in shell, it works. Now I want to persist it, I found some online post says that I need to create ~/...
2
votes
1answer
619 views

How do I run this C program after starting X server?

The source for a program that automatically scales my laptop's keyboard brightness to its screen's brightness is given on the Arch wiki page for my laptop. I can compile it and when I run the program ...
2
votes
2answers
2k views

Xscreensaver on startup, i3wm

How do I set up xscreensaver to run in the background on login? Will a simple xscreensaver & do the trick?
2
votes
1answer
445 views

Who started xterm in my debian xterm+lightdm kiosk system?

I have stripped my full desktop debian 7 x64 to the bare, leaving just xorg and lightdm for a kiosk application. I have changed the lighdm configuration to auto-login a user. When I boot, this works ...
2
votes
3answers
7k views

Automatically open a remote desktop connection upon login

I have installed Linux Mint to one of my desktop PCs. I have downloaded and installed Freerdp-x11 for me to connect into my Windows Terminal Server. I want the terminal command line to connect ...
2
votes
0answers
37 views

How can I set different sessions to be used for different users?

Is it possible to write a script that runs at login which will automatically run a custom session for a given user? I would like to have my personal user account login to my normal, entire KDE desktop,...
2
votes
0answers
94 views

Is there a terminal emulator which remembers the output from its last run?

While modern desktop environments usually start all the applications which were open in the previous session and some terminal emulators may even open as many tabs as before, I've never seen a ...
1
vote
1answer
4k views

Opening session via XDMCP to GDM

I have a RHEL6 server which we connect via XDMCP. If I start xdm (xdm &) it works but the login screen is the old xdm simple login and not gdm. Our RHEL5 servers connect to gdm just fine. The ...
1
vote
1answer
682 views

Run a command when logging in with xmonad

I have a simple script that I want to run every time x starts up. #! /bin/sh /home/kevin/.dropbox-dist/dropboxd & I have run chmod 755 on it, so it's fully executable. And it just will. not. ...
1
vote
1answer
1k views

xset not having any effect in my .xsessionrc file

I need to set some trackpoint settings automatically. I don't know the best file in which to place these commands, but I used .xsessionrc. The commands are properly executed (I can verify that by ...
1
vote
0answers
354 views

Changing dwm keyboard in linux [duplicate]

I can't get dwm to set the keyboard layout. I have tried changing the file /usr/share/xsessions/dwm.desktop. I have changed the line Exec=dwm by Exec=/home/atc/dwm-init with this /home/atc/dwm-...
0
votes
1answer
180 views

.xsession exec not recognise $HOME or arguments?

The basic scenario is that I'm sharing my dot files across multiple machines and want to have my session definitons synced as well. Since I use different laptops and monitors with significantly ...
0
votes
0answers
311 views

Spawn login prompt in an X terminal

I have a system that runs a bash script when it starts (I use /etc/init.d/rc.local to execute it without needing to log in). For reasons I won't go in to here, I need to launch a graphical terminal ...