Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    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.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    17
    Quote Originally Posted by MikeTbob View Post
    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.

    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

  4. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,113
    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?

  5. #5
    Just Joined!
    Join Date
    Apr 2008
    Posts
    17
    Quote Originally Posted by yancek View Post
    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?
    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

  6. #6
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Posts
    3,865
    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.
    Changes 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.

    Live USB with Ubuntu 10.04 LTS Hesham Bahram

    Create a Persistent Bootable Ubuntu USB Flash Drive - How-To Geek
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  7. #7
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    I am running Lubuntu 10.10 from a USB SD card.
    From that, I take it that you are running from a live session, read-only?
    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.

  8. #8
    Just Joined!
    Join Date
    Apr 2008
    Posts
    17
    Quote Originally Posted by rokytnji View Post
    Changes 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.

    Thanks for the tip.

    I did a persistent install. On my c: drive!
    Wiped out my entire WinXP!

    To make a long story short.
    The damn .basher file still doesn't work!
    The keys don't map.

    This time the .basher file retains the two lines of code, but no re-mapping is done!

  9. #9
    Just Joined!
    Join Date
    Apr 2008
    Posts
    17
    Quote Originally Posted by FlintLock View Post
    From that, I take it that you are running from a live session, read-only?
    Live sessions don't carry over any changes made to the system after a fresh boot.
    Yes it was a live session, but not any longer!
    See my post above.
    What a bummer!

  10. #10
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Posts
    3,865
    You need to do a persistent install on the sd card to save changes.
    I guess

    I did a persistent install. On my c: drive!
    Wiped out my entire WinXP!
    That is one way to interpet what I said

    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
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •