You are not logged in.

#1 2016-01-27 19:04:04

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

[RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

Why "Desktop" folder directory on Caja (and very probably on other file browsers as well) is "~/" instead of "~/Desktop/" ?
Wow can we fix it? (i guess it is by editing some config files? which ones?)
And will be this fixed by default on next BunsenLab versions (iso installers and netinstall scripts)?
Thanks in advance! smile

Last edited by nitrofurano (2016-01-27 19:05:36)

Offline

#2 2016-01-27 19:15:35

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,084
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

BunsenLabs does not use Caja

In thunar, "Desktop" is indeed ~/Desktop smile

If there is a simple fix for your problem we could look at implementing it though.

Offline

#3 2016-01-27 19:50:39

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

Head_on_a_Stick wrote:

BunsenLabs does not use Caja

installing Caja is among the very first things i do on BunsenLabs (and Crunchbang) freshinstall! smile

In thunar, "Desktop" is indeed ~/Desktop smile

If there is a simple fix for your problem we could look at implementing it though.

i think i found something at https://bugzilla.redhat.com/show_bug.cgi?id=1057296

at ~/.config/user-dirs.dirs

XDG_DESKTOP_DIR="$HOME/"

should be

XDG_DESKTOP_DIR="$HOME/Desktop"

Offline

#4 2016-01-27 20:11:05

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,084
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

OK, well done finding that smile

If you consider this fixed, please add "[SOLVED]" to the thread title so that other Caja users can find this fix.

Offline

#5 2016-01-27 21:33:10

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

Head_on_a_Stick wrote:

OK, well done finding that smile

If you consider this fixed, please add "[SOLVED]" to the thread title so that other Caja users can find this fix.

thanks, but what i found was related to a user config file, perhaps created when the user account is created, or in the first time that Caja or Nautilus runs - i have no idea yet how this file is generated and from where, or from which file it is copied, or from which packages these files (templates) or scripts/applications (that generates this config file) are from

Offline

#6 2016-01-27 21:35:21

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,084
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

nitrofurano wrote:

i have no idea yet how this file is generated and from where

empty@Arch ~ % head -n3 ~/.config/user-dirs.dirs 
# 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

wink

Offline

#7 2016-01-27 21:37:36

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,074
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

Having no "Desktop" folder is a carry-over from Crunchbang and makes sense since OpenBox doesn't support desktop icons by default, so we ship BL with a custom user-dirs.dirs file. Adding a desktop folder and changing the folder names to all lowercase are some customizations that users can make themselves, as you've found. smile

-edit- Creating a Desktop folder makes perfect sense when using Caja since Caja can/will manage the desktop and supports icons and drag & drop.


I don't care what you do at home. Would you care to explain?

Offline

#8 2016-01-27 21:37:51

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

Offline

#9 2016-01-27 21:42:24

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,074
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

It's useful, but our user-dirs.dirs file is by design.

Not a bug, marking this [RESOLVED]


I don't care what you do at home. Would you care to explain?

Offline

#10 2016-01-27 21:44:37

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

hhh wrote:

Having no "Desktop" folder is a carry-over from Crunchbang and makes sense since OpenBox doesn't support desktop icons by default, so we ship BL with a custom user-dirs.dirs file. Adding a desktop folder and changing the folder names to all lowercase are some customizations that users can make themselves, as you've found. smile

-edit- Creating a Desktop folder makes perfect sense when using Caja since Caja can/will manage the desktop and supports icons and drag & drop.

thanks! smile - and i know that, and that was an issue i had when i used Crunchbang as well, specially after a freshinstall - i also don’t use icons on desktop, as i'm mostly on Fluxbox, WindowMaker, and other "iconless" window managers, and on those like LXDE or Mate i use to have them disabled somehow (i always use Caja with "caja --no-desktop"), but the Desktop folder is always a reference directory for me, mostly because long-time "habits"! smile


Head_on_a_Stick wrote:
nitrofurano wrote:

i have no idea yet how this file is generated and from where

empty@Arch ~ % head -n3 ~/.config/user-dirs.dirs 
# 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

wink

thanks! smile

Last edited by nitrofurano (2016-01-27 21:45:30)

Offline

#11 2016-01-28 00:56:17

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,612
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

Head_on_a_Stick wrote:

In thunar, "Desktop" is indeed ~/Desktop

Not on BunsenLabs, though, as hhh has pointed out. In the default install there's no mention of a Desktop folder anywhere on the Thunar interface.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#12 2016-01-28 07:22:06

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,084
Website

Re: [RESOLVED]"Desktop" folder is "~/" instead of "~/Desktop/" ?

Ooops, sorry! :8

Offline

Board footer

Powered by FluxBB