Tag Info

New answers tagged

0

The exact functionality you're after can be found by using the Shift Switcher, Ring Switcher or Static Application Switcher functions in CompizConfig Settings Manager (CCSM). (If you need install instructions for CCSM, let me know in the comments) Shift Switcher Using CCSM enable Shift Switcher under the Window Management section. You will need to ...


1

The window of gnome-calculator ("Taschenrechner" with German locals) is not resizeable. You can't resize it with the mouse either. You can check that using xprop: xprop|grep _NET_WM_ALLOWED_ACTIONS For a gnome-calculator window hat prints _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_STICK, _NET_WM_ACTION_MINIMIZE, ...


0

I was just resizing my windows - wmctrl was the last command I ran! I ran: wmctrl -r "Ubuntu Web Browser" -e 0,0,0,1280,720 and you ran: wmctrl -r Taschenrechner -e "0,300,200,800,600" My suggestion would be to lose the "" around the sizes, and (maybe) add quotes to the window name: wmctrl -r "Taschenrechner" -e 0,300,200,800,600 Just realised ...


0

I am running a similar config, with Gnome Classic, and hit the same problem. Guesswork led to this gconf-editor solution: /apps/compiz-1/plugins/snap/screen0/options/avoid_snap [0] => [1]


4

Here's a script that utilizes bash, xprop, and wmctrl (does not come with ubuntu). This script can be added as an autostart entry or placed into .desktop file. Basic idea is to get current active window's id, store its current title, and use output of date command and title to form a new title. The if statement prevents infinite loop of appending date. You ...


6

It's a simple shell script: Requirements xdotool sudo apt-get install xdotool wmctrl sudo apt-get install wmctrl Main part wmctrl -r :ACTIVE: -N "$(awk -F' \\|\\|' '{print $1}' <<< $(xdotool getwindowfocus getwindowname)) || $(date "+%Y-%m-%d %H:%M:%S")" The || is the separator between the window title an the date/time part. If you ...


13

Showing date & time in the active window's title Running the script below (an edited version of this one) in the background, the front most window will show the current date & time: If the window loses focus, the time will not be updated; only on the front most window, the time will be updated. The script also shows the date & time per tab on ...



Top 50 recent answers are included