LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-24-2012, 11:43 PM   #1
darkstar61
Member
 
Registered: Sep 2012
Distribution: agnOStic
Posts: 46

Rep: Reputation: 12
renaming xfce default folders


since i'm anticapitalist to the bone (having a lazydiosynchrasy wit the shift key, expecially when working with console/terminal) i would rename the defaults folders uncapitalizing them > downloads, music, videos etc...)

i'm assuming just renaming them doesn't do the trick, so i guess should there is around a sort of xfce related file that creates that folders

anyone could point me in the right direction to spot that file? (i did some searches but with no luck)

thnx in advance
 
Old 11-25-2012, 12:08 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Did you do it from the terminal? Have you tried through Thunar? I don't think the terminal will update that file you are talking about but Thunar might, if you have that installed. Also have you check the files that start with a dot in your home folder, probably one of them will have what you are looking for.

Regards

Last edited by ukiuki; 11-25-2012 at 12:14 AM.
 
1 members found this post helpful.
Old 11-25-2012, 12:13 AM   #3
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by darkstar61 View Post
anyone could point me in the right direction to spot that file? (i did some searches but with no luck)
I think the file you're looking for is /etc/xdg/user-dirs.defaults.
 
1 members found this post helpful.
Old 11-25-2012, 12:57 AM   #4
darkstar61
Member
 
Registered: Sep 2012
Distribution: agnOStic
Posts: 46

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by Diantre View Post
I think the file you're looking for is /etc/xdg/user-dirs.defaults.
thnx a lot for spotting me to that file...

i edited it as root, uncapitalizing the directories

Code:
relaxing@camarillo:~$ less /etc/xdg/user-dirs.defaults

# Default settings for user directories
#
# The values are relative pathnames from the home directory and
# will be translated on a per-path-element basis into the users locale
DESKTOP=desktop
DOWNLOAD=downloads
TEMPLATES=templates
PUBLICSHARE=public
DOCUMENTS=documents
MUSIC=music
PICTURES=pictures
VIDEOS=videos
# Another alternative is:
#MUSIC=Documents/Music
#PICTURES=Documents/Pictures
#VIDEOS=Documents/Videos
saved it then log out completely (exit from console), but at the successive login the directories remained capitalized (i restarted the box too, to be shure)

any hints?

thnx again
 
Old 11-25-2012, 01:53 AM   #5
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by darkstar61 View Post
saved it then log out completely (exit from console), but at the successive login the directories remained capitalized (i restarted the box too, to be shure)
Probably you need to run /usr/bin/xdg-user-dirs-update --force to create the directories, but before you do that, have a look at these links:

http://freedesktop.org/wiki/Software/xdg-user-dirs

http://www.unix.com/man-page/OpenSol...r-dirs-update/

The system wide configuration is done in /etc/xdg/user-dirs.defaults, the user configuration goes in $HOME/.config/user-dirs.dirs:

Code:
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
 
1 members found this post helpful.
Old 11-25-2012, 04:51 AM   #6
darkstar61
Member
 
Registered: Sep 2012
Distribution: agnOStic
Posts: 46

Original Poster
Rep: Reputation: 12
thnx a lot diantre to pointing me to the xdg thing (i was totally unaware of...)

worked---

Click image for larger version

Name:	Screenshot - 11252012 - 11:34:57 AM.jpg
Views:	71
Size:	87.8 KB
ID:	11307

far as i understand, this configuration should work with all the freedesktop compatible de, right?

thnx a lot for the insight again

Last edited by darkstar61; 11-25-2012 at 11:01 AM. Reason: my bad english... :)
 
Old 11-25-2012, 11:20 AM   #7
darkstar61
Member
 
Registered: Sep 2012
Distribution: agnOStic
Posts: 46

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by ukiuki View Post
Did you do it from the terminal? Have you tried through Thunar? I don't think the terminal will update that file you are talking about but Thunar might, if you have that installed. Also have you check the files that start with a dot in your home folder, probably one of them will have what you are looking for.

Regards
actually i was looking for any xfce related file, since i was unaware of the xdg file(s)

thnx a lot anyway for taking the time to replying to my post...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get files and folders on CrunchBang 10 Xfce desktop? linustalman Linux - Distributions 4 07-01-2011 02:19 PM
XFCE Network ServersI use XFCE (sometimes) but I can not find my network folders on a holzster Ubuntu 0 10-24-2006 05:48 PM
Does XFCE 4.2 Mail Checker work w/ Thunderbird local folders? pnellesen Slackware 2 07-25-2005 08:56 AM
Renaming Folders Tr@ce Linux - Newbie 1 02-19-2005 02:08 PM
KMail and default folders tmorton Linux - Software 0 07-08-2003 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration