You are not logged in.
Pages: 1
As the title says, I want to find out which package made a folder in my home directory. It always show up again everytime I delete it, like immediately. This is the output of my ls ~/
Backups Desktop Downloads Fg[? Music Public Templates Videos
ChartNexus Documents Dropbox Mail Pictures SPSSInc tmp
The folder I mean:
Fg[?
The folder is empty though and I don't find any problem it does to my laptop. But I just found it annoying. It shown in a strange unicode on my File Manager (Thunar). Hope someone can help me. I'll post anything if needed here to solve this problem. And my packages are all updated everyday and I don't find any fix yet from the package who did this. It's like already a week since I encounter it. Thanks
Offline
No package should own a file/folder in $HOME I believe. To answer your question:
pacman -Qo /path/to/file
Last edited by graysky (2013-06-09 17:38:49)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
No package should own a file/folder in $HOME I believe. To answer your question:
pacman -Qo /path/to/file
Yeah it shows no package owns that folder. So how does that folder appears? How can I find the log of the making of that folder?
I tried
dmesg | grep Fg
and found nothing.
Offline
I think xdg-user-dirs can create some of them.
Offline
It's likely something broken in one of your shell initialization files. Pastebin them.
Offline
I think xdg-user-dirs can create some of them.
I don't think so, because there wasn't any update from xdg-user-dirs for a long time and I don't see anything like that in my ~/.config/user-dirs.dirs. That folder is shown in some strange unicode like a Fg and a box which has 0 0 7 F in the box.
Offline
It's likely something broken in one of your shell initialization files. Pastebin them.
What is shell initialization and how to submit it? Forgive my newbieness
Offline
I think xdg-user-dirs can create some of them.
I don't see anything in the PKGBUILD creating a file that the package owns: https://projects.archlinux.org/svntogit … -user-dirs
Doing so violates packaging standards: https://wiki.archlinux.org/index.php/Ar … pkg_duties
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Your .bashrc and .bash_profile, probably. Where you set your shell prompt and environment variables.
Offline
Also, has this been happening for a while? Was it happening before your last reboot, or is it within a single session? If the latter, what is the output of `ps -au`
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Your .bashrc and .bash_profile, probably. Where you set your shell prompt and environment variables.
I'm using zsh with Oh-My-Zsh configs. Moved the zshrc to my /etc/zsh/zshrc and the configs path to /etc/zsh/.oh-my-zsh. But that was a long time ago and I never updated the configs from git. This is my pastebin of /etc/zsh/zshrc. Hope u can help me solve it
Also, has this been happening for a while? Was it happening before your last reboot, or is it within a single session? If the latter, what is the output of `ps -au`
Happening for a week or more, Happens every reboot and when I delete it, it will recreate the folder immediately. This is the output of ps -au
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 205 4.7 1.9 161472 19832 tty7 Ss+ 00:18 6:50 /usr/bin/X -nolisten tcp
budiman 7614 0.0 0.4 34944 4300 pts/0 Ss+ 02:37 0:00 zsh
budiman 20295 1.5 0.3 32388 3620 pts/1 Ss 02:42 0:00 zsh
budiman 20311 0.0 0.1 12888 1376 pts/1 R+ 02:42 0:00 ps -au
Last edited by crazyg4merz (2013-06-09 19:42:55)
Offline
lucke wrote:I think xdg-user-dirs can create some of them.
I don't see anything in the PKGBUILD creating a file that the package owns: https://projects.archlinux.org/svntogit … -user-dirs
Doing so violates packaging standards: https://wiki.archlinux.org/index.php/Ar … pkg_duties
You install that package, you have Desktop, Music, etc. created on login.
Offline
xdg-user-dirs only creates those directories when you run the xdg-user-dirs-update program. But that is put into xinitrc.d, so if you source everything in that directory from your xinitrc, then you are (indirectly) creating those files at every startup of X. But the directory in question is most defintely not part of xdg-user-dirs.
Either this is some program that is running "in the background" that constantly recreates that directory (not so likely), in which case we can try the blunter instrument of `ps -A` which would show it ... with lots of other stuff. Or, more likely, it is something in your prompt or pre/post command functions.
Have you tried deleting the directory from a gui file manager? Alternatively, do you have bash installed? If so, can you try deleting it from bash (to exclude any zsh pre/post prompt issues).
Last edited by Trilby (2013-06-09 20:32:22)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
You install that package, you have Desktop, Music, etc. created on login.
True enough but these are not owned by the package itself.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Pages: 1