Ubuntu :: Do Env Vars Set In .bashrc Not Effect The Gnome Desktop

Feb 15, 2011

I've installed python2.7 and I want all those convenient python libs I've installed from the repos to work with python2.7, but the libs in the repos get installed to python2.6.

No problem, I'll just set the $PYTHONPATH env var so that python2.7 will look at the python2.6 libs. I defined $PYTHONPATH as I wanted in the .bashrc file, and now python2.7 works as I desire when starting it from the shell.

The problem is when I start python2.7 from the gnome desktop (by clicking an application shortcut or button) it doesn't work. My guess is that the env vars set in .bashrc do not effect the gnome desktop, and so my question is what can I do to set an env var on the desktop?

To demonstrate my problem. If I open a bash shell and type "idle-python2.7 -n" idle will open, and I can "import twisted" without any problem in the idle python shell. However, if I do alt-f2 and run "idle-python2.7 -n" idle will still open but sys.path is not set as I would like and I cannot "import twisted". So there is clearly different behavior between an application started from the shell vs one started from the gnome desktop.

Environmental variables have long confused me, I'm also open to other solutions to my "getting python2.6 libs to run in python2.7" problem.

FULL INSTRUCTION: Both .bashrc and .gnomerc are located in your home directory. Put the following at the end of both files:

You should now be able to import the python libs installed from the repos in python2.7.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Bashrc Take Effect Immediately In Root Shell?

Mar 9, 2011

How do you get your bashrc take effect immediately in your root shell? I read this.

[URL]

Code:
. ~/.bashrc

Does this not work in your root shell?

View 1 Replies View Related

General :: Gnome Desktop Effect Disabled After Reboot?

May 12, 2010

desktop effect is disabled after reboot after reboot and go to : system->prefer->desktop effect , the box show the enable desktop effect button already clicked ! but no effect .i use F11 ,and the lspci shows:

Code:

01:00.0 VGA compatible controller: nVidia Corporation GeForce 9200M GS (rev a1)

View 2 Replies View Related

Fedora :: Gnome Desktop Wallpaper Changes Don't Stay In Effect After Reboot

Jun 9, 2010

This is something that I started to notice in F12 and it appears to be the case as well in F13. Any changes that I make to my desktop wallpaper in Gnome don't stay in effect after a reboot. Any ideas as to what is going on here? I don't mind the default blue swirly thing in F13, but I at least want the style change from scale to center to stick.

Choosing the 'set as default' option doesn't seem to help either, as that changes the screen you see at the Gnome login. Once I log into my account the default desktop wallpaper is still there.

View 14 Replies View Related

Fedora :: Enable Wooby Effect - Compiz Desktop Effect - In 15

Jun 23, 2011

How to enable wooby effect (compiz desktop effect like ubuntu) in fedora 15.

View 1 Replies View Related

OpenSUSE Multimedia :: ATI 5650 But No Desktop Effect No 3D Effect?

Oct 16, 2010

i got driver and when i install driver and reboot computer I got just terminal and when I type startx I get error FLGRX and sam log file or something like that.

instruction i found here but some comands didn't worked openSUSE Lizards

View 9 Replies View Related

Ubuntu :: Appearance Effect Change Automatically From Extra Effect To No Effect?

May 7, 2010

I have upgraded to 10.4 and and after try to install mac look in ubuntu.My screen start flickering, I found it this due to in system => preference => appearance => effect become no effect automatically (as each and every time I select extra effect)After some time.for changing this setting i need to turn off the computer and restart then after i can do it i.e. change effect to extra effect. Its done after following installation

[URL]

View 4 Replies View Related

Ubuntu :: Gnome Splash Screen Has No Effect?

Apr 20, 2011

I installed the Gnome Splash Screen application to change my login splash screen to the same background as my desktop.After using the program and applying my changes, and rebooting nothing happened. I still have the pink default image in the background instead of the image I chose.I did not have any luck using a search engine to solve this issue.I'm using Ubuntu 10.10 with an Nvidia graphics card.This is my first attempt at linux support of any kind and I hope I am in the right place and using an acceptable format

View 8 Replies View Related

Ubuntu :: Desktop Effect Could Not Be Enabled?

May 10, 2011

Before i had problem with compiz in my laptop and i has solve it,but new problem found with driver of ATI HD 4650 in my laptop (Dell N4010),

View 1 Replies View Related

Ubuntu :: Desktop Effect Always Disabled After Boot

Oct 22, 2010

After boot process, desktop effect always disabled. I have checked "Enable desktop effect" but still disabled. So I have turn it on manually. Whats the problem with my desktop effect? I'm using Kubuntu 10.10.

View 3 Replies View Related

Ubuntu :: Cannot Enable Desktop Effect - Kubuntu 10.10

Nov 10, 2010

I can not enable Desktop Effect

In system setting->desktop effect I find Wrote:

The desktop effects are not available on this system, because of the following technical problems.

My video card is ati 3650. driver installed with jokey.

I ran this command:

OpenGL vendor string: ATI Technologies Inc.

Control Center for the ATI graphics accelerators

View 2 Replies View Related

Fedora :: F15 Gnome 3: Disable Top Right Corner Effect?

Jun 28, 2011

Really get annoyed when mouse is moved to the top right corner then the window is switched to the application view/chooser. I want to get rid of this effect and modified following key in gconf-editor as suggested in [URL]apps/compiz/plugins/scale/allscreens/option, change initiate_edge from TopRight to None. but nothing happens on the effect. The top right corner effect still there

View 14 Replies View Related

Ubuntu :: Video Card - Desktop Effect Could Not Be Enabled

Feb 24, 2010

1. When I try to enable Desktop Effects it says "Searching for Available Drivers" then says "Desktop effect could not be enabled".

2. When I play and game the has 3d Modeling, it chops to about 3 FPS and is completely unusable. But heres the deal, I have a ATI Raedon X850XT Platinum card, which I know can handle it. I'm using Ubuntu 9.10 and have everything up to date.

View 9 Replies View Related

Ubuntu :: Desktop Effect Won't Enable After Updates In Lucid?

May 6, 2010

The reason why I'm pissed because so many people out there that use Linux aways say Microsoft sucks. But I have more problems with Linux, at least with Microsoft problems I can solve. Now since I got that out of my system, here's my issue.

I just installed LTS 10.04 everything was working fine, I have an ATI 5700 card installed so I installed the ATI drivers not the open stuff. After install the drivers worked perfectly no problems. After several days of using the computer, I said I'll run some updates. I did so and rebooted my computer and BOOOM now my ATI drivers do not work. I can't enable desktop effects, can't use cube etc. Not only that but if I go to the prior build it won't work there either. If this was windows 7, I would just reinstall and it would work.

Luckily for me I made a image of my Ubuntu 10.04 and did a restore and everything went back to normal because I restored the image prior to the update. Now just for kicks I ran the updates again to be sure the updates did indeed break the vid drivers. Yep, after the updates ran, reboot, BOOM broke again. What gives? Is it the kernel updates? If so then I guess I'll run updates without updating the kernel. By the way I did try to install the drivers that come with Ubuntu but that work either. I guess I have to do the restore again. I rather use the ATI drivers vs the open stuff.

Questions are the updates unstable? If it is then why release? Can anyone provide any solutions? Should I run updates but skip Kernal changes? If not then what is blowing up the drivers?

View 2 Replies View Related

Ubuntu Multimedia :: 10.10 Sloppy Video - Desktop Effect Cannot Be Enabled

Oct 18, 2010

I installed 10.10 (tried upgrade and clean install) on my thinkpad x40. I could not enable desktop effects and video playback is very sloppy. On 10.04 works fine. I tried compiz-check

Code:
Gathering information about your system...
Distribution: Ubuntu 10.04
Desktop environment: GNOME
Graphics chip: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
Driver in use: intel
Rendering method: AIGLX

Checking if it's possible to run Compiz on your system...
Checking for texture_from_pixmap... [ OK ]
Checking for non power of two support... [ OK ]
Checking for composite extension... [ OK ]
Checking for FBConfig... [ OK ]
Checking for hardware/setup problems... [ OK ]

This is the output on 10.04
Code:
Gathering information about your system...
Distribution: Ubuntu 10.10
Desktop environment: GNOME
Graphics chip: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
Driver in use: vesa
Rendering method: AIGLX

Checking if it's possible to run Compiz on your system... [SKIP]
Checking for hardware/setup problems... [SKIP]
At least one check had to be skipped:
Error: vesa driver in use
Would you like to know more? (Y/n) y

The vesa driver is not capable of running Compiz, you need to install the proper driver for your graphics card. I tried with newer kenel, but no luck. I tried to install the newer driver from intel. I am not quite sure I managed to install them properly, though. Is this the appropriate sub-forum for this topic, or "hardware and laptops".

View 6 Replies View Related

Fedora Installation :: Why Desktop Effect Don't Work

Jun 25, 2009

i use fedora11 and i try to install driver nvidia . my video card is show Graphic processorGforce 7300SE/7200GS . at nvidia x server settings > x server information show driver version 173.14.18 serverversion- 11.0 Operating system- Linux -x86 i want to know why desktop effect don't work?

View 14 Replies View Related

CentOS 5 :: Desktop Effect Do Not Work With Xinerama?

Mar 30, 2011

I am trying to configure CentOS 5.5 to run Desktop Effectbut Everytime I tried to enable it it gived me "Desktop Effect does not work with Xinerama"I searched everywhere there seems to be nothing about this perticulat issue.so i am hoping that it will get me somewhere here.I used to use ATI Radien X1500 but i have uninstall the fglrx and removed the device.And I am now using: "Intel Corporation 82946GZ/GL Integrated Graphics Controller"Here is my current Xorg.conf

# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"

[code]....

View 2 Replies View Related

Fedora :: Add Path In .bashrc By Commenting Out Old Path And Adding New One - Command Source ~/bashrc

Jun 14, 2011

When I add some path in .bashrc by commenting out old path and adding new one like this:

#EXPORT HOME_PLAY=/home/gem/old_play
EXPORT HOME_PLAY=/home/gem/play
EXPORT PATH=$PATH:HOME_PLAY

After saving above changes, I enter the command: source ~/.bashrc Now if I do echo $PATH, the path shows both the old PLAY_HOME and new PLAY_HOME. This is really bad and messes up a lot of things in my project. This problem only goes away if I logout or reboot, a rather very long process. What is happening is that the old path is added to new path element and the old path includes the old path element you want to remove.

View 10 Replies View Related

OpenSUSE :: 'maximize Window' Effect - Delay When Maximizing Windows (Gnome)?

Mar 2, 2010

Using gnome I love the desktop effects, except the 'maximize window' effect. There is an annoying delay when I maximize a window. Is there a way to turn this particular effect off, while leaving all the others on. I looked in control center>desktop effects, but the option is not there. The only way I could turn off the maximize effect was unchecking the "enable desktop effects" checkbox. But this turns all effects off. All other effects run smooth and snappy.

View 3 Replies View Related

OpenSUSE :: KDE 4.5 Desktop Effects - Turn Off The Jerky Dimming Effect

Jun 11, 2011

Just installed openSUSE 11.4 which comes with KDE 4.5. It has taken a while for me to find my way around and I am still trying to change settings so that VLC is default multimedia app rather than Amarok or similar. how to turn off the jerky dimming effect which was being applied when I close a window. Out of interest does anybody know what memory and cpu overhead these effect costs and how many lines of code? More to the point does anybody know who needs them?

When using Dolphin with column view does anybody know how to have the left margin shown rather than the right. As it is now, with long files names, the right hand end of the filename is shown and to see the directories I have to use a slider to scroll back to the left. I do not recall this being the case before. It used to be that the long file name was cut off unless one scrolled. In that way you could see all the directories and when moving files life was simple. Now this is not the case and actions take longer.

View 4 Replies View Related

OpenSUSE Hardware :: Which Driver For ATI Radeon HD 4800 - Desktop Effect

Dec 24, 2009

When I first installed openSUSE 11.2, it has no xorg.conf of course, but it detected the subject card and loaded radeon instead of radeonhd. When I used Sax2 to create an xorg.conf for a problem, I noticed that it for the device it created:

[Code]....

When I rebooted with this xorg.conf, lsmod says that it's still radeon that is loaded:

[Code]...

I know that radeonhd does cause some issues with KDE desktop effects, but according to Radeon - openSUSE, the cards above X1900 should be using radeonhd. Instead of either of these, should I try to use the ATI driver fglrx? It seems from my gleaning of forum posts that these have some problems, but I am having some desktop effect issues that maybe would be addressed with that driver.

View 4 Replies View Related

OpenSUSE Install :: Shutdown / Restart Screen Distortion With Logout Desktop Effect

Mar 28, 2011

When trying to "Leave" the system (either via the small button on the lower right of the taskbar or by right clicking on the Desktop and selecting "Leave") the logout / shutdown / restart screen comes up. I have the "Logout" desktop effect activated, which is supposed to desaturated the background when the Leave screen appears. However, instead of simply greying out the background, the image on the desktop and the rest of the screen also gets slightly distorted, with seemingly random distortion effects cropping up all over the place (e.g. horizontal lines or large blurs).

These distortions are different every time the Leave screen comes up. The Leave screen itself is displayed fine, and apart from the dodgy background I have no other issues with the whole process (the system shuts down or restarts properly according to my choice). I am using the Radeon drivers, and all other desktop effects I have on (Magic lamb, cover switch, present windows, etc) work fine and without a hitch. It's only the Logout effect that seems to glitch. Are the distortions intentionally created by the effect in order to emphasize the focus on the Leave screen?

View 2 Replies View Related

Ubuntu Servers :: Setting Up Env Vars At Startup

Jun 21, 2010

one of the servers is the "main guy" which has NIS and NFS. the others mount the partition and can log in whith the same "main" account.

my problem is that i need to call a startup script "settings.sh" to set some enviroment variables for the cluster to work.

this script is on the NFS folder.

i would like if possible to call this script as early as possible, even before login phase, since they are servers and can be shutdown, restarted, etc.

at the moment i need to log via ssh into every one of the 4 nodes and do "source /opt/cfc/sge/default/common/settings.sh" manually each time they reboot.

i would like to put this script somewhere so that it gets called after the NFS mount, but without the need to log into an account. is possible?

otherwise i could set the nodes to automatically login into the main account..

im a little confused on something really simple, i know. But on the past i always used .bash_rc, this time i dont want to take that solution.

View 4 Replies View Related

General :: Get All Vars And Set Locally In Script ?

Mar 14, 2011

I am new to linux and need to do this in a script.

1. Get all the vars (env command)

2. Set them locally (name, value pair) in script using loop iteration.

Pseudo code

Code:

View 2 Replies View Related

Ubuntu :: Remove The "squares Effect", When Minimizing A Window Without Desktop-effects

Aug 22, 2010

is there a possibility to remove the ugly "squares"-effect, when minimizing a window by using no desktop-effects?

View 3 Replies View Related

Ubuntu :: Apache2 Mod_Rewrite - Passing The Artist=$1 To The Server GET Vars

Sep 9, 2010

I've given a bit of support using Mod_rewrite to use magical urls to redirect to scripts, but when I migrated to Ubuntu's Apache2... I'm lost. I basically want to rewrite like this:

Code: RewriteRule ^artist/(.+)/$ artist.php?artname=$1 But I noticed that it wasn't passing the artist=$1 to the server GET vars. Then I noticed that if I changed the name of the file in both the rule and the file system to artists.php, typing artist/blah/ no longer was found. So then I realized that if I removed the rewrite rule artist/hello/ would still resolve to artist.php without any parameters my htaccess is like so:

[Code]...

View 1 Replies View Related

General :: 'set' Command To Output Vars Without Values?

Sep 3, 2010

I need a list of shell variables without values and without finctions. Can't find an option for set or typeset to print values only

View 4 Replies View Related

Programming :: Calling Vars In A For Loop In A Shell Script?

Oct 8, 2010

# variable declaration
stt=10
enn=20
stp=1

# I want to do it in the following structure but not sure how to call # the stt, enn and stp in a for loop

for (( i = $stt; i -le $enn; i=i + $stp ))
do
blah blah
done

View 9 Replies View Related

Ubuntu :: When Logged Into Gnome Desktop - Message - The GNOME Session Manager Was Unable To Read File

May 3, 2010

When i logged into a gnome desktop i got this message: "The GNOME session manager was unable to read file:'/home/(desktop name)/ICEauthority'. If this file exists it must be readable by you for GNOME to work properly. try logging in with failsafe session and removing the file." What commands do i use for that? or do i need to do something else?

View 2 Replies View Related

OpenSUSE Network :: OpenVPN - Permission Denied For Vars Command

Mar 30, 2010

I did some reading on Openvpn and am following some instructions I found @ Install & Configure OpenVPN SSL VPN in SUSE & openSUSE Linux | SUSE & openSUSE

I keep getting the same error message when I run the . ./vars command
"NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/2.0/keys"

But when I run ../vars I get
"Bash: ../vars: Permission denied"

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved