General :: Where To Place Xrandr Configuration

Aug 8, 2011

I have migrtaed from Arch, my first experience with linux for the past 2 months, to Debian and i'm currently setting up my system. I have a X61s Thinkpad with a cracked screen which i use with the ultrabase with an external monitor and keyboard. The monitor requires me to use fbset on console and xrandr for a graphical enviroment Whilst i was using Arch i used 'startx' to access openbox and placed my xrandr configuration in ~/.xinitrc but with debian i have wanted to use a login manager, Slim.

Because i am using KMS for my intel based system i don't have an xorg.conf and because i am using slim i am not using ~/.xinitrc I read somwhere that creating an ~/.xprofile file would solve this but i have not had any luck. So i am wondering where would be the best place to put the xrandr configuration?

View 1 Replies


ADVERTISEMENT

Debian Configuration :: Jessie Xrandr Rotation Bad Corruption

Nov 25, 2015

DE: lxde
version: Jessie
using xorg file: no

After changing my video cards from gigabyte HD5450 and saphire X550 to two saphire r7 240s one of my debian installs no longer supports rotating the monitors either with 'Monitor Settings' or xrandr. The only difference between these 2 Jessie installs is that one was upgraded and the other one was fresh. The problem is with the upgraded one. On the fresh installed debian I just put the ati proprietary driver so I won't do further testing on it but xrandr was working fine on it before that.

I tried going over the ATIHowTo [URL] .... and everything looks good. Tried purging the non free firmware and reinstalling. I verified the version numbers of libxrandr2 and kernel of both installs. It is either some scrap left over from wheezy or a configuration file I am not aware of.

So what actually happens is xrandr does not say anything, blanks out all windows on the screen with only their background color and title bar showing, changes the lxpanel to its background pattern except for 2 blanked out boxes almost to the right of the screen( I have 10 tray icons there before it blanks), activates the screen I wanted to rotate with the proper rotation. On my main screen I can't click on anything. On the rotated screen I can right click and I get my openbox right click menu like I do on my main monitor before the command but when I try to run something nothing happens. The only way I can get out of this situation is to go to ctrl-alt-f1, log in as root and type 'service lightdm restart'.

Both of these monitors are connected to the primary video card, an ati r7 240 saphire. The main one is on vga and the other one is on DVI. I also have another monitor connected to HDMI but it's not being used. I have yet another monitor connected to the VGA of the secondary GPU I don't think it's a problem is it? I tried not using 'xrandr --setprovideroutputsource 1 0' and it still did the same thing.

I tried just launching openbox with no LXDE and it did the same thing.

Also another strange thing is when I stop the lightdm service and try to 'startx' or 'xinit' my screens go blank; numlock, control-alt-delete and control-alt-f1 do nothing and the only thing I can do is an emergency REISUB. I didn't configure this install to use startx or xinit yet but should it really lock up my system?

On the affected system my script looks like this (I already did this step by step and the 'rotate left' line is causing the problem):

Code: Select allxrandr --setprovideroutputsource 1 0
xrandr --output VGA-0 --primary --mode 1680x1050 --pos 0x0 --rotate normal
 --output DVI-0 --mode 1680x1050 --pos 0x1050 --rotate left
 --output HDMI-0 --off
 --output VGA-1-1 --off

lxpanelctl restart

Additional info:

Code: Select all$ inxi -G
Graphics:  Card-1: Advanced Micro Devices [AMD/ATI] Oland PRO [Radeon R7 240]
           Card-2: Advanced Micro Devices [AMD/ATI] Oland PRO [Radeon R7 240]
           Display Server: X.Org 1.16.4 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1680x1050@59.88hz, 1680x1050@59.95hz
           GLX Renderer: Gallium 0.4 on AMD OLAND GLX Version: 3.0 Mesa 10.3.2

[Code] .....

View 14 Replies View Related

Debian :: Proper Place To List Nameserver (Configuration)

Apr 10, 2011

I tried installing gnome-desktop, which wiped out /etc/resolv.conf (and ultimately failed to install). A comment was left in resolv.conf saying "do not edit..". Where is the proper place to list nameservers in debian?

