Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

25

Found the answer elsewhere. The .desktop file needs to be named EXACTLY the same as the binary that's launching. Mine was something like eclipse_ide.desktop and the binary that runs is just "eclipse". Gnome shell does not seem to like that.


21

Install alacarte program. Run this program (its name is Main Menu). In the appropriate Menu category from right side panel add your eclipse menu item (by introducing icon, name and command) Now gnome shell show your manual installed eclipse in its search and you can search it or add it to favorite easily. It works for all manual installed program in gnome ...


17

The default GNOME3 themes are a disaster for tiny screens. However, the Gnome3 crowd seems to be pretty unwilling to listen to their users. They only think of how stuff looks, in particular on a tablet PC or mobile device, it seems. Soon, Gnome3 will require a 4k screen. Anyway, the best solution I have found is to switch the theme to the XFCE themes. On ...


16

The Cross compiler article on wikipedia is quite good. Generally a cross compiler is a compiler producing code for a different kind of system than yours. Usually this means a different target hardware architecture, but it can also mean a different target operating system (or both). Theoretically you could combine these and use a cross-compiler on ...


10

This is also the error you get if you try to start Eclipse over ssh without forwarding X access. Ie, you forgot to run ssh -X user@host or forgot to include ForwardX11 yes in your ~/.ssh/config entry for the server. I'm adding this answer for anyone who may stumble upon this question from a Google search even though technically, OP is asking about a VM ...


8

In Gnome 3.16 I managed to add an application to favorites by naming the .desktop file exactly as the window WM_CLASS. To know the window WM_CLASS: open a terminal window execute the xprop command: the cursor turns in a cross click on the relevant window read the command output in the terminal, looking for the WM_CLASS property (it is a comma separated ...


6

In addition, this may also be caused by the application not having the correct authorization to display to the remote X server. This typically happens when you log into the ssh session as one user and execute a command as another user to lauch a GUI application. For example when you log into the remote server and execute a sudo command. To resolve this ...


6

It seems that since GTK 3.10 the value 'menus-have-icons' is deprecated. I found a solution by using this command: % gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}"


6

You can create a .desktop file: $ cd Desktop $ touch eclipse.desktop Open it with your favorite text editor (gedit, for example): $ gedit eclipse.desktop Add this to that file: [Desktop Entry] Type=Application Name=Name of your application Icon=/path/to/icon Exec=/path/to/application Finally, make it executable: $ chmod u+x eclipse.desktop Final ...


5

The info saying you can't build the kernel in Mac is innacurate. One can set up a cross compiler and have x86 as target architecture or build a kernel for power pc as Yellowdog Linux Distro has done. A sample of a procedure to setup a cross compiler for ARM7: I’m start­ing a new embed­ded project with ARM7 proces­sor in March so I wanted to play around with ...


4

There is an Eclipse Color Theme Plugin that might be able to help you :)


4

I found that if I right-click the app when it appears in the search "Add To Favorites" is available: Create its *.desktop file to make it available in the "Activites" overview -> Press "Activities"/super key -> Type app name -> Right Click it as it appears in the search -> "Add To Favorites" should now be available. In my case I had this problem with ...


4

Create a .desktop file The solution is actually very easy: in the installation folder, create an empty file, name it Eclipse.desktop and copy paste this code: [Desktop Entry] Version=Neon Name=Eclipse Comment=Eclipse is an IDE Exec=/home/username/path/to/eclipse Path=/home/username/path/to/eclipse/ Icon=/home/username/path/to/eclipse/icon.xpm Terminal=...


4

I think the shell construct you're looking for is dirname. for f in /cygdrive/c/Documents\ and\ Settings/USERNAME/My\ Documents/Eclipse\ Workspace/* do cp -a "$f/src/" "./$(dirname "$f").bak" done But really, this is not a good backup solution. Every time you run the copy, the previous state is erased. And it doesn't provide any history at all. Use ...


4

