LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2021, 12:31 PM   #1
abejarano
Member
 
Registered: May 2006
Distribution: Kubuntu
Posts: 96

Rep: Reputation: 15
Change name of hidden files?


Thank you!

Would like to know about changing the name of a hidden file in my user directory. Google changes the way chromium works mostly because the name of its config file is 'google-chrome'.

Last edited by abejarano; 12-06-2021 at 12:33 PM.
 
Old 12-06-2021, 01:30 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,715
Blog Entries: 19

Rep: Reputation: 4510Reputation: 4510Reputation: 4510Reputation: 4510Reputation: 4510Reputation: 4510Reputation: 4510Reputation: 4510Reputation: 4510Reputation: 4510Reputation: 4510
Hidden files are no different from any other kind of file. They just have names beginning with a dot to warn file managers not to display them by default. You can change their name on the command line in the usual way:
Code:
mv .oldfilename .newfilename
If you want to rename them in a graphical file manager, you first have to tell the program to display hidden files. There should be an icon (probably an eye) for doing that.
 
Old 12-06-2021, 06:26 PM   #3
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
If you change the name of a configuration file that an app uses it likely will get recreated with the original name and default settings. It might be possible within the app to change its settings to use a different config file, but when 2 different apps use the same config file it (as you see) causes a conflict.

I suspect that since chrome and chromium both came from the same source and were forked some time ago that the default configs still remain the same. It may even be necessary to go back to the source code for one of them and change it in order to change the file name used for the config.
 
1 members found this post helpful.
Old 12-07-2021, 02:58 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,688

Rep: Reputation: Disabled
Quote:
Originally Posted by abejarano View Post
Google changes the way chromium works mostly because the name of its config file is 'google-chrome'.
That's new to me. By default, Chromium uses the directory ~/.config/chromium to save its configuration data.
 
2 members found this post helpful.
Old 12-07-2021, 08:53 PM   #5
abejarano
Member
 
Registered: May 2006
Distribution: Kubuntu
Posts: 96

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by shruggy View Post
That's new to me. By default, Chromium uses the directory ~/.config/chromium to save its configuration data.
When I read your post, I removed chrome and chromium and reinstalled chromium, Version 96.0.4664.45 (Official Build) snap (64-bit). It created a .chromium-bsu, in my home folder again. There is no google nor chromium in my .config. Thank you, I think my problem is gone.

Last edited by abejarano; 12-07-2021 at 08:55 PM.
 
Old 12-07-2021, 10:08 PM   #6
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,417

Rep: Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565
Chromium bsu is a game, right? Unrelated to chromium browser or google chrome.

Most file manager, ctrl+h will toggle show/hide dotfiles. But renaming dotfiles doesn't sound related to actual issue, whatever it may have been.

Last edited by enigma9o7; 12-07-2021 at 10:12 PM.
 
  


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
[SOLVED] How to remove all hidden directories and folders, and only hidden directories and folders rm_-rf_windows Linux - General 5 04-12-2016 07:28 AM
[SOLVED] USB - Hidden /home Boots. Non hidden /home fails hugothebear Incognito 3 10-28-2009 05:22 PM
name change in /etc/hosts and reboot doesnt change name aussieaubs Linux - Newbie 5 06-26-2009 08:40 AM
bash: mv hidden and not hidden files lupe Linux - General 4 06-22-2009 01:27 PM
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:54 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