View 2 Replies View Related

Debian Configuration :: Get Cron To Send Messages In First Place Instead Of Root?

Mar 25, 2010

The system crontab (/etc/crontab) uses the same format, except that the username for the command is specified after the time and date fields and before the command.

[code]...

Every hour, I get an e-mail complaining about the first line of the crontab:

[code]...

I get the same complaint from the other entries: It looks to me as if cron, or anacron, is trying to execute the user (root) as a command. Predictably, the shell doesn't like it, so barfs and triggers an e-mail about it. Why is this not doing what the man page says it should do? The 2nd problem I believe is related to exim, not cron. The e-mails I'm getting above are being bounced from my ISP because they are directed to root@myisp.com, rather than my regular e-mail address. When the message bounces, it bounces to my regular e-mail address. In /etc/aliases, I have root: [URL]... and in etc/email-addresses I have root: [URL]... Adding the entry to /etc/email-addresses allowed the bounce to find me because the sender's address is [URL]... but how can I get cron to send these messages to me in the first place, instead of root?

View 11 Replies View Related

General :: Xrandr From Remote Through Ssh?

Mar 16, 2011

I just tried to deactivate the VGA connection on my laptop remotely and received this result:

Code:

$ export DISPLAY=:0
$ xrandr
No protocol specified
Can't open display :0
$

I'm nearly certain I was able to use xrandr through ssh at some point in the past, but my memory of the exact time line is inadequate.

View 13 Replies View Related

General :: Xrandr Changes X's Orientation Too Slowly

Oct 12, 2010

I'm changing X's orientation with following command

xrandr -o left
xrandr -o normal

When orientation is changing screen becomes black for a moment then it switches orientation.So how to get rid of this black screen effect ? Maybe some other options should be added to xrandr ?

View 4 Replies View Related

General :: Using Xrandr To Extend Desktop?

Jan 19, 2009

I'm trying to use xrandr to extend the desktop on my laptop to my lcd monitor. I have tried a few different ways but no matter what I do the desktop will end up on my LCD and the laptop is the extended desktop. Anyone know where I am going wrong? Here is the command I've been using:

xrandr --output LVDS --auto --output VGA --auto --left-of LVDS

View 2 Replies View Related

General :: Graphical Front End For Xrandr That Saves Settings On Reboot?

Nov 2, 2009

Is there a graphical front end for xrandr that also allows you to save your setup so that it automatically sets up the X configuration at boot time thereby simplifying this process. For example, at the moment if i want to use an external monitor on my laptop i have to manually set it up after booting as it defaults to the laptop resolution which is not a big deal but would still be nice to have this happen automatically. I tried putting a script into rc.local to do this but didnt work.I have tried programs such as lxrandr, grandr, arandr which are all good but dont allow you to save your choices so that they are automatically applied at the next boot of the X system.

View 1 Replies View Related

General :: Xorg.conf: Xrandr On One Of Two Widescreen Monitors; Rhel5, Kde, ATI Radeon X1300

Aug 4, 2010

Can anyone help with me configure my dual-screen monitors for rotation? I have xrandr 1.1. Have tried various approaches, nothing takes. I can't even get the xrandr options to show up in KDE's Display control panel.

My lspci output: 03:00.0 VGA compatible controller: ATI Technologies Inc RV516 [Radeon X1300/X1550 Series] My current xorg.conf (works, minus screen rotation): # Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"

[Code]...

View 1 Replies View Related

General :: Using Centos 4 In Place Of RHEL 4?

Jun 12, 2010

I have a software program that when you try to install it on Centos it returns "This programs requires RHEL 4" Is there a work around to get the software to use the Centos software the same as it would RHEL 4?

View 6 Replies View Related

General :: Get The Wireless Networking In Place?

Mar 12, 2010

I have just installed slackware 13 on an old machine I am bringing back into use. As I have a spare Linksys wmp54g card I would like to try to get the wireless networking in place.From reading the forum the relevant advice seems to be fairly old (2004-2006). I wonder if anyone can advise me what the current steps would be?

