Tag Info

Hot answers tagged

8

Is a "Display Manager" the same thing as a "Session Manager"? Not quite, but they often overlap in implementation. A display manager just logs the user in and start their session, (often just starting X for them and possibly starting a session manager,) while a session manager is responsible for saving and restoring the state of a session, eg. it might ...


5

Here's a very short rough characterization: Display manager: The program that provides you a graphical login and then starts your session. Runs as root or dedicated user. Session manager: The program that actually controls your session. Runs under your account. Windowing system: The complete GUI drawing/control system. Describes not a component in itself, ...


4

The KDE application KRuler should fit the bill. To start KRuler, choose Graphics->KDE Screen Ruler from your K menu. The rotation buttons allow you to change it's orientation in steps of 90 degrees, or you can click your middle mouse button (if you have one) to change it to a vertical ruler.


3

This is a font name that follow the XLFD convention. The * are wildcards, the different elements are separated by -. From the convention page, here we have : FAMILY_NAME : a string that identifies the range or family of typeface designs that are all variations of one basic typographic style. Here : "terminus". WEIGHT_NAME : a string that ...


3

The "stuff" between the values seems a visual representation of the newline character to me ( octal character code 12), which you would get when using: echo -e 'a\012b' What you could try is pipe the output through tr '\n' ' ' as with: echo -e 'a\012b' | tr '\n' ' '


2

This creates a bash array whose elements are the loads for each CPU: loads=($(mpstat -P ALL 1 1 | awk '/Average:/ && $2 ~ /[0-9]/ {print $3}')) Since bash arrays are numbered starting with zero, the load of the second CPU would be printed with: echo ${loads[1]} This requires the utility mpstat. To install it on a debian-like system, run: ...


2

I don't think you can reattach if the application has already been started in X. But maybe the following questions help? xpra Detach/reattach an application run on X over SSH? GNU Screen for X11 Forwarding Also, VNC could be a solution for you. But all these applications require that you restart the gui application on Server1


2

A windowing system is a software component that provides windows for applications to draw in and can display these windows on the screen. The X Window System is the standard windowing system on Unix systems; outside Mac OS X, it doesn't really have competition (this may change if Wayland or Mir become viable). The X Window System has a client-server ...


2

This is made possible by installing Xvfb (X virtual frame buffer apt-get install xvfb) and specifying the DISPLAY variable. Xvfb :25 -screen 0 1900x1080x32 & export DISPLAY=:25 binvox [WHATEVER OPTIONS AND SWITCHES YOU WANT TO PASS TO binvox] & Hat tip to @Gilles' answer to this U&L Q&A titled: How can I run Firefox on Linux headlessly ...


1

I ended up doing the following: sudo service stop lightdm Then I had to run ctrl + alt + F2 and log in the second terminal, otherwise it would just sit there with dark screen. To start it back up: sudo service start lightdm


1

After experimenting further, it looks like: $ xset s noblank $ xset s 600 600 Will do what I want. This seems to set the X screensaver to the internal one, which creates a black window, instead of blanking the screen, and timeout after ten minutes.


1

Not an answer, but too long for a comment: If you're looking for a minimalistic screen locker & saver (I think locking is more important than saving), be sure to look into http://tools.suckless.org/slock/ To my knowledge it doesn't know about a grace period before locking, but perhaps you can wrap slock into a shell script to do that.


1

I didn't change my keyboard layout very often, but when i do it, i use (for exemple) : setxkbmap fr There's also an option to show the current layout of your keyboard : setxkbmap -query result : rules: evdev model: pc105 layout: fr options: terminate:ctrl_alt_bksp Considering this, you could do something with the notify-send command ...


1

I am not familiar with the PSF font format, but google revealed [1] which seems to imply it is a bitmapped font format (pixel based). Using the tools from [1], convert to a .FON and then follow along in answers of [2] to create a .ttf However, it might be easier to look into other options. If you are looking for tiny, fixed width console fonts you should ...


1

Okay, after countless minutes of testing, I finally found what I needed (I was pretty desperate when I posted this question). You need to create an .Xmodmap with the following contents: keycode 62 = Mode_switch keysym a = a A Left keysym d = d D Right keysym s = s S Down keysym w = w W Up 62 is the key code of R_Shift. It works perfectly.


1

Try moving [[ $TERM != "screen" ]] && exec tmux to your .zshrc file. That way the command will only be run in interactive shells. An interactive shell is simply any shell process that you use to type commands, and get back output from those commands. That is, a shell with which you interact.


1

There is no package containing a vncserver-x11 binary in Ubuntu (or Debian). You can always check the Ubuntu Package Search to find files inside packages. A vncserver-x11 binary is part of RealVNC. You can download Debian-compatible installers for RealVNC from their website, which are likely to work on Ubuntu. The "generic installers" will probably work ...


1

I believe you're getting confused by how SSH performs the proxying of the X11 connection via the tunnel it's established on the remote server side with how magic cookies typically works. From the SSH man page: excerpt The DISPLAY value set by ssh will point to the server machine, but with a display number greater than zero. This is normal, and happens ...



Only top voted, non community-wiki answers of a minimum length are eligible