LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 03-18-2019, 05:15 PM   #1
jmmslbc
LQ Newbie
 
Registered: Mar 2019
Posts: 28

Rep: Reputation: Disabled
I save monitor settings but they disappear at each reboot


hello
at first, I am french and I am sorry my english is not very good ...

I'll however try to describe my problem :
I have a very old pc with which I should like to copy the screen on my tv
I have installed bodhi linux 3 on this pc

everything is ok and it goes well, except.... I have a problem with the monitor settings
the definition of my pc screen and my tv screen are not the same, so it makes that when I copy the screen of the pc on the television, it is on the right side of the tv...

to avoid this problem I change the definition of the two screens and I put the same definition for each of them and then it is then ok

after changing these definitions, I have clicked on "apply" and also on "save" on "monitor settings", but each time I reboot, the pc seems to have forgotten the definitions I have planned.... and so, each time I start the pc, I have to go to "monitor settings" to change one more time the definitions ...

has anybody an idea of what I could do to make that the pc no longer forgets my changes....

I must say that I am really a beginner with linux...

thank you for the help you can give me and one more time sorry for my english...I hope it was possible for you to understand what I have written ...
 
Old 03-18-2019, 08:26 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 14,726
Blog Entries: 24

Rep: Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115
I don't know that I can help you, but I think would help if you mentioned the make/model of the computer and television and how you are connecting to the TV: VGA, HDMI, etc. It also might help to know what graphics card is in the computer.

I see that Bohdi uses something called the "Moksha" window manager. Are you still using that WM or have you switched to something else?
 
1 members found this post helpful.
Old 03-19-2019, 12:17 AM   #3
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 247

Rep: Reputation: 47
this may be able to help. one of the developers has put together a version of arandr (a program that deals with screen settings like you are having issues with). i can't say as to whether it will work with bodhi 3. if not, there are other ways of working with arandr i believe

https://www.linuxquestions.org/quest...ng-4175650363/
 
Old 03-19-2019, 09:57 AM   #4
jmmslbc
LQ Newbie
 
Registered: Mar 2019
Posts: 28

Original Poster
Rep: Reputation: Disabled
Question

thank you frankbell and cordx for your answers

for frankbell :
i am not at home for several days and so i haven't the computer with me
today i just can say it is a very old computer hp pavilion (note book ?) on which xp was installed, and i don't remember which graphic card it is
the same for the tv : today i can only say it is a panasonic connected

for both these informations, i shall tell you later when i am back at home


for the mode of connexion between computer and tv : i have a converter vga to hdmi (sound and vga in and hdmi out)

you mention "Moksha" window manager : yes, i have this on the computer but i have not really understood which is this function ...(as i told in my post i am new with linux and not very clever in english...)
thank you

for cordx :
i have read the link you gave to me
but it is really very difficult for me to understand (french beginning with linux...)
perhaps this link means that my problem could be resolved with installing "The new arandr package"
can you please tell me if it is really that or not ?
thank you
 
1 members found this post helpful.
Old 03-19-2019, 08:56 PM   #5
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 225

Rep: Reputation: Disabled
arandr is a program for monitor settings. however it just sets them, doesn't save them. It calls randr to execute the commands.

I think arandr has a way to show you the commands it's executing or save them to a file.

You can add randr commands to a startup file manually. Or create scripts you can execute for specific settings.

moshka's startup file is ~/.e/e/applications/startup/startupcommands (create it if it doesn't exist)

The new bodhi-specific test version of arandr can automatically save them to moksha's startup file for you. But the old way still works fine too.
 
1 members found this post helpful.
Old 03-20-2019, 03:15 AM   #6
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 247

Rep: Reputation: 47
Quote:
Originally Posted by jmmslbc View Post
for cordx :
i have read the link you gave to me
but it is really very difficult for me to understand (french beginning with linux...)
perhaps this link means that my problem could be resolved with installing "The new arandr package"
can you please tell me if it is really that or not ?
thank you
i have asked the developer of "The new arandr package" if they think the new package will work for your bodhi 3 system. hopefully there will be an answer soon

as enigma9o7 said, arandr is a graphical (gui) version of a program called xrandr that is used to control monitor settings. it sounds like you are using a version of this program (or something like it) when you "clicked on "apply" and also on "save" on "monitor settings"". we just need to figure out how to get that saved setting into your startup commands as enigma9o7 also said.

does your monitor settings program look anything like the one in the picture below?

Click image for larger version

Name:	shot-2019-03-20_03-14-58.jpg
Views:	7
Size:	33.8 KB
ID:	30152
 
Old 03-23-2019, 03:09 AM   #7
XCorpionD
LQ Newbie
 
Registered: Mar 2019
Posts: 1

Rep: Reputation: Disabled
that's how it worked for me

Best regards, I also apologize for my English.

I had the same problem, since I have a screen connected to the HDMI port on my laptop and I only use it.
That is, the screen of my laptop, is disabled. After much research and not finding answers, I realized
that the solution was in front of my nose.

Using the preinstalled application called ARandR (start menu-> Applications-> Preferences-> ARandR).
With this I configured the screens, just as I needed them.

Clicking "Apply" to see the result and then "save as" to save a small script.

In my case, I named it: only_hdmi.sh in the path:

/home/my_user/only_hdmi.sh

In the "gedit" text editor, I added the following lines to create a launcher:

[Desktop Entry]
Name=HDMI_only
GenericName=
Icon=display
Exec=/home/my_user/only_hdmi.sh
Terminal=false
Type=Application
Categories=Settings;HardwareSettings;
StartupNotify=true

Selecting in "file" -> "save as", I saved the content as a launcher with the name "ARandR_hdmi.desktop",
in the path:

/home/my_user/.local/share/applications/ARandR_hdmi.desktop

Of course, you can use the name you want for both the script (* .sh) and the launcher (* .desktop)

Finally:

-> click on "start menu -> Settings -> Settings Panel" and the "settings" window will open.
-> In the "settings" window, click on the "Apps" tab and select "Startup Applications" from
the list, which in turn opens the "Startup Appications" window.

-> In the "Startup Appications" window, click on the "Applications" tab and select the
previously created launcher, identified with the name you gave in the contents of
the launcher. In this example it was: HDMI_only.

[Desktop Entry]
Name=HDMI_only

-> Click on "add" and the small circle to the right of the name will light up (HDMI_only),
then click on "Apply" and you will be able to close all open windows.


With all the above, every time you start your session, the script saved at the beginning
with the ARandR application will be executed, without worrying about having to do it
manually.

I hope it will be useful, since that is how it worked for me.
 
1 members found this post helpful.
Old 03-24-2019, 03:14 PM   #8
jmmslbc
LQ Newbie
 
Registered: Mar 2019
Posts: 28

Original Poster
Rep: Reputation: Disabled
no cordx i have not the same window you show when i change monitor settings, but i think it is because i had not arandr on my pc
i have just put it a few minutes ago, and now i have changed settings with it, but, at the reboot, the pc does not remember my changes ...