View 3 Replies View Related

General :: Primary Point Of Converting Dll To Lib In First Place

Apr 15, 2010

I've been looking for a way to run windows-only vst plugins nativley on linux as well as to find a linux driver for my 1394 audio interface with little luck; I would like to do so without relying on wine, and have come across an idea to work out after stumbling on a utility that converts dll to lib (called dll2lib). The idea would be to convert the dll's for a proprietary fw audio dev and dependent MS libraries and manually change what's needed to make it compatible with linux env. is this possible; will I be able to achieve source code from this? if not, what is the primary point of converting a dll to lib in the first place.

View 2 Replies View Related

General :: If X Window System Is Not Used What Takes It's Place

Mar 22, 2011

If Linux is not in GUI mode, what application handles input and output?

View 6 Replies View Related

General :: Get UserName In Place Of UID In The Process Check?

Apr 17, 2010

I add a user in my linux machine using the command 'useradd' as shown below. # /usr/sbin/useradd -c "Non Root User" -d "/home/testUser" -g root testUser "/etc/passwd" file shows that user created with uid '517'

cat /etc/passwd
ot:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin

[code]...

View 1 Replies View Related

General :: Best Place To Start To Learn System?

Jan 24, 2011

I am starting to dive into Linux after being a Microsoft geek for years. Where is the best place to start?

View 6 Replies View Related

General :: How To Place The Java Location In My $PATH

Sep 22, 2010

I have a program that has a GUI which I have placed in /usr/local/bin however when I invoke the program I receive the following error:

Unable to find a supported JDK or JRE version. Version 1.3.1 or higher is required. Check your installation and use +javahome to specify the JDK or JRE location

I have since installed Java into the usr/local/ directory however I am now just totally Lost! Additionally, I believe that i have tried to install Java several times with no luck.

Questions:

1) Where should java be installed to have system wide access to all programs?

2) How can I place the Java location in my $PATH? here I am going to need very easy and detailed instructions?

3) Is there a way to ensure that the location where I intall java gets updates?

View 1 Replies View Related

General :: /sys/class/net/ Is This Is The Correct Place For Eth Info

Apr 12, 2011

Using a python script, I am gathering various info about all the ethernet adapters installed. For this I am parsing all the directories(each directory represent a ethernet adapter) inside"/sys/class/net/" directory.Is this is the correct place and de-facto standard for listing ethernet adapters?I am concerned about modern distros as well as a bit older ones for the presence of this directory.

View 1 Replies View Related

General :: Configure VNC Server On Fedora 12 To Connect From Any Place

Feb 18, 2010

i want to configure VNC server on Fedora 12 to be able to connect from any place how to configure it i try Google to find instruction about it but i found alot on ways to configure and they are difference what you recommend

View 1 Replies View Related

General :: Place A Fire-started ,and Ports Come Disable?

Mar 15, 2010

I running ubuntu 9.04 server edition,I place a pci expressmodel PEX8S952 8 Port PCI Express Serial Card ,and ports are disable there is a place

View 4 Replies View Related

General :: Secure Motherboard And Chip Set To Place In Mini ATX

Jan 31, 2011

Looking to build the first computer system from scratch and I have chosen Linux as my system. Learning about Linux is a must as I would like to get away from MS. Also, building the system will better equip me when I pursue a business venture within the next year or two.I presently take course work in accounting for a bachelor degree, but will attain another degree in software engineering, both from Herzing University. My present skill level in programming?

View 5 Replies View Related

General :: Safest Place To Put Database Connection File?

Dec 8, 2010

When connecting to a database in a php script, where would be the safest place to store the connect.php file. I am thinking it should not be in public_html, but is it safe in sub folders or is there a method people generally use to keep such files secure and inaccessible.

The file I mean is one including the database name, user and password etc.

View 2 Replies View Related

General :: Place A Shell Script With Tail -f In The Back Ground?

Oct 6, 2010

Following script name is 123.sh and I need to put this in the background if I do 123.sh -bg this will not bring me back to the prompt but echoes what ever I put (using echo hello >> /tmp/123) in to the /temp/123 file. the only way that I have found doing this is to do "nohup 123.sh &" to put this in to the background. Is this okay or is there any better way of doing this?

#!/bin/bash
# file name is 123.sh
tail -f /temp/123 | while read line

[code]...

View 6 Replies View Related

General :: Rsync Files Recursively But Place In One Remote Directory?

Jan 29, 2011

i would like to find and backup all *.mp4 files from /Pictures and its sub-directories and move them to a single directory on a remote. I can find and move the files but I don't want the directory structure...just the files to be placed in the remote directory.

To find my files I use

rsync -r -a -v -e "ssh -l user" --delete --include '*/' --include '*.mp4' --exclude '*' /home/drew/Pictures/ remoteserver:/Users/drew/mp4

but this creates all the subdirectories

I also tried

find ~/Pictures -name "*.mp4" -exec rsync -r -a -v -e "ssh -l user" --delete {} remote:/Users/drew/mp4 ;

This works but takes forever

View 3 Replies View Related

General :: Parse A Line From A File And Place The Values Into Separate Variables?

Sep 28, 2011

I am trying to parse a line from a file and place the values into separate variables:

input.txt:

Code:

CreateVegaFeed-20110928-before-skip-start

this is the code i have done so far:

Code:

$input_file="input.txt"
INPUT_FILE=`cat $input_file`
for i in $INPUT_FILE

[Code].....

View 14 Replies View Related

General :: Send SMS Or Place Voice Calls Via Mobile 3g Modem In Linux?

May 26, 2011

I have a ZTE MF112 mobile broadband modem, which comes with Windows drivers and software. This software allows not only connect to Internet, but also send SMS and place calls (as in you dial number in program and when you're connected, sound goes through the sound card). As far as I know, almost any USB mobile modem comes with application to send SMS via its GSM connection.Now the question is - is there any vendor-independent software that runs under Linux and allows you to use your mobile broadband modem to turn your PC into larger mobile phone? I want at least to be able to send and receive SMS using PC + mobile modem.

View 1 Replies View Related

General :: Copy A File With Certain Name Pattern For Which Exact Place In Complex Directory-structure Unknown?

Sep 19, 2011

I want to copy all files with the name XYZ* into one folder. The problem is that the files are in different subfolders and that not even the depth of the folder structure is the same for all files. Luckily, at least each file has a unique name.

Of course, I thought about the cp command but I guess the depth of the folder structure needs to be the same for this to work.

View 3 Replies View Related

General :: Write A Shell Script Which Can Ready Content Of The Folder And Place Files On Remote FTP Server?

May 9, 2011

I need to write a shell script which can ready content of the folder and place files on remote FTP server. I need to make sure that a file that is already placed on remote FTP server is not attempted second time. The file names will be something like Records-2011-05-09. The files will be generated by MySQL every hour.

View 7 Replies View Related

OpenSUSE :: Xrandr For Kdm Before Xsession?

Aug 4, 2009

Normally you can put your xrandr command in /etc/kde4/kdm/Xsetup to change resolution before login. This does not work for openSUSE. Why, where else ?

View 1 Replies View Related

Ubuntu :: No Outputs Listed By Xrandr?

Mar 21, 2010

I'm trying to use this thread to set my laptop's resolution to 640x480. To do this, I need to use the addmode command which expects me to list an OUTPUT. What OUTPUT do I list? The "xrandr -q" command doesn't list any outputs.Here is the result of me typing "xrandr -q":

Code:
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm

[code]...

View 5 Replies View Related

Ubuntu :: S-Video Out On Lucid With Xrandr?

May 15, 2010

I used to have older version of ubuntu (previous to Lucid,10.4 LTS), and I have a Sony WEGA TV connected to my unbutu laptop w S-Video card connected for Video out...and I used to run following command to activate S-Video out to my TV and it worked perfect...

here's the command that worked :
~$ xrandr --output S-video --set load_detection 1
Now after updating to Lucid/10.4 LTS, this command started getting an error :
~$ xrandr --output S-video --set load_detection 1

[Code]....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved