Hot answers tagged

67

You can try Ctrl+Alt+* to kill the front process (Screen locking programs on Xorg 1.11) or Ctrl+Alt+F1 to open a terminal, launch a command like ps or top to see running processes and launch kill on not responding process.


56

If all else fails, you Raise The Elephant.  Essentially, there are special Magic SysRq key sequences (Alt+SysRq+?) that the Linux kernel handles specially. If your Linux box freezes and simply won't yield to any other key-commands, you should definitely try one particular key sequence before a hard reboot. The key sequence is popularly remembered with ...


35

You can restart the gnome-shell by pressing Alt+F2 and then typing in either "restart" or just "r" and pressing Enter. Otherwise I've noticed that it automatically refreshes .desktop files after waiting a little while.


23

In most distros pressing Ctrl+Alt+Backspace kills the X11 (graphic) interface and restarts it. Unfortunately some recent, supposedly "user friendly" distros deactivated this very useful shortcut for some unfathomable reason. I don't know if Mint is so "user friendly" but you have nothing to lose trying it :)


13

Refresh on Windows does a bunch of different things depending on the application. If you're talking about the file manager — reloading/refreshing is needed in some cases (and does the same thing as in Windows), but not that often. Most modern desktop environments on *nix make use of either the inotify facility, or, for older ones, the File Alteration ...


12

If you really have enough RAM available again you can use this sequence (as root): $ swapoff -a $ swapon -a (to force the explicit swap-in of all your applications) (assuming that you are using linux)


11

To be called UNIX you need to go through a certification process that requires (among other things) that you implement the POSIX standard. So your question is completely invalid. There is UNIX API, it's called POSIX. EDIT: Here is the list of requirements: http://www.unix.org/version4/overview.html


9

The following quick-and-dirty python script dumps the memory of a process to stdout. This has the side effect of loading any swapped out page or mapped file. Call it as cat_proc_mem 123 456 789 where the arguments are process IDs. This script is completely specific to Linux. It may be adaptable to other systems with a similar /proc structure (Solaris?), but ...


9

Besides what was already mentioned, I also use those tricks: If by any chance the unresponsive program was started in a terminal, I would try a Ctrl+D or Ctrl+C. If nothing happens I'd try a Ctrl+Z followed by a ruthless kill. If I knew the responsible program, I would open a terminal and use killall. (E.g., killall firefox) Alternatively, under Gnome, I ...


8

I had a similar situation with my laptop. The screen would often remain black when it woke from suspend. My solution was to use xrandr to reset my displays. You need to find the xrandr command that sets up your layout and run that. For example, on my system, I had two screens and this set it up as I wanted it: xrandr --output DP-3 --auto --output VGA-0 -...


8

System Settings > Keyboard > Shortcuts > Navigation > Hide all normal windows Click the second field which says Disabled and type in a key combination of choice (e.g., Ctrl+Alt+D). System restart may be required for changes to take effect.


8

I think you've jumped the gun a bit — while many people may agree Wayland has a better design for the modern era (though some still disagree even on that), the implementation is not yet finished, and it doesn't yet do everything needed to overtake X, nor are the applications and toolkits ready for it. This fall Wayland is expected to declare its API stable ...


8

X11 and desktop environments play different roles. X11 combines the following main features, from the lower level upwards: video and input drivers; a canvas to draw on (taking orders like “draw a light green rectangle at these coordinates”), and input events (generated from keyboards, mice and the like); a notion of window, with each window getting some ...


8