if i have well understood, the solution is probably what xcorpiond has written, but the problem is that, as i told it in my first post, i am a really complete beginner with linux and i don't understand exactly what i have to do to make the pc remember my changes
i have understood i have to create a louncher but all that is not clear for me (xcorpiond, i don't mean you are not clear but i mean it is hard for me...)

i think the best solution for me it s that i have to try first to translate in french the post with the explanations and then try to understand what i must really do
perhaps then, when in french, it will possible for me to really see the meaning of these explanations...

so, as soon as i will have a little time i will try to translate and study the solution...
when it will be done, i will come back to the forum to say if it works or not, or perhaps to ask some further explanations
thank you for you two
best regards
 
1 members found this post helpful.
Old 03-24-2019, 11:56 PM   #9
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 247

Rep: Reputation: 47
Quote:
Originally Posted by XCorpionD View Post
Best regards, I also apologize for my English.

I hope it will be useful, since that is how it worked for me.
i think both of you are doing great with your english. keep it up.

XCorpionD, excellent instructions i had never created a launcher before, but followed your advice and my screen resolution (i don't have an external monitor to test) was changed at reboot. thank you for the help.
 
Old 03-25-2019, 12:14 AM   #10
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 247

Rep: Reputation: 47
Quote:
Originally Posted by jmmslbc View Post
if i have well understood, the solution is probably what xcorpiond has written
i just tried these instructions and they worked well for me

Quote:
Originally Posted by jmmslbc View Post
i think the best solution for me it s that i have to try first to translate in french the post with the explanations and then try to understand what i must really do
perhaps then, when in french, it will possible for me to really see the meaning of these explanations...

so, as soon as i will have a little time i will try to translate and study the solution...
when it will be done, i will come back to the forum to say if it works or not, or perhaps to ask some further explanations
thank you for you two
best regards
maybe this will help:

https://translate.google.com/transla...6773&sandbox=1

Last edited by cordx; 03-25-2019 at 12:19 AM. Reason: translated wrong page
 
Old 03-25-2019, 06:43 PM   #11
jmmslbc
LQ Newbie
 
Registered: Mar 2019
Posts: 28

Original Poster
Rep: Reputation: Disabled
thank you cordx for your two answers
and thank you for the link for translation
it helped me

so i have tried to understand
i've tried to apply the process

probably i did something wrong :
at the reboot, the window arandr appears well but the monitor settings have not be saved...
and i've a windows "moksha run error" which says that moksha could not run the application "hdmi.sh" (it is the name i gave to the louncher)...

i'll try to find what i have made wrong, perhaps it would be good if i could send the text i've saved for the louncher, so perhaps you could see what is the mistake...(but i will have to write it again because i cannot find where it is on the pc...)

i give you a screen shot ot this windows run error :
Attached Thumbnails
Click image for larger version

Name:	shot-2019-03-24_19-22-27.jpg
Views:	9
Size:	117.3 KB
ID:	30187  
 
Old 03-26-2019, 04:01 AM   #12
jmmslbc
LQ Newbie
 
Registered: Mar 2019
Posts: 28

Original Poster
Rep: Reputation: Disabled
hello cordx
i'm sorry, i have just read again my post of yesterday evening (6:43pm) and i see i've sent a wrong screen shot
the screen shot i've sent is the windows i used before, in order to manage monitor settings, when i said i applied the changes and save them
i used this windows before installing arandr....

so i shall post the good screen shot (with the error windows at the reboot) perhaps this evening if i can (i cannot now because i've not the pc with me....)

i apologize for this mistake

best regards
jmmslbc
 
Old 03-26-2019, 05:17 AM   #13
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 247

Rep: Reputation: 47
pas de problème, jmmslbc

feel free to post the correct screen shot and the text you have in your launcher when you have time and we will see if we can get you all set up.
 
Old 03-26-2019, 03:25 PM   #14
jmmslbc
LQ Newbie
 
Registered: Mar 2019
Posts: 28

Original Poster
Rep: Reputation: Disabled
Smile

hi cordx
at first, thank you for your wink in french at the beginning of your post !!!

finally, i haven't to post the windows with error...neither my launcher :
i have made the process one more time and it works !!!

i think i had't saved my screen configuration with arandr at the right place (not at this place : /home/jacques/xxx) and probably it was the reason why it didn't work

now at the reboot, the computer remembers well my screen configuration

a great thank you to you both for your help and your patience with my very approximate english and my stammerings with linux
and also to xcorpiond for the explanation of the process he used

best regards and maybe see you soon on this forum ...because i am really a beginner with linux (you've seen !!!)
and it's possible i will need help again ..
 
1 members found this post helpful.
Old 03-28-2019, 01:11 AM   #15
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 247

Rep: Reputation: 47
i am glad you were able to get your system working the way you wanted. no need to worry about anything like "stammerings with linux" as far as i am concerned linuxquestions is exactly the place to come to learn more about how to make it all work as best we can. i'm also glad you were able to work through the initial frustration of the process not performing as you would have preferred and finding the eventual solution.
 
  


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] optical drives don't show up unless boot with media - then they disappear donnied Debian 2 09-06-2010 05:59 PM
Can't minimize open windows. They disappear. the firefox 3.0 title bar shows 9 open rangerpresto Linux - Desktop 5 08-10-2008 01:30 PM
device settings need to be reentered after each reboot... melee Slackware 6 07-23-2007 03:33 AM
Can you set save multiple desktop settings to open each time Peter Cooper Ubuntu 1 10-22-2006 06:32 AM
Is there any way to make xhost settings remain unchange with each reboot? davidas Debian 4 04-07-2004 11:11 PM

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

All times are GMT -5. The time now is 05:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration