I'm running Kubuntu on 1920x1080 screen resolution. Due to large fonts in some applications (Gwenview, Dolphin), I have set Force Fonts DPI in System Settings -> Fonts to 96 DPI. However, now i'm experiencing tiny and barely visible gui elements on some other apps, like Python IDLE. Is there any possible solution to this, or is there a way I can force different settings for dpi per application?
Reloader's questions
If sudo pm-suspend
works, but using the "suspend" option from the log-out menu doesn't, how can I get the log-out menu to point to just pm-suspend
instead of whatever script it's currently using?
And:
How can I get the power manager to use just pm-suspend
to suspend the computer after a certain length of inactivity instead of whatever script it's currently using?
I'm using Xubuntu 15.04. Thanks!
I've been using this suspend hook with Ubuntu & Kubuntu since the days of 12.10, however when I did a clean install of Xubuntu 15.04 yesterday, I noticed it suddenly not working. I've created a file /usr/lib/pm-utils/sleep.d/45fixusbwakeup
copied the script into it, and made it executable with sudo chmod +x /usr/lib/pm-utils/sleep.d/45fixusbwakeup
as I always did before. I'm not an expert, and this hook has always been working from me, so I don't have a clue what could be wrong now.
What I basically need is that these 3 commands execute every time before computer is going to sleep, or at every startup:
sudo -s
echo USB0 > /proc/acpi/wakeup
echo USB2 > /proc/acpi/wakeup
I would also like to note that when I suspend via terminal command sudo pm-suspend
the script works flawlessly, it's only not working via traditional logout--->suspend button in Xubuntu, so I guess this is something Xubuntu-related. I guess it actually suspends via xfce4-session-logout --suspend
and that's creating the problem.
As the question says, I need to edit my /proc/acpi/wakeup
file, but when I open it with any text editor, it shows blank file. cat
command, on the other hand, displays correct file contents in terminal. When I navigate to that file in file manager, it says it's size is 0 bytes. I'm using Xubuntu 15.04. I'm thoroughly confused.