Results 1 to 10 of 16
When you are on your own as I am, it's next to impossible to figure out how to do simple commands using Ubuntu.
You Google a topic, find answers, try ...
- 04-17-2011 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 17
Best place/forum for Ubuntu help?
When you are on your own as I am, it's next to impossible to figure out how to do simple commands using Ubuntu.
You Google a topic, find answers, try them, only to find your system is different.
They won't work on your system.
You Google some more. Find more answers, try them, and once again though they worked for some people, your system is different, and they won't work for you.
So what is the best place/forum to go to get help for Ubuntu? (Lubuntu?)
Quick help?
TIA
- 04-17-2011 #2
Just post your question here and see what happens. Sometime you may not get the world record for fastest responses but we have lots of smart people here.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 04-17-2011 #3Just Joined!
- Join Date
- Apr 2008
- Posts
- 17
OK Thanks Mike.
After lots of hard work on my own I am very close to finding my solution but I could use just a wee bit of help to get this thing to work.
I figured out the commands required.
I tried them with xmodmap at the command line and know they work.
I have learned that these commands can be run by inserting them into an obscure and strange sounding file called .bashrc
I have located the .bashrc file.
I didn't have a clue where or how to insert the commands into the file.
I put them at the end of the file and saved the file.
Next time I went back into the file the commands were gone!
Then I tried to sneak the commands near the beginning of the file and saved the file. I went back in and they were still there.
I re-started Lubuntu (re-boot) and checked to see if the re-mapping took hold.
It didn't.
I went back into the famous .bashrc file and low and behold the commands were no longer there!
So three questions:
1. Is .bashrc the file I need to put these xmodmap commands into?
2. If not, what is the file?
3. How/where do I put the commands into the file so they stay there and don't disappear?
TIA
- 04-18-2011 #4Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,946
You're being very vague. What commands are you running or trying to put in the .bashrc file? What are you trying to accomplish? Without knowing what you are trying to accomplish, I don't see how you can expect anyone to help
In your second post you indicate that any changes you make are not saved after reboot which would indicate a read-only filesystem. Are you running lubuntu from a CD/DVD? If not, how are you accessing the file to edit it?
- 04-18-2011 #5Just Joined!
- Join Date
- Apr 2008
- Posts
- 17
I'm sorry for not being clearer.
I am trying to re-map two keys.
The following commands WORK when I run them from the command line DURING A SESSION.
xmodmap -e "keycode 108 = Prior" (remaps Alt_R to PgUp)
xmodmap -e "keycode 135 = Next" (remaps Menu to PgDn)
However trying to lock in these changes PERMANENTLY has proven very difficult!
(the above commands are the ones I tried to put in the .bashrc file
but they disappear each time.)
I am running Lubuntu 10.10 from a USB SD card.
I have not done an installation.
When the program runs at the beginning, (before I get the home screen)
I am given several choices:
- to install the software,
-to do a run-time etc.
- more choices
I choose to simply run the OS and not to install it.
This is because I am still trying it out and don't want to over-write my c: drive's WinXP yet.
TIA
- 04-18-2011 #6Changes are never saved running a live session which is what you are doing. You need to do a persistent install on the sd card to save changes.I choose to simply run the OS and not to install it.
This is because I am still trying it out and don't want to over-write my c: drive's WinXP yet.
Live USB with Ubuntu 10.04 LTS Hesham Bahram
Create a Persistent Bootable Ubuntu USB Flash Drive - How-To GeekLinux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 04-18-2011 #7From that, I take it that you are running from a live session, read-only?I am running Lubuntu 10.10 from a USB SD card.
Live sessions don't carry over any changes made to the system after a fresh boot.
This page might hold a few tips for you. It's generally aimed at USB, but it should help.
Also, here's one specific to Ubuntu.
- 04-18-2011 #8Just Joined!
- Join Date
- Apr 2008
- Posts
- 17
- 04-18-2011 #9Just Joined!
- Join Date
- Apr 2008
- Posts
- 17
- 04-18-2011 #10I guessYou need to do a persistent install on the sd card to save changes.
That is one way to interpet what I saidI did a persistent install. On my c: drive!
Wiped out my entire WinXP!
How about posting the .bashrc file so members can see what is what. Where are you getting these entries from would help also. (just a partial link, put a space between ht tp so it can post since you are a new member).
I am assuming the file you are editing sits in ~/.bashrc (~ means /home )Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks


Reply With Quote
