Xfce4 Right Click Desktop Open With Terminal Not Working

Xfce4 Right Click Desktop Open With Terminal Not Working Average ratng: 6,8/10 3920 reviews

Jun 04, 2014  Don't worry, a right-click on the desktop will bring up an application menu! Now, Chromebooks use a Windows 7/Mac OSX style dock where the icons are also the Window buttons. You can't recreate this in XFCE as such, so it's worth keeping a way to switch between open windows. Linux Mint Forums. Welcome to the Linux Mint forums! For help, knowledge, and fellowship. Right click on the item for context menu other - ctrl esc same as right click on desktop alt F1 same as right click on desktop alt F2 open the application finder (run command) super p xfce display settings ctrl alt t open terminal ctrl alt.

I used to use Debian's alternatives system to set 'global env' like java, javac, javap but I've read about the disadvantages.

Open

Jul 04, 2012  Is there a way to disable the ability to right click on the desktop for just his user account? Last edited by niqolous (2012-05-27 00:18:56). Disable Right Click on XFCE Desktop. Hi, i'm working in a distro for installing in the workstations of a company and need to disable this feature but it doesn't work.

So I added

Xfce4 right click desktop open with terminal not working on ipad

to my ~/.bashrc and when I open my terminal I can use the commands as expected but my most of my shell scripts doesn't work anymore.

As you can see in the picture below they check if $JAVA_HOME exists and executes the following command which does nothing. When I enter $JAVA_HOME/bin/java -version it works correctly. If I start the script in a terminal it works, too.

So it seems that #!/bin/sh doesn't source .bashrc? Changing it to #!/bin/bash doesn't solve the problem.

I tried to add the export commands to /etc/profile but this doesn't seem to get sourced at startup/login.

Does anyone have an idea or keywords? I think the solution is quite simple but at the moment I'm stuck.

Thank you in advance!

UPDATE:Starting the script in the bash terminal with ./something.sh works fine. Right click and execute or 'Open with bash' (XFCE4 context menu) does nothing.

r3r57
r3r57r3r57

2 Answers

Xfce4 Right Click Desktop Open With Terminal Not Working On Windows 10

Bash loads .bashrc only when the shell is interactive and non-login. In your case the shell is not interactive, so .bashrc is not loaded.

.bashrc contains a check that prevents it from executing if the shell is not interactive. Usually the first thing .bashrc does is:

This will prevent you from calling source .bashrc from your script.The script should inherit from your parent shell, so you should be getting all variable that have been exported before you ran the script.

Also, the preferred shebang is #!/usr/bin/env bash which is more portable.

So in your case:Open a terminal window. That will load .bashrc, but just to make sure, run . .bashrc and then echo $JAVA_HOME to verify that the variable was set correctly.

Then your script will simply be:

If you have some other script related variable that you want to set, you can do that by sourcing a 'settings' script:

ventsyvventsyv
1,9602 gold badges17 silver badges40 bronze badges

Adding additional folders to your PATH variable in XFCE4 with LightDM will not work as expected! Shell scripts that use these additional commands and are started from the graphical environment will fail because the can't find the command. Logging the PATH variable while starting one of these scripts shows that the PATH variable is overwritten with the very default one. Why? Because LightDM hardcodes the PATH variable and overwrites it for the graphical environment. Screw you! Look here!

Source: https://ljwo.wordpress.com/2014/02/02/global-path-in-debian-wheezy-xfce/

Disable it or use another DM.

Xfce4 right click desktop open with terminal not working on iphone
r3r57r3r57

Xfce4 Right Click Desktop Open With Terminal Not Working On Pc

Not the answer you're looking for? Browse other questions tagged javalinuxenvironment-variables or ask your own question.

2016/17 tech it seems like where this group is talking about NOW things

XCB is 2001 tech, not 2016/17 tech. There is no 'new' tech involved here at the syscall surface layer. More importantly, there is no tech specific to WSL involved.

I can make this a separate posting here on WSL's github

This is encouraged if you are able to find a diverge between WSL and a Real Linux VM running with a kernel compiled with CONFIG_DRM=n following CONTRIBUTING.md. But in general you will find that difficult or impossible because there are no known bugs in ipv4 TCP sockets since #493 was closed. If such a diverge existed I would have posted it myself long ago.

Xfce4 Right Click Desktop Open With Terminal Not Working Windows 10

To be perfectly clear: When asking your question in ServerFault (or elsewhere) you won't be mentioning WSL. Because your question isn't related to WSL. You problem will be with getting your scenario running with a kernel compiled with CONFIG_DRM=n (usually in a VM like VirtualBox or Hyper-V). If you would like to see DRM in WSL, UserVoice or Reddit or Twitter are perfect forums to opine on how great that would be.