General :: Launching ZENITY On A Given Position On The X11 Screen?
Dec 5, 2010how to pass the position to zenity to be launched specific place of X11? No info are given [URL]
View 3 Replieshow to pass the position to zenity to be launched specific place of X11? No info are given [URL]
View 3 RepliesI've been making a "gui" for a script to help automate some of the steps involved in customizing a live cd with zenity. I have a menu with radio buttons for each option. When I pick "Remove a package manually", I have it show all of the installed packages as well as a text box for me to type the name into. The only downside to this method is that the package window overlaps the text box. Is there a way to change the window position of zenity windows?
View 2 Replies View RelatedI am very happy with Ubuntu 10.04 that I downloaded, burnt to CD and installed (I am a newbie to Linux), but I am finding a little problem on an old Sony lap-top, with a rather old-fashioned almost square screen.The top bar of any screen image is just off the top, and I can only see a quarter of it, which makes using the max/min and cancel buttons a bit hard to use. I know I can resize the screen, but it goes back to the original next time it is used. Is there a permanent fix?
View 1 Replies View RelatedIn 10.04 on a Shuttle the screen position is a few pixels off. I fix this with xvidtune for the session. I also get a new modeline. I build a new xorg.conf file (go virtual terminal, stop gdm, Xorg -configure, etc) and move it to /etc/X11. I introduce the modeline in the monitor section and reboot (I could do a service gdm stop...). Guess what, my screen is still a few pixels off. The documentation clearly states that if there is an Xorg.conf, it will be used. So what gives?
This problem has existed since the xorg.conf file was dropped. It is just plain silly that one has to engage in a geeky treasure hunt to correct a few pixels. This adjustment should be present in the System/Preferences/Montors. This is why Linux does not make it with ordinary users, making (superficially) simple things difficult.
I am running a dual boot conifg with OSX and Ubuntu PPC (karmic) on a 2004 G5 and everything is working pretty well - very well actually. The last thing I am trying to adjust is such a simple thing, but I just can't seem to get it. In Ubuntu, the screen position is shifted to the right, covering the scroll bar of windows and the trash can.
No problem, just use xvidtune, adjust the screen as I want and create a custom modeline right? Well, it does not seem to work.Here is what I did:Using xrandr I created a --newmode and then used --addmode to add it to the output I am using (default):
Code:
mieren@G5-Ubuntu:~$ xrandr --output default --newmode 1680x1050_new 146.25 1680 1820 1996 2268 1050 1053 1059 1089 -hsync +vsync
mieren@G5-Ubuntu:~$ xrandr -q
Screen 0: minimum 320 x 240, current 1680 x 1050, maximum 1680 x 1050
[code]....
Notice how the new mode now lacks the rest of the config information specified in the --newmode above, not sure if this is normal.I can change to the new mode, and the resolution is correct, but the screen is still not adjusted. There is no difference switching between the 1680x1050 and the 1680x1050_new modes - the screen may flash, but the position does not change.
(I also tried adding a mode line to /etc/X11/xorg.conf screen section, but it also has no effect. Actually, there was no xorg.conf existing at all, so I created a minimal one.)It is really annoying to have to adjust the screen position using the monitor controls on every reboot.
Few days ago I did a major update to Jessie and now I can't use Flightgear simulator. The screen freezes and cannot even switch to another terminal using CTRL+ALT+F1. I can SSH from another machine and see that the CPU is stuck and it has to do with X.org. I bet it's a video driver issue that came with the update.
Did some memory, SSD and video card tests from within Windows and it passed. Flightgear can be loaded on Windows without freezing.
The PC has an integrated Radeon HD 4250 graphics card.
Tried dpkg-reconfigure firmware-linux-nonfree. Flightgear can start but it freezes after a short while. Same happens if I reinstall that package. Without the nonfree driver, I have very low FPS but it works.
Also, I put in another Radeon card (almost same generation) and had the same result: computer freezes completely.
Solved it by upgrading to kernel 4.4. This proves that a bug has been introduced with the latest kernel update. And it tastes like Ubuntu when they break drivers...
1) I got a dual screen and I can drag applications on screen No2. But if I log out, reboot or close the application, it will go back to screen No1. Is it possible to memorize the position of an application on Screen No2?
2) I use workspace a lot. I like to split them by function. I got "Development": Netbeans, firefox (one on each screen), "communication": Evolution, gwibber, empathy (Evolution on 1 and the rest on 2) and "Entertainment" (anything not involving work)Every morning, I have to move my applications to the diferent workspace. It would be great if on startup they just go where I told them to be!
I'm trying to use zenity and at to make a little reminder script. The problem is that while zenity --info works fine from bash (or sh), running echo "zenity --info" | at now + 1 min does nothing. The job shows up in my atq and then runs, but no zenity pop-up. What's going on?
View 1 Replies View RelatedAs it says .. I use Amarok on Gnome and have no need for K-Wallet. Is there a way to stop the set up splash screen? (minor annoyance)
View 3 Replies View RelatedI am having a problem with my Core i5 system running Centos 5.5. The system will lock up with a black screen on occasion when launching X11 - this could happen at any time, from the install CD the first time it's being installed or trying a live CD, or the 3rd-10th time I launch startx from tty1 or sometimes just switching from tty1 to display0 or display1. When the crash occurs, sometimes the systems fans will all turn on loud, and the reset button becomes non-responsive. Other times the screen is black and it just sits there and I have to hard power off. There's nothing in /var/log/messages.
I tried a fix from an old post for 5.4 adding the option for "DDC" "false" in the xorg.conf file, and this did not help. I also ran all the system updates, no help.
The system is totally stable so long as I don't switch between ttys and X11 or launch new X11s (it's also stable under other OSs and has passed Memtest86+ 4).
Is this an instability with the Core i5 driver? The "Video Card" in the display options is set to "intel - Experimental modesetting driver for Intel Integrated Graphics Chipsets" - the "experimental" part is a little scary. Should I try setting the driver to "i810" as the 5.5 release notes recommends (again there's no onboard "chipset" this is an embedded graphics processor on the i5 CPU).
here's the getinfo.sh dump
--glen201
== BEGIN uname -rmi ==
2.6.18-194.11.1.el5 x86_64 x86_64
== END uname -rmi ==
[Code].....
I have a dual-screen set-up with Ubuntu 10.10. I have an ATI Mobility Radeon HD 5650 video card. I use my lower-resolution laptop screen on the left and a larger monitor on the right. The monitor is also physically higher than the monitor. See attachment for a screenshot.I have correctly set up my displays so that if the mouse is in the middle of the screen it can move from one screen to the other without jumping. The jumping happens when moving off of one screen in an area where the other screen is not directly next to it (some people call this 'the void').
Example: (See the attachment for a visual example of this.) My mouse is in the external monitor (right monitor). As I move the mouse to the top-left of the monitor (position 1), I by mistake go a little too far and instead of hitting the Ubuntu applications menu, I ended up at the top-right of the laptop monitor (left monitor; position 2). I quickly realize my mistake and move the mouse back to the right monitor, but now the mouse is at the middle-left position (position 3).This same error occurs by moving the mouse on the laptop monitor (left monitor) passed the bottom-right position. This is a big problem when scrolling vertical scroll bars on the laptop monitor (left monitor).I am looking for a fix that if the mouse is at position 1 in the attachment and I move the mouse left, it stays at position 1 and does not go to position 2.
I have been working for the last three months with Ubuntu 10 on a destop. Doing just fine and loving it. I decided to try a new position for the toolbar that sits at the top of the screen. I did a right click and moved it to the right side of the scree, didn't like the look of that. Right click on the bar and moved it to the left, didn't like that either, so moved it to the bottom. having done all that I thought I could put it back at the top but alas, I can not right click on the Toolbar.
It seems as though the two bars are fighting each other at the bottom of the screen.I would like to go back to the default position at the top of the screen. I do have a terminal window available to me on the desktop so if I could find out the command line to type in, I should be able to reset my tool bar. Being new I have no idea what this command would be.
I'd like to improve my computer's performance by storing files' system location (e.g.: /home/user/speech.odt) and HD position (head, sector, etc) and do the computer use that info from ram memory.I have a directory with several files and when I cd and ls it, it takes a while to the computer answer me. Plus, it would return immidiate find results.
View 2 Replies View RelatedI've search around and looked at the man page but can't seem to figure this out.. using fluxbox one can click an application in the menu and it opens without a supporting terminal. However, if I open xpdf in the terminal, xpdf launches and the terminal waits for it to exit... my question is, what is the command to hide the terminal and just launch the application?
View 5 Replies View RelatedAfter installing Ubuntu 10.04 on an nvidia dualmonitor system there is a weird behavior. Every program starts in the middle of the two dual monitors (overlapping both).
View 1 Replies View RelatedI'm using vim 7.2.330 on 64 bit ubuntu 10.04, sometime in the last week every time I reopen a file it places the cursor at the top of the file. I can see in ~/.viminfo where it's saving the last position used, but it doesn't seem to be honoring it.
View 1 Replies View RelatedI am trying to edit a large bunch of files. Each file has four columns and I want to get rid of the first one, but in each line the number of the first column changes. the number in the first column ranges from 1 digit to 5. For example
1 aaaaa bbbbbb ccccc
23 aaaaa bbbbbb ccccc
15343 aaaaa bbbbbb ccccc
and the desired format would be
aaaaa bbbbbb ccccc
aaaaa bbbbbb ccccc
aaaaa bbbbbb ccccc
Suppose the cursor position line at bottom or top. What's the vim command to get the cursor position line at the mid of the windows in vim?
View 5 Replies View RelatedI'm new to the Linux OS, and this is also my first post on this form. My question is Can you physically adjust the position of the dashboard? I'm familiar with Mac OS X where you could "Physically" adjust to the top, left, right or originally at the bottom. Is it possible and if it is, can someone explain to me the process on going about that?
View 7 Replies View RelatedI have a file of words and want to encode them in a numeric form, based on position.This is best explained by example:
PEOPLE ==> 123152
Reading left to right:
P was first encountered at position 1 so it is encoded as 1.
E was first encountered at position 2 so it is encoded as 2.
[code]...
I'm a little confuse regarding how one launches tmux. When I launch my terminal (current gnome-terminal), I would like to have tmux up and running. I'm currently doing this by calling "tmux" in my .zshenv (kind of like .bashrc in bash). This does in fact launch tmux, but has some annoying side effects. First, hitting Ctrl-D to exit the shell, only kills tmux, and leaves the tmux-less gnome-terminal still running. An additional Ctrl-D will kill that as well. Second, when ssh into a box with this setup, I get a second, nested instance of tmux. I don't want tmux to launch again when I ssh. Is this the right approach, how should tmux be launched usually?
View 2 Replies View RelatedI have just installed Apache2 v. 2.2.17 on Ubuntu,and I am trying to get it to work with Ruby (v 1.8.7). I have followed the instructions on the Ubuntu site and ended up installing Phusion Passenger v 3.0.7, making the suggested changes to the httpd.conf file.
When I launch Apache2 I now get the message:
Cannot load /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so into server: /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so: undefined symbol: ap_get_server_banner
I have found a bug report (url) that suggests "adding a dependency" but am not sure how to do that. Any kind soul out there can take pity of this eager Linux neophyte?
I don't seem to be able to launch the nvidia module. It is installed with
# apt-get update
# m-a clean nvidia-kernel-source
# m-a purge --force nvidia-kernel-source
# m-a prepare
# apt-get install nvidia-kernel-source/unstable
# m-a a-i nvidia-kernel-source
All seems to be fine, the build and install is successful, but launching xorg fails. The log shows, well not what it use to since my last attempt. Now it is trying to load several other drivers before it defaults to the vesa driver. But that may not be the case if I reenable xorg.conf. It was saying something about not being able to "open" the nvidia module. Not that it was not there but it was not able to read it, like the permissions were not right. I checked the permissions and they are 644. A different debian install I have on the same machine has those same permissions.
After the latest update manager was run. Skype no longer appears in my panel when launched. A window opens to log in, but if I close that window skype disappears instead of minimizing to the panel like it used to. When I click the launcher it tells me there is another instance of skype running. (oh really?) Where?
View 5 Replies View RelatedI lastly used KDE (version 1.x ). Now I'm using KDE 3.5 for several weeks and one thing really annoys me: there are a lot of programs that don't remember their last window position and/or size. They always default to a specific location/size when I close and open them again. I give you some examples:
Program that doesn't remember anything:
- Konqueror
Program that remembers window size, but not position:
- KMail
Nice Program that remembers everything:
- Basket Note Pads
Is there a way to tell these programs to remember their position/size?And a second question about konqueror: Can I tell konqueror to remember the view mode? I prefer MultiColumn view, but it always defaults to Icon view.
What is the vim command I have to use when I want to perform a text substitution not on the current line or on the whole document or on lines from number x to number y but just from the current cursor position down to the end (or up to the beginning) of the document?
View 1 Replies View RelatedI've a string "this.is.a.name", and I would like to put it in an array. But, I've like to print the output of the array as:
Code:
echo ${array[0]}
echo ${array[1]}
echo ${array[2]}
echo ${array[3]}
I've tried with
[Code]....
I am working in ubuntu 9.x (linux karmic kernal) .I have restored the content from CD to hard disk. In the mid way of this process, it was failed. I would like to know this below thiongs,
1) which position it got failed ?
2)Any offset option is there in linux to point the particular CD position ?
I am using ubuntu. I have Cairo clock on my startup list, but after logging in cairo-clock appears on left top corner, but as it is the position reserved for computer, my home, mounted volumes etc. So I want to change default position of cairo-clock to left but there is no such option in the preferences of cairo-clock. My cairo-clock version is cairo-clock 0.3.4. Can I edit any config file of cairo-clock.
View 1 Replies View RelatedFedora 14 i can run a program with another user with:
But:
it doesn't work, if i put the command in a .desktop file.