I found the solution here. It recommends creating a new compact GTK style by pasting this into ~/.gtkrc-2.0: style "gtkcompact" { GtkButton::default_border={0,0,0,0} GtkButton::default_outside_border={0,0,0,0} GtkButtonBox::child_min_width=0 GtkButtonBox::child_min_heigth=0 GtkButtonBox::child_internal_pad_x=0 GtkButtonBox::child_internal_pad_y=0 GtkMenu::...


4

I think this is a problem with gtk. Check what version is installed. dpkg -l libgtk[0-9]* | grep ^i If it's not installed or is the incorrect version then do a sudo apt-get install gtk or do an sudo apt-get update. EDIT The problem was that SSH was using SSH to remote into a Linux VM and didn't have an X-Server set up on Windows and didn't have X11 ...


4

unzip adt-bundle-linux-x86_64-2014031.zip cd adt-bundle-linux-x86_64-2014031/eclipse ./eclipse


4

Eclipse doesn't need an installation. Simply run ./eclipse inside the folder. That's all. Or create the desktop file. In my example, the Eclipse folder is located in /opt/eclipse nano ~/.local/share/applications/eclipse.desktop and add the lines below [Desktop Entry] Type=Application Name=Eclipse Comment=Eclipse Integrated Development Environment ...


4

Instead of downloading the RPM, you can try installing it from the CentOS repositories with the following (as root): yum install libXtst That should pull in any other dependencies and update any packages that require that. If the 64-bit package is already installed then you may need to install the 32-bit library yum install libXtst.i686


3

the debugging features provided by gdb are based on the set of symbols that comes with your compiled code. Actually there isn't a debug version available for the STL, but there are at least 2 portings that can add debug symbols to your code: http://www.stlport.org/ http://code.google.com/p/stl-debug/ gdb without debugging symbols is useless, so you have ...


3

You have too much memory in use. See that line which says: Mem: 8099348k total, 8046104k used, 53244k free, That is the first clue. The second clue will have to come later when you run top, and then press the capital M key. That will sort the processes so that the memory hogs are at the top. Chances are it is one process with a memory leak, but it ...


3

Eclipse and Gnome are not much related. Gnome is your Desktop Environment, and Eclipse IDE is just a GUI-based application - it will run on top of any window manager, as long as all the libraries are in place. For a very light-weight desktop, yet easy to use, you might have a look at Fluxbox. It is small and fast and should be enough for your needs. Other ...


3

I ran into a similar problem while installing IBM Installation Manager (IBMIM) on CentOS 6.x and worked around the issue by installing several packages which were the cause of this identical error: $ sudo /opt/IBM/InstallationManager/eclipse/IBMIM \ -record /root/was8nd_v85_install.xml \ -skipInstall /tmp/was8nd 00:00.46 ERROR [main] org....


3

For me setting the environment variable SWT_GTK3=0 worked. This is described in http://www.eclipse.org/swt/faq.php#gtkstartup.


3

Short answer: no Long: From comments, OP clarified that the question was about Eclipse. The clue that the question was about the application's cursor (displayed as a part of the graphics within the window) rather than the desktop cursor was the comment about the blinking bar. Desktop cursor themes do not blink, and rarely are just a bar. If Eclipse ...


3

The problem is caused because you moved eclipse to a location outside the directory where you installed it. Instead of moving eclipse to a directory in your path, create soft link to the executable. Assuming Eclipse is extracted within your home directory: sudo ln -s /home/masi/eclipse/eclipse /usr/local/bin/eclipse You can then run eclipse without ...


3

Since you are using Arch linux, you have to first install jdk8-openjdk: pacman -S jdk8-openjdk and then set the default java version to java 8: archlinux-java set java-8-openjdk/jre


2

You can install a new eclipse theme. I know "extended VS presentation" which is a very minimalistic theme. Check out: http://andrei.gmxhome.de/skins/index.html Additionally you can install a fullscreen plugin which gives you some little extra space. Check it out here: http://www.scharf.gr/eclipse/fullscreen/update/ Also the thing you have on the bottom, ...


2

Can you also use / convert GTK2 themes? If so, I highly recommend Martin Ankerl's nice compact version of Clearlooks.


2

It seems to me you installed the IDE using yum and then went inside the IDE to install the latest java development tools. If you install Eclipse from the package management system of your linux distribution, then you should install the development tools from this system as well. I'm sure there is an eclipse-jdt package in yum. The dependency is probably from ...


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