Removing the icons is the easy part. Just move all of the files in ~/Desktop to a temporary location: mkdir ~/backup_icons mv ~/Desktop/* ~/backup_icons mv ~/backup_icons/* ~/Desktop # restore Changing the background is going to be specific to your DE. I found this Ubuntu SE answer which shows that you can use the gsettings command in Gnome and Unity. ...


7

Alternatively you can try to discuss your idea on IRC first: http://userbase.kde.org/IRC_Channels https://live.gnome.org/GnomeIrcChannels But for a broader audience you might really be better off to post on the mailinglists first: http://www.kde.org/support/mailinglists/ https://mail.gnome.org/ If you have a specific idea and are able to contribute ...


7

For those who don't mind using keyboard shortcuts instead of the mouse scrollwheel, here they are (tested with Gnome 3.14.2: Super+Alt+8 : Toggle zoom enabled/disabled (when enabled, the next two keyboard shortcuts become active) Super+Alt+'+' : Zoom in (increases zoom factor by 1.0) Super+Alt+'-' : Zoom out (decreases zoom factor by 1.0, until it is 1.0) ...


7

Using the tool wmctrl you can get all the above information, specifically the -d switch. Example $ wmctrl -d 0 * DG: 5760x900 VP: 0,0 WA: 0,25 1440x826 Workspace 1 1 - DG: 5760x900 VP: 0,0 WA: 0,25 1440x826 2 - DG: 5760x900 VP: 0,0 WA: 0,25 1440x826 N/A 3 - DG: 5760x900 VP: 0,0 WA: 0,25 1440x826 N/A Details One line is output for each ...


6

This (and much much more) can be done in advanced settings of KDE's window manager KWin. You can get to it if you right click on window titlebar and select Advanced > Special Application Settings (or Special Window Settings if you would like to apply only to specific window and not all windows of this app). Then on the Size and Position tab you can force it ...


6

With Linux Mint 16 (not sure about other versions) you can use gsettings to both get information about your current wallpaper as well as set it. The man gsettings is a little thin, but TAB completion will work at most steps in the following commands. Get info: gsettings get org.cinnamon.desktop.background picture-uri gsettings get org.cinnamon.desktop....


6

You have two choices: Wait for RHEL7 later this year, it will be based on versions of Fedora that contained gnome3 and systemd. Compile everything from source. Those are basically it. Even CentOS says they won't do it since it involves re-compiling too much original code. Not to mention it would be an enormous amount of work for marginal benefit. I'll ...


6

Currently on Ubuntu, the actual shutdown is performed by console-kit-daemon, the ConsoleKit daemon, which runs with root privileges. The ConsoleKit daemon receives the shutdown request from the desktop panel application via D-Bus. The policy that allows unprivileged processes to speak to privileged processes is handled by polkit (formerly PolicyKit). You can ...


5

You just run a program on the root window. Most screensavers allow you do do that, e.g.: /usr/lib64/misc/xscreensaver/sundancer2 --root However, most modern Linux environments run a "desktop" program that covers the whole screen and covers the root window. So you won't see it unless you kill the desktop program.


5

With difficulty. There is no centralized system for keeping track of these things. On Debian-derived Linuxes you might try the alternatives system. You could query the package manager, and if you find only one Foo installed, you can be pretty sure which Foo is in use. You could try parsing the output of ps. Or equivalently of reading /proc on systems ...


5

Are you actually asking about having 'desktop icons', because it seems to be the situation. I'll go with the assumption that you want 'desktop' style icons, and still use the *box style right click menu. Yes it is possible, and some good guides already exist. Although Fluxbox is different from Openbox, the minimal environment is similar. The are quality ...


5

Heard of ulatencyd? From its README: == What is ulatency == Ulatency is a daemon that controls how the Linux kernel will spend it's resources on the running processes. It uses dynamic cgroups to give the kernel hints and limitations on processes. [...] == What tries it to fix == The Linux scheduler does a pretty good job to give ...


5

I couldn't make the viewidx method working but I ended up doing the following, which worked: awful.key({ modkey, }, "a", function () local screen = mouse.screen if tags[screen][10] then awful.tag.viewonly(tags[screen][10]) end end),


5

The width of the scrollbars depends on the Widget toolkit in use by your Desktop Environment not on the distro itself. This means that width is specified by the theme(GTK, QT, etc). Because you are using Mint, I'm pretty certain it's GTK in your case, so changing the theme would be enough to influence it. Many sites have a great selection of them(just ...


5

See source at https://github.com/tobiasquinn/gnome-shell-mousewheel-zoom Install for Ubuntu: sudo add-apt-repository ppa:tobias-quinn/gsmz sudo apt-get update sudo apt-get install gnome-shell-mousewheel-zoom mousewheelzoom & Done. Zoom with Alt+Mousewheel. Update 2015-03-17: Since around Cinnamon 2.2 APIs has changed so much that the Gnome Shell ...


5

This is the correct answer to the question. Anything else would just be a hack gsettings set org.cinnamon.desktop.background picture-uri "file:///filename"



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