Tag Info

Hot answers tagged

5

First, we see some information from man sftp: DESCRIPTION sftp is an interactive file transfer program, similar to ftp(1), which performs all operations over an encrypted ssh(1) transport. It may also use many features of ssh, such as public key authentication and compresā€ sion. sftp connects and logs into the specified host, then ...


3

Its reasonable to expect PlayOnLinux to be a little heavier than native. PlayOnLinux relies on wine, which brings in a whole layer of virtualization overhead. Steam on the otherhand is more of a grab-bag of some native games and some wine-wrappered games, so some will run smoother than others, depending on who/how it was ported. Additionally, the ...


3

Most modern dekstops are EMWH compliant. You can use wmctrl to control those and the windows on them, e.g.: wmctrl -a <WIN> to activate a window by switching to its desktop and raising it (<WIN> can be various things, by default a string match on the window title, see the wmctrl man page).


2

I also asked this question on stackoverflow and got a good answer that I marked as the correct one and upvoted: http://stackoverflow.com/a/26060527/1707904 This applies also to compiz. There are a couple of ways you can get these informations in some ways: wnckprop --xid=$(xdotool getactivewindow) Otherwise, you can just mix the Absolute value you ...


2

This does not actually answer my question (I still do not know the keybindings syntax for a right mouse click), but this did solve my problem, so I'm leaving this here for anyone who stumbles across it in the future: gsettings set org.cinnamon.desktop.wm.preferences resize-with-right-button true Apparently there is a setting for holding alt, right-clicking ...


2

If all else fails, you can change the setting in the configuration file manually: window.justify in theme.cfg can be left, right. or center. (source: Frank McCormick on the fluxbox-users mailing list) System-wide themes live in /usr/share/fluxbox/styles, user-local themes live in ~/.fluxbox/styles/.


2

There is screen to do that with (virtual) terminal applications, and there is xpra for X11.


1

I found a related question on Ask Ubuntu which sort of did the trick for me. Instructions for the whole process, including creating the "gap" between monitors (works at least on Ubuntu 14.04): Find out the current total screen size (assuming there's currently no virtual gap between monitors): $ xrandr | grep Screen Screen 0: minimum 320 x 200, current2048 ...


1

GParted is often worth using because it helps avoid several nasty mistakes. I guess the main advantage of command-line tools here is to have more visibility of details. This can be useful in unexpectedly fragile situations (at least once it's broken, the details might help you realize why). However I wouldn't recommend using them to others unless they ...


1

You need the ntfsresize utility from the ntfs-3g package, which can resize NTFS file system. However, be sure to backup the partition before you make any changes to it, since sometimes Windows have other ideas of what the resized partition should look like. The backup can be conveniently performed with the ntfsclone utility (same package), since that saves ...


1

To get the Window ID in my program, I have the program set the title to something unique, then have the program start wmctrl and parse its output (and not the shell script that started the program), and then report on the Window ID (most often via a file). Since the program doesn't continue until the windows are open, you will never have to wait to long. ...


1

The soft way to request an X11 application to close its window and possibly then exit is to send it a WM_DELETE_WINDOW message. Xdotool doesn't appear to have a way to do this. You can do it in Perl with X11::Protocol::WM. Untested: perl -MX11::Protocol -MX11::Protocol::WM -e '$X = X11::Protocol::new(); X11::Protocol::WM::set_wm_protocol($X, ...


1

Detecting windows on the current desktop, and resizing them can both be done using wmctrl To list all the windows you can use: wmctrl -l A quick example to resize the current active window to a size of 500 x 500 at position 0 0 would be: wmctrl -r :ACTIVE: -e 0,0,0,500,500 Finally, if you want to get the current screen size to help with your tiling ...


1

Is this a question for FVWM1 or FVWM2? Here is how I added a custom button of an arrow pointing down to my FVWM1 .fvwmrc file: ButtonStyle : 1 8 40x20@1 40x50@1 20x50@1 50x80@1 80x50@0 60x50@0 60x20@0 40x20@1 This makes, in the upper left corner of all of the windows, an arrow pointing down. Now, it's also important that this button is visible, so we ...


1

One of the really powerful things about GNOME 3 is the ability to use javascript-based addons to add functionality. Though I am not entirely sure this addon will completely fulfill what you're looking for, I imagine it is about as close as you're going to get. Put Windows is meant to be a completely customizable implementation of compiz's put plugin. ...



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