BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
One last issue, and then I will stop bothering you.
In other Ubuntu-based distros, when I want my laptop dispoay off and my large screen TV used as my monitor, I just have to go to Displays and set it. It remains set.
In Bodhi, the only way I can set this is using Applications - Preferences - ARandR (don't know what that means), and when I set it and reboot the setting has to be redone each time. There is a button to save the file, but apparently doesn't save it in the right place or doesn't bother to read it.
Help, please?
I woould like to say that Bodhi looks better than ever, and it looks like I may be able to get it (and keep it) working on my system for the first time (see previous comments on earlier versions).
i believe ARandR is a gui version of xrandr. i don't know enough about either to be able to help with a specific command, but once you have the xrandr command you should be able to add it to startup commands through the swami control panel.
In Bodhi, the only way I can set this is using Applications - Preferences - ARandR (don't know what that means), and when I set it and reboot the setting has to be redone each time. There is a button to save the file, but apparently doesn't save it in the right place or doesn't bother to read it.
it saves your configuration as an executable script.
you then have to add this script to your autostart facility (a.k.a. startup applications).
the good thing is, by default arandr always saves to the same script, so you have to add it only once and your screen res will change after log out/in.
I was as specific as I know how to be. Basically, I could not find how to just add the script. I did see that ARandR was available to add to the Startup, and did so. This was the mistake. However, after an attempt to reinstall, I am NOT having as good a time, as for some reason I can't get PolicyKit-1 to load and run. I added it as shown in the other thread, but it does not show up in my Startup batch (no PolicyKit Application whatsit to select). I may have to do yet another install; might use the lighter installation.
I was not aware that Bodhi was the project of only two developers. If I can manage to be of any help, I will.
we all do the best we know how to do here. feel free to continue to ask questions. answers are not always immediate or even guaranteed, but i believe the site is linuxquestions for a reason
OK, using my extremely finite knowledge and abilities
i also have to clain finite knowledge on this one. unfortunately i didn't come across the exact fix i think you are looking for. i tried two methods. i opened my default_display.sh file and got the xrandr command. i added that to the startup commands through the swami control panel, but it failed to adjust my display on reboot. i added the .sh file itself with (what i think is) the command to run it:
Code:
sudo ./path/to/file/default_display.sh
that also failed to change anything on reboot.
however, when opening (by double click) the .sh file to get the xrandr code out, i noticed that one of the options was to execute the file. the first time i chose open. out of curiosity another time i chose execute and it did indeed change my resolution instantly. i know it isn't the autorun i think you would prefer, but it seems to me that if you keep that file in an easy to reach location (like move it out of .screenlayout and just put it in /home) it might be a tiny bit quicker to execute than having to open arandr, choose the settings you want and then apply those settings.
when i was researching how to autolaunch a different program, i came across some information that certain programs need a delay in order to allow other programs to load before them. i don't know if that is the reason my autolaunch did not work in this instance. i just wanted to add that in case you decide to tinker with the command and it might help.
^ that command does not need sudo. that's potentially harmful.
___________________________
OK, i finally installed bodhi in a vm yesterday (*).
then i spent a long time trying to figure out how to add a command to startup applications, logging out/in many times to see if it worked.
not sure what i was doing wrong, but i never succeeded (**).
I succeeded in creating the appropriate .desktop file (that works when i doubleclick it).
i even manually copied that .desktop file to ~/.config/autostart, but it seems moksha does not execute the programs therein.
then finally i had a look at the hidden files in $HOME, and lo and behold, there it is:
open $HOME/.e/e/applications/startup/startupcommands with epad, and add the line
Code:
/home/zaivala/.screenlayout/default.sh
log out/in - voilá, new resolution applied!
(*) it also took me a trip to the wiki to even find the installer.
(**) that settings panel is unintuitive to the extreme, and i suspect also buggy (like when i Add something and it then doesn't show up on the list).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.