Slackware :: My Bashrc Does Not Load?
Nov 10, 2010iam using slackware 13.1 ,i have this in my .bashrc :
Code:
# .bashrc
# Add bin to path
[code]...
iam using slackware 13.1 ,i have this in my .bashrc :
Code:
# .bashrc
# Add bin to path
[code]...
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.
Slackware 13 didn't install correctly, and I accidentally installed it on my main hard drive on my Toshiba laptop, now it has the MBR all jacked up. I can't boot from CD. If my external usb HD is formatted in a linux format, I have the possibility to boot from that device, but as soon as I load another linux distro, such as ubuntu or pardus, it won't load, and actually disappears from my boot menu. Slackware is dead it runs into a Kernel problem and locks up and then i'm forced to reboot.
View 4 Replies View RelatedI played with awn for a few days on xfce. I came back to xfce4-panel. Now, every time I startx, I've got the error popup: Starting avant-window-navigator. Warning: Screen isn't composited. run compiz or another compositing manager.
I looked in the .xinitrc and can't seem to find any mention of awn or avant. How could I stop it from trying to load. I could tick "Don't show this message again", but it doesn't solve the problem. I could also uninstall awn, but I'd rather solve it properly.
I played with awn for a few days on xfce. I came back to xfce4-panel. Now, every time I startx, I've got the error popup: Starting avant-window-navigator. Warning: Screen isn't composited. Please run compiz or another compositing manager.I looked in the .xinitrc and can't seem to find any mention of awn or avant. How could I stop it from trying to load. I could tick "Don't show this message again", but it doesn't solve the problem. I could also uninstall awn, but I'd rather solve it properly.
View 2 Replies View RelatedJust curious if anybody can watch this site with slackware/gxine or other program? [URL]
gxine says there is no file to load.
I'm using slackware 13.1 and xfce.
How to set conky to load at startup?
View 11 Replies View RelatedTrying to launch kmix, I get a bouncing icon for a few seconds, the kmix icon appears briefly in the task manager, then disappears. If I attempt to launch kmix from a terminal as in
Code:
kmix &
I get message about the process number, but no visible interface.
My audio is at a very low level and would like to improve that.
I've installed Slackware 12.2 on a 12 year old desktop. It is the only OS on the machine. When I press the Power button it stops at Slackware's splash screen asking me to choose an OS, even tho' there is only one to choose from. I installed LILO to the MBR and that is also listed there as a possibility.
Is there a way to set Linux so it will simply load automatically?
The program "qtconfig" does not load saved config on startup.
I just installed slackware-current from today's update (mirrored from ftp.slackware.com). The program "qtconfig" seems to have saved my changes to "~/.config/Trolltech.conf". However, after restarting qtconfig all options become the defaults.
I verified this in both the C locale and a UTF-8 locale.
Another computer of mine has a -current system from a few months ago and doesn't have this problem.
I'm curious as to why some things are not happening at boot time (i end up having to manually load them).
In /etc/rc.d/rc.modules (near the bottom) i have set "CPUFREQ=on" and commented out any modules not specific to my hardware.
I have left this one uncommented:
Code:
And below the "### CPU frequency scaling policies:" i have;
Code:
uncommented. My scaling governor is set to:
Code:
Now whenever i reboot my machine `lsmod` is not showing any of either powernow-k8 or cpufreq* related modules.
I know i could use /etc/rc.d/rc.local with these:
Code:
But seems to defeat the purpose of rc.modules, any idea why they are not being loaded at boot... ?
Code:
With slackware64-current
I'm booting with Slackware 13.1 x64 My MB is GA-X58A-UD5 rev. 2 but I cant boot. My HD which is connected to the SATA3 port 6 and 7 is not getting detected. It is a Marvell SE9128
How can I tell the Huge.s to load the drivers of this controller?
I am running LiLo for the first time from my MBR..I seem to like it very much ..In fact i want LiLo to load other Kernels (Ubuntu 10.10) Also I was surprised when it detected my drive and activated the LBA32option...GRUB2 also had a problem accessing my drive beyond the BIOS limit (149GB is seen by BIOS wheras I have 160GB) I am not sure but want to see if LiLo can succeed in reading partition beyond 1024 cylinder limit. How do I modify lilo.conf to add Ubuntu Kernel and Image?
View 6 Replies View RelatedI swore I wouldn't do it again, but I did it anyway and installed 'current,' but I'm using Xfce not KDE. Everything was working very well, until I tried to print this morning. From Okular it would load the paper then stop and not print. From OpenOffice it would load and print, but the output was garbage.
Finally, I moved copies of what needed to be printed to the Xp partition, booted to Xp, and documents printed out just fine. As noted I'm running Slackware64 'current' with the latest versions of Cups and Hplip. The printer is a HP 940c. Hplip reports everything is fine, as does CUPS when running it in a browser (localhost:631).
i compiled miro with the slackbuild [URL] and i have this message when i launch the program
Code:
Traceback (most recent call last):
File "/usr/bin/miro.real", line 140, in <module>
import miro.storedatabase
File "/usr/lib64/python2.6/site-packages/miro/storedatabase.py", line 68, in <module>
[code]....
I downloaded a few themes from kde-look.org, but now I have no idea how to load them under styles. How can one load a downloaded theme under styles?
View 14 Replies View RelatedTried to get my VDR working again, but the dvb modules refuse to load code...
View 7 Replies View RelatedEverything worked fine until yesterday, but now when I open Firefox and I try to load a video, I simply get the black video. It's like it is loading but nothing appear and nothing happens! The page is loaded but the video is not shown
I changed anything, I tried to "reinstall" the .so flash plugin... but no luck :S
I also tried to start firefox from command line to see if there's something wrong but nothing...
It's like the loading time for the flash video is infinite.
I have been running various versions of 13.37 -current on my Lenovo Thinkpad T410 and it has mostly been very good but I have one problem with the touchpad on this laptop.I want to use the touchpad but disable tapping so I have /etc/X11/xorg.conf.d/50-synaptics.conf containing
Code:
Section "InputClass"
Identifier "touchpad"
[code]....
When trying to load Qmake project in kdevelop it fails and write: "Could not load project management plugin KDevQMakeManager" and then:
"project importing plugin (KDevQMakeManager) does not support the IProjectFileManager interface."
I'm having a strange problem with gvim. I've installed Slackware on 4 computers now, and this latest one is the first I've seen this issue on. I use the command line for almost everything, and only use gvim in Firefox with Vimperator. So it isn't something I use all the time, but when I need it I really need it. Using textboxes (like, you know, on LQ) is starting to drive me up the wall Anyway, when I load gvim (through Vimperatorr other means) the text is unreadable. It does seem to become readable after it gets covered by another window, but as I type, the new text is unreadable again. Attached is a screenshot, of this post. And, actually, I'm seeing similar behaviour in Gimp.Attached is a second screenshot. The weird lines seem to appear and disappear when the mouse rolls over the area. I don't use very many GUI programs, just Firefox for the most part (which isn't displaying this behaviour). So, this could be a general X issue, or perhaps a WM issue.
View 1 Replies View Related64bit Slack doesn't recognize my ethernet device. ifconfig -a show no eth0. It's an onboard nvidia MCP55 ethernet nic. Never had this problem using 32 bit Slack.
When I try to modprobe forcedeth I get the following error:
repeats those two statements 3 times
I just recompiled my kernel with every possible 10/100 ethernet device included in the modules. Still no go.
I want something like
Code:
export ROS_PACKAGE_PATH=~/ros:$ROS_PACKAGE_PATH
to be done already for me when I open a new terminal. How do I edit the .bashrc so that this variable is always set already?
I'm not sure if this is a Debian-specific question or a KDE question.
FYI:
uname -a
Linux DESKTOP 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) i686 GNU/Linux
(Running KDE).
Question:
Upon logging in (typically, for the first time each day) I would like to see a console window/shell or a simple terminal-emulator/shell automatically open up.
The reason is: In order to get my .bashrc to execute I have to log-in, then bring up an xterm or some other terminal-emulator.
Background: My .bashrc has a once-per-day routine/section that will set up my desktop to look the way I want it on my initial log-in (primarily with my Java applications up/running and displayed and waiting for me).
Then, later on that day whenever I bring up new bash shells, my .bashrc is executed but that once-per-day routine/section is no longer executed.
I am curious since "Run command as a login shell" is UNTICKED (I think for all new users) under Gnome Terminal -> Menu Bar -> Profiles -> Edit -> Title and Command , BUT .bash_profile is sourced. I thought .bashrc should be sourced instead ?
View 6 Replies View RelatedI am using Ubuntu 9.10. I was installing network simulator 2. After installation I get the following message.
Please put /home/administrator/Downloads/ns-allinone-2.34/bin:/home/administrator/Downloads/ns-allinone-2.34/tcl8.4.18/unix:/home/administrator/Downloads/ns-allinone-2.34/tk8.4.18/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
[Code].....
My friend suggested that it is something to do with .bashrc file. I fund files like .bash.bashrc.
I tried to make a function to put in either my .bash_aliases or .bashrc file to make a local backup of a file, but when I call the function and try to use tab completion I get the following error:
Code:
cp: cannot stat `help': No such file or directory
The function I added is as follows:
Code:
function bk
[Code]...
Also interestingly, if I define this function at the prompt rather than in my .bashrc, tab completion works fine.
how to edit or add codes to ~/.bashrc?? and also what is this bashrc if anyone could explain... i have tried editing this bashrc without success... how to save the changes in bashrc...
View 5 Replies View RelatedI get the following error on editing my .bashrc file.How to fix it??
Code:
karthick@Ubuntu-desktop:~$ gedit .bashrc
(gedit:3934): GLib-CRITICAL **: g_bookmark_file_load_from_data: assertion `length != 0' failed
[Code]....
I have what I hope is a fairly simple question to answer. In my ~/.bashrc file I can create this alias:
Code:
alias uChmodDP='chmod -R $1 $2' #specify permissions. and the variables work fine. But I cannot seem to get any love from this alias:
Code:
alias umnt='umount /dev/$1' I realize the likely problem is the variable following hot on the heels of a specific directory, but is there anyway to specify a variable in an alias like this? For some reason I cannot umount usb pen drives by right clicking, and have to always resort to the terminal to do so, which for me is no real biggie, but if I could create this alias it would be an even better no biggie to umount using the terminal.
Actually, the inability to right click to umount usb devices seems to be a Thunar issue since I run xubuntu. Using Nautilus I am able to right click and eject/safely remove devices. Using Thunar however, right click unmount always pukes back an error that the device must have been mounted on the command line or some such BS. But like I said it is no real biggie to use terminal, but an alias would be even nicer. I prefer using Thunar and Xubu most of the time b/c my laptop is quite underpowered.