Tag Info

Hot answers tagged

22

The hardware power button triggers an ACPI event that acpid (the ACPI daemon) notices and reacts to; in this case by shutting down the system, although you could have it do whatever you want. The ACPI daemon runs as root, so it has permission to shutdown the system. Desktop environments (e.g. gdm for Gnome) typically run as root as well, so I suspect they ...


17

You are looking for ncurses.


15

A nice alternative is SmartGit. It has some very similar features to SourceTree and has built in 3-column conflict resoluvtion, visual logs, pulling, pushing, merging, syncing, tagging and all things git :)


15

What Cinnamon version do you use? As far as I know, their latest version can do this seamlessly. In my Linux Mint 14 I can just use CtrlAltUp to show all workspaces, and then click + button on the right edge of the screen to add new workspace. You may want to check cinnamon 1.6 release page. Clem already explained how to do this over there.


13

Did you have a look at some other "lighterweight" ;-) window managers? I'm completly happy with i3 for example: http://i3wm.org/ It's just a tiling windowmanger with dmenu for launching applications. No desktop, no other special features and the binary is just some KBs. There are a lot others in this range: evilwm - http://www.6809.org.uk/evilwm/ dwm - ...


13

There's a dedicated tool to do this, avimerge: avimerge -o cd.avi -i cd1.avi cd2.avi


13

You can use X11 forwarding over SSH; make sure the option X11Forwarding yes is enabled in /etc/ssh/sshd_config, and either enable X11 forwarding by hand with ssh -X remoteserver or add a line saying ForwardX11 yes to the relevant host entry in ~/.ssh/config Of course, that requires a working X display at the local end, so if you're using Windows ...


12

I use pdftk mainly. But here are some others to consider: pdfsam (PDF Split and Merge): "pdfsam is an open source tool (GPL license) designed to handle pdf files" PDFJam "A small collection of shell scripts which provide a simple interface to much of the functionality of the excellent pdfpages PDF file package (by Andreas Matthias) for pdfLaTeX." (You can ...


12

The Wikipedia page on Comparison of X Window Managers sorts the various Window Managers into four categories: Heavyweight, Middleweight, Lightweight, and minimal. You'd probably be interested in those in the minimal category. Right now, those include Matchbox, sithWM, evilwm, dwm, WMFS, wmii, and scrotwm. (i3 gets put into Lightweight; Xfwm (used by ...


12

I don't know about Arch and Debian, but oftentimes those GUIs are made with dialog(1), which takes a bunch of command-line arguments and then renders a dialog with ncurses. For examples, the Linux kernel menuconfig looks like this: An example dialog usage is: $ dialog --title "Hello" --infobox "Hello there Unix and Linux Stack Exchange" 20 100 Which ...


11

There are a number of tools that are usable: meld kompare -- diff file viewer kdiff3 -- file difference viewer Diffuse -- file difference viewer Do you have two files and want to view their differences? Use a "file difference viewer". Do you have a diff file and want to look at it in an easy-to-read display? Use a "diff file viewer".


10

Despite the fact that X.org is 20+ years old, what is it exactly that you need from a windows server that it doesn't provide? You have OpenGL support, anti-aliased fonts, double buffering, spiffy translucent composite windows, hardware-accelerated video playback. You can even play some DirectX games on it with wine if you're into that. What makes an X11 ...


10

I know two programs for manipulating PDFs under Linux: PDEedit "Pdf Editor is primary created for simple editation and manipulation with objects of documents in PDF format and storing them as new version of document. Editation and manipulation with objets is by graphical and by commandline interface too. For simple use command line is using script language, ...


9

Usually, you can use SIGHUP to "friendly" close an application (with or without graphical interface). kill -HUP <application_pid> EDITED: added some other info The way SIGHUP is handled is application dependent so, as Dave noted, it can happen that this signal is masked or handled. However quite all interactive applications exit gracefully with a ...


9

Rather than yanking into the a register yank into the * or + register to yank the file contents into the X clipboard using one of: :%y* :%y+ This does require that you're using a copy of vim that has X support compiled in and is able to connect to your X server. Which of those works better for you will depend on which type of clipboard the target ...


8

Dolphin looks like what you are looking for: But the terminal is a slave of its directory navigation (if you change the directory in the GUI, it changes in the terminal, but not the other way around). To change the application directory when you change the current directory in the terminal, you can make your shell send a message to Dolphin to update its ...


8

There are several other implementations of X11, but none of them have all the features & driver support that X.org has. There are also some framebuffer-based solutions like DirectFB and whatever Android uses. And recently work has been ongoing on Project Wayland, which maybe one day might (partially) replace X11.


8

According to the xinit man page that I read, xinit (and thereby startx) looks in its command line parameters for a client program to run. If it doesn't find one, it runs ~/.xinitrc instead. So you should be able to write startx path/to/my_alternate_xinitrc and it will do what you want. You will need to provide a path, though, and not just a filename. ...


8

There's xpra (or a newer fork), a slightly more recent tool than xmove.


8

At a higher level, the ones that look exactly like that generally use something like newt/whiptail or dialog. That particular one looks like it's newt/whiptail, since dialog tends to draw a frame around controls like that listbox. For another example, the linux kernel config uses a cut-down custom version of dialog (without extra features it doesn't use, and ...


8

Debian uses tasksel for installing software for a specific system. The command gives you some information: > tasksel --list-tasks i desktop Graphical desktop environment u web-server Web server u print-server Print server u dns-server DNS server u file-server File server u mail-server Mail server u database-server SQL database u ...


7

For a moment, I thought that this might be inherited from the GDM configuration (since the GDM login screen does the same thing), but apparently it's not. After checking a few other places without any luck, I decided to find out for myself and took a look at the source code(v2.30). The code responsible for the shaking only checks to make sure the dialog ...


7

If you're trying to get any chrooted app to show up in X11, you will need a couple of things set up correctly. One is a valid DISPLAY environment variable, second is a proper Xauthority file, and third and most important, access to the socket used by X11/Xorg. X11 can use either a TCP network socket or a Unix Domain socket. A TCP socket will be easier to ...


7

You're going to need a GUI toolkit. There are more available than I can list here. Python has bindings for more toolkits than you can shake a stick at. See their GUI Programming wiki page for more info. I don't know much about Fortran, but the same logic is going to apply. The most common toolkits on Linux are GTK (originally developed for The GIMP and now ...


7

It really depends on what you are trying to accomplish. Dialog creates curses based text dialog boxes that are accessible from the console. This is useful for adding some level of interaction to shell scripts. Dialog is older than the hills but still has it's uses. Zenity creates GTK based graphical dialog boxes for use in a windowed GUI environment. This ...


7

Tried Sqliteman? Look for sqliteman in your package manager. It is stable, so should be broadly available.


7

Living in the town (Nuremberg, Germany) where SuSE has its current roots I have a little background-info from some people, who originally worked for SuSE. The current graphical yast2 (running on X11) has its predecessors of the time when it was usual to just have non-graphical interfaces. That predecessor was yast - which is still there, but does not have ...


7

Not sure if vi is required for this operation. There is xclip utility that allows you to copy anything from console output to x server clipboard. You should specify DISPLAY=:0.0 environment and execute it like this: cat file | xclip or for remote file ssh remote "cat file" | xclip Or from vi (note, that this way will temporaly clear vi buffer ...


6

Xmove should be able to do what you want. Here is a howto (dated 2006).



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