Results 1 to 9 of 9

Thread: Why can't I rename files on the desktop on ubuntu 22.04 (LTS)

  1. #1
    Join Date
    Apr 2022
    Beans
    1

    Angry Why can't I rename files on the desktop on ubuntu 22.04 (LTS)

    Hi,

    I am running Ubuntu 22.04 on a VMware virtual machine.

    I have a text file on the desktop that I want to rename, but for some reason when I press the rename button nothing happens.

    Is this a bug that I can solve?
    Or at least rename the file in a different way?

  2. #2
    Join Date
    Oct 2017
    Location
    /dev/sdx
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why can't I rename files on the desktop on ubuntu 22.04 (LTS)

    Try run this command in your terminal; To access terminal just press ctrl, alt + t in you Linux Ubuntu desktop or go to your installed application and find terminal. Then run the command below.
    Code:
    echo "This is a test" >~/Desktop/desktoptextfile.txt
    Regards and Cheers.
    corn ubuntuforums community.
    Open Source platform where the real world of human is here. Click here for Solve thread

  3. #3
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,820
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Why can't I rename files on the desktop on ubuntu 22.04 (LTS)

    I don't know about rename buttons. I do all file management from the command line.

    Open a terminal and change to the desktop:
    Code:
    cd Desktop
    The name could be something else if your computer hasn't been set to English.

    Then rename the file:
    Code:
    mv oldname newname
    The mv command can both rename files and move them to a different directory.
    Last edited by Impavidus; April 26th, 2022 at 10:47 AM. Reason: typo

  4. #4
    Join Date
    Oct 2017
    Location
    /dev/sdx
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why can't I rename files on the desktop on ubuntu 22.04 (LTS)

    Quote Originally Posted by thestrongfork View Post
    Hi,
    I am running Ubuntu 22.04 on a VMware virtual machine.
    I have a text file on the desktop that I want to rename, but for some reason when I press the rename button nothing happens.
    Is this a bug that I can solve?
    Or at least rename the file in a different way?
    You can also move your file by using this command below in your terminal.
    Code:
    sudo mv '/home/desktopusername/documents/filename' '/home/desktopusername/desktop'
    To access your terminal in your desktop you can directly press ctrl and alt + t or you can find it in your Linux Ubuntu installed applications. Regards and cheers.
    corn ubuntuforums community.
    Open Source platform where the real world of human is here. Click here for Solve thread

  5. #5
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,820
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Why can't I rename files on the desktop on ubuntu 22.04 (LTS)

    Quote Originally Posted by mIk3_08 View Post
    You can also move your file by using this command below in your terminal.
    Code:
    sudo mv '/home/desktopusername/documents/filename' '/home/desktopusername/desktop'
    To access your terminal in your desktop you can directly press ctrl and alt + t or you can find it in your Linux Ubuntu installed applications. Regards and cheers.
    But don't use sudo when you don't need it and keep in mind that Linux is case sensitive: desktop ≠ Desktop.

  6. #6
    Join Date
    May 2010
    Beans
    3,242

    Re: Why can't I rename files on the desktop on ubuntu 22.04 (LTS)

    What is the output of:
    Code:
    ls -la ~/Desktop/*

  7. #7
    Join Date
    Oct 2017
    Location
    /dev/sdx
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why can't I rename files on the desktop on ubuntu 22.04 (LTS)

    Quote Originally Posted by Impavidus View Post
    But don't use sudo when you don't need it and keep in mind that Linux is case sensitive: desktop ≠ Desktop.
    Yes. sorry for that. you can change it then. you can easily then use mv to move any file to your desktop.
    Code:
    mv '/home/username/downloads/filename' '/home/username/Desktop'
    If you want to perform any administrative task use sudo then. Regards and cheers
    corn ubuntuforums community.
    Open Source platform where the real world of human is here. Click here for Solve thread

  8. #8
    Join Date
    May 2010
    Beans
    3,242

    Re: Why can't I rename files on the desktop on ubuntu 22.04 (LTS)

    The d in downloads needs to be capitalised

  9. #9
    Join Date
    Oct 2017
    Location
    /dev/sdx
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why can't I rename files on the desktop on ubuntu 22.04 (LTS)

    Quote Originally Posted by ActionParsnip View Post
    The d in downloads needs to be capitalised
    Thanks ActionParsnip for the reminder. And this also can be followed in the nautilus folder names. I'm not particular in case sensitive when it comes to folders but when encounter some error like this I can easily manage it. Thanks and regards.
    corn ubuntuforums community.
    Open Source platform where the real world of human is here. Click here for Solve thread

Tags for this Thread

Bookmarks

Posting Permissions

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